{"matchId":"8883528","creationMatch":"exact_match","runtimeMatch":"exact_match","verifiedAt":"2025-08-22T00:14:43Z","creationBytecode":{"onchainBytecode":"0x60a06040523461003c5730608052610015610040565b61001d610040565b604051612bd390816100fd82396080518181816110bf015261118f0152f35b5f80fd5b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005460ff8160401c166100ed576002600160401b03196001600160401b038216016100885750565b6001600160401b0319166001600160401b039081177ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602090a1565b63f92ee8a960e01b5f5260045ffdfe6080806040526004361015610012575f80fd5b5f905f3560e01c9081630342063b14611daa5750806306fdde0314611cc8578063095ea7b314611c235780630caf48d314611b725780630ea9434114611a3b57806316934fc4146119ec57806318160ddd146119c35780632006efcb1461181f57806323b872dd1461174857806325bef7461461172a57806325fae12b146117015780632c74d1df1461108e578063313ce567146116e557806331d7a262146116c157806335269315146116a357806340370f1f1461161357806345af37b2146115f55780634d44f110146113985780634e71d92d146113655780634f1ef2861461111357806352d1902d146110ac5780635dea41bb1461108e57806361d027b31461106557806370a0823114611020578063715018a614610fb75780637dc0d1d014610f8e57806387716cbf14610f6f5780638da5cb5b14610f3a5780638f1f8d0c14610f1357806392417dc714610ecf578063939d623714610eb157806395d89b4114610dbe578063966be07514610d705780639b1650ed14610d0f578063a1bdb15e14610cb9578063a80152d614610c9b578063a9059cbb14610c77578063aaaff76714610c05578063ad3cb1cc14610bc0578063ad66f18214610b97578063adc9772e14610b71578063ae5ac92114610965578063b4f70f7214610936578063c0c53b8b146103d5578063cb1a4fc0146103b2578063ceddd07d14610386578063dd62ed3e1461033e578063e3a684021461030a578063f0f442601461029c578063f2fde38b1461026f5763f8077fae1461024f575f80fd5b3461026c578060031936011261026c576020600754604051908152f35b80fd5b503461026c57602036600319011261026c5761029961028c611dee565b61029461252a565b6124b9565b80f35b503461026c57602036600319011261026c577f7dae230f18360d76a040c81f050aa14eb9d6dc7901b20fc5d855e2a20fe814d160206102d9611dee565b6102e161252a565b600280546001600160a01b0319166001600160a01b03929092169182179055604051908152a180f35b503461026c57602036600319011261026c5760043561010081101561033a576020915061010d0154604051908152f35b5080fd5b503461026c57604036600319011261026c57610358611dee565b610369610363611e04565b91611e1a565b9060018060a01b03165f52602052602060405f2054604051908152f35b503461026c57602036600319011261026c5760206103aa6103a5611dee565b612480565b604051908152f35b503461026c578060031936011261026c576102996103cf33611fa9565b3361236c565b503461026c57606036600319011261026c576103ef611dee565b6103f7611e04565b6044356001600160a01b03811690819003610932575f80516020612b7e833981519152549160ff8360401c16159267ffffffffffffffff81168015908161092a575b6001149081610920575b159081610917575b506109085767ffffffffffffffff1981166001175f80516020612b7e83398151915255836108dc575b5060409384516104848682611e52565b601381527229ba30b5b2b2102b32b734b1b2902a37b5b2b760691b60208201528551906104b18783611e52565b600482526339ab2b2b60e11b60208301526104ca612a34565b6104d2612a34565b80519067ffffffffffffffff82116108c85781906104fd5f80516020612abe83398151915254611ea4565b601f811161084e575b50602090601f83116001146107d2578a926107c7575b50508160011b915f199060031b1c1916175f80516020612abe833981519152555b80519067ffffffffffffffff82116107b35781906105685f80516020612afe83398151915254611ea4565b601f8111610739575b50602090601f83116001146106bd5789926106b2575b50508160011b915f199060031b1c1916175f80516020612afe833981519152555b6105b0612a34565b6105b8612a34565b6105c1336124b9565b6105c9612a34565b60018060a01b03166001600160601b0360a01b86541617855560018060a01b03166001600160601b0360a01b60015416176001556001600160601b0360a01b60025416176002556706292e6de3503dd360035562093a8060045542600755301561069e5761063f670de0b6b3a76400003061298a565b610647575080f35b60207fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29168ff0000000000000000195f80516020612b7e83398151915254165f80516020612b7e833981519152555160018152a180f35b63ec442f0560e01b83526004839052602483fd5b015190505f80610587565b5f80516020612afe8339815191528a52818a209250601f1984168a5b8181106107215750908460019594939210610709575b505050811b015f80516020612afe833981519152556105a8565b01515f1960f88460031b161c191690555f80806106ef565b929360206001819287860151815501950193016106d9565b5f80516020612afe8339815191528a529091507f46a2803e59a4de4e7a4c574b1243f25977ac4c77d5a1a4a609b5394cebb4a2aa601f840160051c810191602085106107a9575b90601f859493920160051c01905b81811061079b5750610571565b8a815584935060010161078e565b9091508190610780565b634e487b7160e01b88526041600452602488fd5b015190505f8061051c565b5f80516020612abe8339815191528b52818b209250601f1984168b5b818110610836575090846001959493921061081e575b505050811b015f80516020612abe8339815191525561053d565b01515f1960f88460031b161c191690555f8080610804565b929360206001819287860151815501950193016107ee565b5f80516020612abe8339815191528b529091507f2ae08a8e29253f69ac5d979a101956ab8f8d9d7ded63fa7a83b16fc47648eab0601f840160051c810191602085106108be575b90601f859493920160051c01905b8181106108b05750610506565b8b81558493506001016108a3565b9091508190610895565b634e487b7160e01b89526041600452602489fd5b68ffffffffffffffffff191668010000000000000001175f80516020612b7e833981519152555f610474565b63f92ee8a960e01b8652600486fd5b9050155f61044b565b303b159150610443565b859150610439565b8380fd5b503461026c57602036600319011261026c5760043561010081101561033a5760209150600d0154604051908152f35b503461026c57602036600319011261026c57600435906040906109ae825161098d8482611e52565b600c81526b554e5354414b455f5a45524f60a01b6020820152841515611edc565b33815260056020528181209060028201906109f88254158551906109d28783611e52565b6014825273434f4f4c444f574e5f494e5f50524f475245535360601b6020830152611edc565b610a1585610a0533612480565b1015610a0f611f18565b90611edc565b610a1e3361255d565b3315610b5d57610b14578390335f525f80516020612ade833981519152602052835f2054828110610af9578290335f525f80516020612ade83398151915260205203845f2055815f80516020612b3e83398151915254035f80516020612b3e833981519152555f84518381527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60203392a3610abc60045442611f4a565b600184015555610acb33612611565b9055519081527fc606a9f55fc42cd3159fcfc8ddcd749dd21c4574cca0b68a5a65d5f984b6c42c60203392a2005b905063391434e360e21b5f523360045260245260445260645ffd5b610b5983805190610b258183611e52565b60118252704e4f545f5452414e534645525241424c4560781b60208301525162461bcd60e51b815291829160048301611dc4565b0390fd5b634b637e8f60e11b81526004819052602490fd5b503461026c57604036600319011261026c57610299610b8e611dee565b6024359061236c565b503461026c578060031936011261026c57600c546040516001600160a01b039091168152602090f35b503461026c578060031936011261026c5750610c01604051610be3604082611e52565b60058152640352e302e360dc1b602082015260405191829182611dc4565b0390f35b503461026c57602036600319011261026c577f3fa751adc7d77b89491ef674a701215e6998cd5d3d73b083cc69e15c85f0790d6020600435610c4561252a565b610c4d6126e4565b610c69610c58612331565b670de0b6b3a7640000831115611edc565b80600955604051908152a180f35b503461026c57604036600319011261026c57610c91611dee565b602435903361266b565b503461026c578060031936011261026c576020600354604051908152f35b503461026c57602036600319011261026c577fffcc630bf88a67ba7c8b27440787c31777ae923aee1e9bbd0127feea56da2cd06020600435610cf961252a565b610d016126e4565b80600355604051908152a180f35b503461026c57602036600319011261026c577f38a604e8a36592c14768cd04d016e8f0be9e11c140f1643cd8d4266f9e28e9e46020600435610d4f61252a565b610d576126e4565b610d62610c58612331565b80600a55604051908152a180f35b503461026c57602036600319011261026c577f3b919acbae27b7c60197957a5423655702d842fcc85c19c7631dc1c777f478f56020600435610db061252a565b80600455604051908152a180f35b503461026c578060031936011261026c5760405190805f80516020612afe8339815191525490610ded82611ea4565b8085529160018116908115610e8a5750600114610e21575b610c0184610e1581860382611e52565b60405191829182611dc4565b5f80516020612afe83398151915281527f46a2803e59a4de4e7a4c574b1243f25977ac4c77d5a1a4a609b5394cebb4a2aa939250905b808210610e7057509091508101602001610e1582610e05565b919260018160209254838588010152019101909291610e57565b60ff191660208087019190915292151560051b85019092019250610e159150839050610e05565b503461026c578060031936011261026c576020600654604051908152f35b503461026c57602036600319011261026c5760409081906001600160a01b03610ef6611dee565b16815261020d602052206001815491015482519182526020820152f35b503461026c578060031936011261026c57546040516001600160a01b039091168152602090f35b503461026c578060031936011261026c575f80516020612b1e833981519152546040516001600160a01b039091168152602090f35b503461026c57602036600319011261026c5760206103aa6004356121a1565b503461026c578060031936011261026c576001546040516001600160a01b039091168152602090f35b503461026c578060031936011261026c57610fd061252a565b5f80516020612b1e83398151915280546001600160a01b0319811690915581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b503461026c57602036600319011261026c576020906040906001600160a01b03611048611dee565b1681525f80516020612ade83398151915283522054604051908152f35b503461026c578060031936011261026c576002546040516001600160a01b039091168152602090f35b503461026c578060031936011261026c576020600954604051908152f35b503461026c578060031936011261026c577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031630036111045760206040515f80516020612b5e8339815191528152f35b63703e46dd60e11b8152600490fd5b50604036600319011261026c57611128611dee565b6024359067ffffffffffffffff82116113615736602383011215611361578160040135908361115683611e88565b936111646040519586611e52565b8385526020850193366024828401011161136157806024602093018637850101526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630811490811561133f575b50611330576111c761252a565b6040516352d1902d60e01b81526001600160a01b0382169390602081600481885afa8691816112f8575b5061120a57634c9c8ce360e01b86526004859052602486fd5b93845f80516020612b5e8339815191528796036112e65750823b156112d4575f80516020612b5e83398151915280546001600160a01b031916821790558491907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b8380a28051156112b9576112ad9382915190845af43d156112b1573d9161129183611e88565b9261129f6040519485611e52565b83523d85602085013e612a5f565b5080f35b606091612a5f565b50505050346112c55780f35b63b398979f60e01b8152600490fd5b634c9c8ce360e01b8552600452602484fd5b632a87526960e21b8652600452602485fd5b9091506020813d602011611328575b8161131460209383611e52565b810103126113245751905f6111f1565b8680fd5b3d9150611307565b63703e46dd60e11b8452600484fd5b5f80516020612b5e833981519152546001600160a01b0316141590505f6111ba565b8280fd5b503461026c578060031936011261026c5761137f3361255d565b61138833612611565b3382526005602052604082205580f35b503461026c57602036600319011261026c576004356040906113dd82516113bf8482611e52565b60098152684255524e5f5a45524f60b81b6020820152821515611edc565b600c5482516370a0823160e01b815233600482015290602090829060249082906001600160a01b03165afa80156115e85784906115b0575b61142b915082611423611f18565b911015611edc565b33835261020d602052611448600183852001541515610a0f612166565b6114513361255d565b33835261020d602052818320908154916114e28261146f8582611f78565b60018401936114cc61148386548094611f8b565b80986114c78b516114948d82611e52565b601b81527f494e53554646494349454e545f4c4f434b45445f42414c414e43450000000000602082015283831015611edc565b611f6b565b90556114c76114d9612166565b83831015611edc565b90556114f082600b54611f6b565b600b55600c546001600160a01b031691823b156115ac578351632770a7eb60e21b81523360048201526024810183905292849290869081908690604490829084905af180156115a057611585575b507f77e8c1608e07b1a4395fc907407d6244a50b86eead919f3ee61d8ce99e204bd6935082519182526020820152a161157633612611565b90338352600560205282205580f35b611593919350809294611e52565b610932578183918561153e565b508351903d90823e3d90fd5b8480fd5b506020813d6020116115e0575b816115ca60209383611e52565b810103126115dc5761142b9051611415565b5f80fd5b3d91506115bd565b50505051903d90823e3d90fd5b503461026c578060031936011261026c576020600a54604051908152f35b503461026c57602036600319011261026c5761162d611dee565b61163561252a565b600c549061167a60405161164a604082611e52565b60138152721053149150511657d253925512505312569151606a1b60208201526001600160a01b03841615611edc565b6702c68af0bb140000600a556001600160a01b03166001600160a01b03199190911617600c5580f35b503461026c578060031936011261026c576020600454604051908152f35b503461026c57602036600319011261026c5760206103aa6116e0611dee565b611fa9565b503461026c578060031936011261026c57602060405160128152f35b503461026c578060031936011261026c5760206040516a0c097ce7bc90715b34b9f160241b8152f35b503461026c578060031936011261026c576020600b54604051908152f35b503461026c57606036600319011261026c57611762611dee565b61176a611e04565b906044359261177882611e1a565b335f9081526020919091526040902054905f198210611799575b505061266b565b848210611805576001600160a01b038316156117f15733156117dd57506117bf82611e1a565b60018060a01b0333165f526020528360405f20910390555f80611792565b634a1406b160e11b81526004819052602490fd5b63e602df0560e01b81526004819052602490fd5b84606492637dc7a0d960e11b835233600452602452604452fd5b50346115dc5760403660031901126115dc5760043560409061186482516118468482611e52565b60098152684c4f434b5f5a45524f60b81b6020820152821515611edc565b61186d3361255d565b61187a81610a0533612480565b335f5261020d602052815f2061188f826121a1565b906118d4845161189f8682611e52565b601981527f42454c4f575f4d494e5f4449454d5f414d4f554e545f4f5554000000000000006020820152602435841015611edc565b600181016118e3838254611f4a565b90556118f0838254611f4a565b90556118fe82600b54611f4a565b600b55600c546001600160a01b0316803b156115dc5783516340c10f1960e01b815233600482015260248101839052905f908290604490829084905af180156119b95761197f575b507fd081a649ef2f9530490e16b4ff4d6e1f46460e01107d1ecf7c576cca3cf9d35791839182519182526020820152a161157633612611565b83919450916119af5f7fd081a649ef2f9530490e16b4ff4d6e1f46460e01107d1ecf7c576cca3cf9d35794611e52565b5f94915091611946565b84513d5f823e3d90fd5b346115dc575f3660031901126115dc5760205f80516020612b3e83398151915254604051908152f35b346115dc5760203660031901126115dc576001600160a01b03611a0d611dee565b165f526005602052606060405f20805490600260018201549101549060405192835260208301526040820152f35b346115dc575f3660031901126115dc57335f52600560205260405f2060028101905f825492816001604094611a958651611a758882611e52565b600b81526a2727afa1a7a7a62227aba760a91b6020820152881515611edc565b01611ace8154421015865190611aab8883611e52565b601182527021a7a7a62227aba72fa727aa2fa7ab22a960791b6020830152611edc565b55555f8054825163a9059cbb60e01b8152336004820152602481018590529160209183916044918391906001600160a01b03165af18015611b6857611b3b575b50519081527fc819022d26707b1e41f61d9adc9481024e27272d949e34a1dfec4d7abf168a3360203392a2005b611b5c9060203d602011611b61575b611b548183611e52565b810190611f00565b611b0e565b503d611b4a565b82513d5f823e3d90fd5b346115dc576140003660031901126115dc5736612004116115dc5736614004116115dc57611b9e61252a565b5f5b6101008110908115611be8578060051b91826004013582600d015515611bd45760019161200401358161010d015501611ba0565b634e487b7160e01b5f52603260045260245ffd5b7fa17dd66150b8ad4ee99c4d23c5cdbb44eaa4076e6e1d854c3005aa021511da5a6140006040516120006004823761200061200481830137a1005b346115dc5760403660031901126115dc57611c3c611dee565b602435903315611cb5576001600160a01b0316908115611ca257611c5f33611e1a565b825f526020528060405f20556040519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560203392a3602060405160018152f35b634a1406b160e11b5f525f60045260245ffd5b63e602df0560e01b5f525f60045260245ffd5b346115dc575f3660031901126115dc576040515f5f80516020612abe83398151915254611cf481611ea4565b8084529060018116908115611d865750600114611d1c575b610c0183610e1581850382611e52565b5f80516020612abe8339815191525f9081527f2ae08a8e29253f69ac5d979a101956ab8f8d9d7ded63fa7a83b16fc47648eab0939250905b808210611d6c57509091508101602001610e15611d0c565b919260018160209254838588010152019101909291611d54565b60ff191660208086019190915291151560051b84019091019150610e159050611d0c565b346115dc575f3660031901126115dc576020906008548152f35b602060409281835280519182918282860152018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b03821682036115dc57565b602435906001600160a01b03821682036115dc57565b6001600160a01b03165f9081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace016020526040902090565b90601f8019910116810190811067ffffffffffffffff821117611e7457604052565b634e487b7160e01b5f52604160045260245ffd5b67ffffffffffffffff8111611e7457601f01601f191660200190565b90600182811c92168015611ed2575b6020831014611ebe57565b634e487b7160e01b5f52602260045260245ffd5b91607f1691611eb3565b15611ee45750565b60405162461bcd60e51b8152908190610b599060048301611dc4565b908160209103126115dc575180151581036115dc5790565b60405190611f27604083611e52565b6014825273494e53554646494349454e545f42414c414e434560601b6020830152565b91908201809211611f5757565b634e487b7160e01b5f52601160045260245ffd5b91908203918211611f5757565b81810292918115918404141715611f5757565b8115611f95570490565b634e487b7160e01b5f52601260045260245ffd5b6006549060085490600754804211612024575b50806a0c097ce7bc90715b34b9f160241b61200781611fe961202197611fe461200e97612480565b611f78565b049260018060a01b031694855f5261020d60205260405f2054611f78565b0490611f4a565b905f52600560205260405f205490611f6b565b90565b61203d6120346120599242611f6b565b60035490611f78565b670de0b6b3a764000061205260095483611f78565b0490611f6b565b600b54906120678282611f78565b946120a461208e6120875f80516020612b3e833981519152548099611f8b565b8094611f6b565b92670de0b6b3a7640000612052600a5483611f78565b956a0c097ce7bc90715b34b9f160241b8302928084046a0c097ce7bc90715b34b9f160241b1490151715611f57576120ef926120e3856120e993611f6b565b90611f8b565b90611f4a565b93816120fc575b50611fbc565b6a0c097ce7bc90715b34b9f160241b81959493929502908082046a0c097ce7bc90715b34b9f160241b1490151715611f57576120076a0c097ce7bc90715b34b9f160241b611fe961215861200e966120e96120219a8597611f8b565b9697505050508192506120f6565b60405190612175604083611e52565b601e82527f494e53554646494349454e545f4f55545354414e44494e475f4449454d5300006020830152565b600c546040516318160ddd60e01b815290602090829060049082906001600160a01b03165afa908115612326575f916122f4575b50905f905f5b6101008110156122eb5780600d015493848110156122e157612203818361010d015496611f6b565b61220d8187611f78565b670de0b6b3a763ffff8101809111611f5757670de0b6b3a764000090048481106122b55750505050670de0b6b3a7640000810290808204670de0b6b3a76400001490151715611f5757612263926120e991611f8b565b5f5b61226c5790565b610b5960405161227d604082611e52565b6013815272494e53554646494349454e545f535550504c5960681b602082015260405162461bcd60e51b815291829160048301611dc4565b60019396506122d3906122cd836122d9959798611f4a565b96611f6b565b93611f4a565b935b016121db565b93506001906122db565b50909150612265565b90506020813d60201161231e575b8161230f60209383611e52565b810103126115dc57515f6121d5565b3d9150612302565b6040513d5f823e3d90fd5b60405190612340604083611e52565b601c82527f494e56414c49445f454d495353494f4e535f50455243454e54414745000000006020830152565b90604061239d815161237e8382611e52565b600a8152695354414b455f5a45524f60b01b6020820152831515611edc565b6123a68361255d565b6001600160a01b03831692831561246d576123c1838261298a565b5f805483516323b872dd60e01b8152336004820152306024820152604481018690529160209183916064918391906001600160a01b03165af18015612463577f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d94926020949261243692612448575b50612611565b855f5260058452815f205551908152a2565b61245e90863d8811611b6157611b548183611e52565b612430565b83513d5f823e3d90fd5b63ec442f0560e01b5f525f60045260245ffd5b6001600160a01b03165f9081525f80516020612ade833981519152602090815260408083205461020d9092529091205461202191611f6b565b6001600160a01b03168015612517575f80516020612b1e83398151915280546001600160a01b0319811683179091556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3565b631e4fbdf760e01b5f525f60045260245ffd5b5f80516020612b1e833981519152546001600160a01b0316330361254a57565b63118cdaa760e01b5f523360045260245ffd5b6125656126e4565b61256e81611fa9565b9081612578575050565b5f805460405163a9059cbb60e01b81526001600160a01b03848116600483015260248201869052909392602092859260449284929091165af1908115612326577fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a926020926125f6575b506040519384526001600160a01b031692a2565b61260c90833d8511611b6157611b548183611e52565b6125e2565b612021906a0c097ce7bc90715b34b9f160241b61263961263083612480565b60065490611f78565b049060018060a01b03165f5261020d6020526a0c097ce7bc90715b34b9f160241b61200760405f205460085490611f78565b9091506001600160a01b0316156126d1576001600160a01b03161561246d57610b5960405161269b604082611e52565b60118152704e4f545f5452414e534645525241424c4560781b602082015260405162461bcd60e51b815291829160048301611dc4565b634b637e8f60e11b5f525f60045260245ffd5b6007545f9080421115612790576126fe61270b9142611f6b565b4260075560035490611f78565b801561279057612731670de0b6b3a764000061272960095484611f78565b048092611f6b565b5f80516020612b3e8339815191525490600b5461276b6127646127548386611f6b565b9461275f8486611f78565b611f8b565b8093611f6b565b925f9380158015612916575b50505081612867575b505090806127fb575b5080612794575b5050565b81546001600160a01b031690813b15611361576040516340c10f1960e01b815230600482015260248101919091529082908290604490829084905af180156127f0576127de575050565b6127e9828092611e52565b61026c5750565b6040513d84823e3d90fd5b5f546002546001600160a01b0391821692911690823b156115dc576040516340c10f1960e01b81526001600160a01b039290921660048301526024820152905f908290604490829084905af1801561232657156127895761285f9192505f90611e52565b5f905f612789565b612887670de0b6b3a764000061287f600a5485611f78565b048093611f6b565b6a0c097ce7bc90715b34b9f160241b8102908082046a0c097ce7bc90715b34b9f160241b1490151715611f5757816128be91611f8b565b90816128d9575b50506128d19192611f4a565b905f80612780565b906128d1936129076a0c097ce7bc90715b34b9f160241b6128fd61290f9585611f78565b0492600854611f4a565b600855611f4a565b915f6128c5565b6a0c097ce7bc90715b34b9f160241b82029182046a0c097ce7bc90715b34b9f160241b141715611f57578161294a91611f8b565b9081612957575b80612777565b8194506129766a0c097ce7bc90715b34b9f160241b9161298093611f78565b0493600654611f4a565b6006555f80612951565b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60205f926129c7855f80516020612b3e83398151915254611f4a565b5f80516020612b3e833981519152556001600160a01b03169384158414612a1257805f80516020612b3e83398151915254035f80516020612b3e833981519152555b604051908152a3565b8484525f80516020612ade833981519152825260408420818154019055612a09565b60ff5f80516020612b7e8339815191525460401c1615612a5057565b631afcd79f60e31b5f5260045ffd5b90612a835750805115612a7457805190602001fd5b63d6bda27560e01b5f5260045ffd5b81511580612ab4575b612a94575090565b639996b31560e01b5f9081526001600160a01b0391909116600452602490fd5b50803b15612a8c56fe52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0352c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0052c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace049016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930052c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace02360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbcf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220695704119e311195d295c1502f2660e9bf456cb38a18c51c189ff67e3033794264736f6c634300081a0033","recompiledBytecode":"0x60a06040523461003c5730608052610015610040565b61001d610040565b604051612bd390816100fd82396080518181816110bf015261118f0152f35b5f80fd5b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005460ff8160401c166100ed576002600160401b03196001600160401b038216016100885750565b6001600160401b0319166001600160401b039081177ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602090a1565b63f92ee8a960e01b5f5260045ffdfe6080806040526004361015610012575f80fd5b5f905f3560e01c9081630342063b14611daa5750806306fdde0314611cc8578063095ea7b314611c235780630caf48d314611b725780630ea9434114611a3b57806316934fc4146119ec57806318160ddd146119c35780632006efcb1461181f57806323b872dd1461174857806325bef7461461172a57806325fae12b146117015780632c74d1df1461108e578063313ce567146116e557806331d7a262146116c157806335269315146116a357806340370f1f1461161357806345af37b2146115f55780634d44f110146113985780634e71d92d146113655780634f1ef2861461111357806352d1902d146110ac5780635dea41bb1461108e57806361d027b31461106557806370a0823114611020578063715018a614610fb75780637dc0d1d014610f8e57806387716cbf14610f6f5780638da5cb5b14610f3a5780638f1f8d0c14610f1357806392417dc714610ecf578063939d623714610eb157806395d89b4114610dbe578063966be07514610d705780639b1650ed14610d0f578063a1bdb15e14610cb9578063a80152d614610c9b578063a9059cbb14610c77578063aaaff76714610c05578063ad3cb1cc14610bc0578063ad66f18214610b97578063adc9772e14610b71578063ae5ac92114610965578063b4f70f7214610936578063c0c53b8b146103d5578063cb1a4fc0146103b2578063ceddd07d14610386578063dd62ed3e1461033e578063e3a684021461030a578063f0f442601461029c578063f2fde38b1461026f5763f8077fae1461024f575f80fd5b3461026c578060031936011261026c576020600754604051908152f35b80fd5b503461026c57602036600319011261026c5761029961028c611dee565b61029461252a565b6124b9565b80f35b503461026c57602036600319011261026c577f7dae230f18360d76a040c81f050aa14eb9d6dc7901b20fc5d855e2a20fe814d160206102d9611dee565b6102e161252a565b600280546001600160a01b0319166001600160a01b03929092169182179055604051908152a180f35b503461026c57602036600319011261026c5760043561010081101561033a576020915061010d0154604051908152f35b5080fd5b503461026c57604036600319011261026c57610358611dee565b610369610363611e04565b91611e1a565b9060018060a01b03165f52602052602060405f2054604051908152f35b503461026c57602036600319011261026c5760206103aa6103a5611dee565b612480565b604051908152f35b503461026c578060031936011261026c576102996103cf33611fa9565b3361236c565b503461026c57606036600319011261026c576103ef611dee565b6103f7611e04565b6044356001600160a01b03811690819003610932575f80516020612b7e833981519152549160ff8360401c16159267ffffffffffffffff81168015908161092a575b6001149081610920575b159081610917575b506109085767ffffffffffffffff1981166001175f80516020612b7e83398151915255836108dc575b5060409384516104848682611e52565b601381527229ba30b5b2b2102b32b734b1b2902a37b5b2b760691b60208201528551906104b18783611e52565b600482526339ab2b2b60e11b60208301526104ca612a34565b6104d2612a34565b80519067ffffffffffffffff82116108c85781906104fd5f80516020612abe83398151915254611ea4565b601f811161084e575b50602090601f83116001146107d2578a926107c7575b50508160011b915f199060031b1c1916175f80516020612abe833981519152555b80519067ffffffffffffffff82116107b35781906105685f80516020612afe83398151915254611ea4565b601f8111610739575b50602090601f83116001146106bd5789926106b2575b50508160011b915f199060031b1c1916175f80516020612afe833981519152555b6105b0612a34565b6105b8612a34565b6105c1336124b9565b6105c9612a34565b60018060a01b03166001600160601b0360a01b86541617855560018060a01b03166001600160601b0360a01b60015416176001556001600160601b0360a01b60025416176002556706292e6de3503dd360035562093a8060045542600755301561069e5761063f670de0b6b3a76400003061298a565b610647575080f35b60207fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29168ff0000000000000000195f80516020612b7e83398151915254165f80516020612b7e833981519152555160018152a180f35b63ec442f0560e01b83526004839052602483fd5b015190505f80610587565b5f80516020612afe8339815191528a52818a209250601f1984168a5b8181106107215750908460019594939210610709575b505050811b015f80516020612afe833981519152556105a8565b01515f1960f88460031b161c191690555f80806106ef565b929360206001819287860151815501950193016106d9565b5f80516020612afe8339815191528a529091507f46a2803e59a4de4e7a4c574b1243f25977ac4c77d5a1a4a609b5394cebb4a2aa601f840160051c810191602085106107a9575b90601f859493920160051c01905b81811061079b5750610571565b8a815584935060010161078e565b9091508190610780565b634e487b7160e01b88526041600452602488fd5b015190505f8061051c565b5f80516020612abe8339815191528b52818b209250601f1984168b5b818110610836575090846001959493921061081e575b505050811b015f80516020612abe8339815191525561053d565b01515f1960f88460031b161c191690555f8080610804565b929360206001819287860151815501950193016107ee565b5f80516020612abe8339815191528b529091507f2ae08a8e29253f69ac5d979a101956ab8f8d9d7ded63fa7a83b16fc47648eab0601f840160051c810191602085106108be575b90601f859493920160051c01905b8181106108b05750610506565b8b81558493506001016108a3565b9091508190610895565b634e487b7160e01b89526041600452602489fd5b68ffffffffffffffffff191668010000000000000001175f80516020612b7e833981519152555f610474565b63f92ee8a960e01b8652600486fd5b9050155f61044b565b303b159150610443565b859150610439565b8380fd5b503461026c57602036600319011261026c5760043561010081101561033a5760209150600d0154604051908152f35b503461026c57602036600319011261026c57600435906040906109ae825161098d8482611e52565b600c81526b554e5354414b455f5a45524f60a01b6020820152841515611edc565b33815260056020528181209060028201906109f88254158551906109d28783611e52565b6014825273434f4f4c444f574e5f494e5f50524f475245535360601b6020830152611edc565b610a1585610a0533612480565b1015610a0f611f18565b90611edc565b610a1e3361255d565b3315610b5d57610b14578390335f525f80516020612ade833981519152602052835f2054828110610af9578290335f525f80516020612ade83398151915260205203845f2055815f80516020612b3e83398151915254035f80516020612b3e833981519152555f84518381527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60203392a3610abc60045442611f4a565b600184015555610acb33612611565b9055519081527fc606a9f55fc42cd3159fcfc8ddcd749dd21c4574cca0b68a5a65d5f984b6c42c60203392a2005b905063391434e360e21b5f523360045260245260445260645ffd5b610b5983805190610b258183611e52565b60118252704e4f545f5452414e534645525241424c4560781b60208301525162461bcd60e51b815291829160048301611dc4565b0390fd5b634b637e8f60e11b81526004819052602490fd5b503461026c57604036600319011261026c57610299610b8e611dee565b6024359061236c565b503461026c578060031936011261026c57600c546040516001600160a01b039091168152602090f35b503461026c578060031936011261026c5750610c01604051610be3604082611e52565b60058152640352e302e360dc1b602082015260405191829182611dc4565b0390f35b503461026c57602036600319011261026c577f3fa751adc7d77b89491ef674a701215e6998cd5d3d73b083cc69e15c85f0790d6020600435610c4561252a565b610c4d6126e4565b610c69610c58612331565b670de0b6b3a7640000831115611edc565b80600955604051908152a180f35b503461026c57604036600319011261026c57610c91611dee565b602435903361266b565b503461026c578060031936011261026c576020600354604051908152f35b503461026c57602036600319011261026c577fffcc630bf88a67ba7c8b27440787c31777ae923aee1e9bbd0127feea56da2cd06020600435610cf961252a565b610d016126e4565b80600355604051908152a180f35b503461026c57602036600319011261026c577f38a604e8a36592c14768cd04d016e8f0be9e11c140f1643cd8d4266f9e28e9e46020600435610d4f61252a565b610d576126e4565b610d62610c58612331565b80600a55604051908152a180f35b503461026c57602036600319011261026c577f3b919acbae27b7c60197957a5423655702d842fcc85c19c7631dc1c777f478f56020600435610db061252a565b80600455604051908152a180f35b503461026c578060031936011261026c5760405190805f80516020612afe8339815191525490610ded82611ea4565b8085529160018116908115610e8a5750600114610e21575b610c0184610e1581860382611e52565b60405191829182611dc4565b5f80516020612afe83398151915281527f46a2803e59a4de4e7a4c574b1243f25977ac4c77d5a1a4a609b5394cebb4a2aa939250905b808210610e7057509091508101602001610e1582610e05565b919260018160209254838588010152019101909291610e57565b60ff191660208087019190915292151560051b85019092019250610e159150839050610e05565b503461026c578060031936011261026c576020600654604051908152f35b503461026c57602036600319011261026c5760409081906001600160a01b03610ef6611dee565b16815261020d602052206001815491015482519182526020820152f35b503461026c578060031936011261026c57546040516001600160a01b039091168152602090f35b503461026c578060031936011261026c575f80516020612b1e833981519152546040516001600160a01b039091168152602090f35b503461026c57602036600319011261026c5760206103aa6004356121a1565b503461026c578060031936011261026c576001546040516001600160a01b039091168152602090f35b503461026c578060031936011261026c57610fd061252a565b5f80516020612b1e83398151915280546001600160a01b0319811690915581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b503461026c57602036600319011261026c576020906040906001600160a01b03611048611dee565b1681525f80516020612ade83398151915283522054604051908152f35b503461026c578060031936011261026c576002546040516001600160a01b039091168152602090f35b503461026c578060031936011261026c576020600954604051908152f35b503461026c578060031936011261026c577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031630036111045760206040515f80516020612b5e8339815191528152f35b63703e46dd60e11b8152600490fd5b50604036600319011261026c57611128611dee565b6024359067ffffffffffffffff82116113615736602383011215611361578160040135908361115683611e88565b936111646040519586611e52565b8385526020850193366024828401011161136157806024602093018637850101526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630811490811561133f575b50611330576111c761252a565b6040516352d1902d60e01b81526001600160a01b0382169390602081600481885afa8691816112f8575b5061120a57634c9c8ce360e01b86526004859052602486fd5b93845f80516020612b5e8339815191528796036112e65750823b156112d4575f80516020612b5e83398151915280546001600160a01b031916821790558491907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b8380a28051156112b9576112ad9382915190845af43d156112b1573d9161129183611e88565b9261129f6040519485611e52565b83523d85602085013e612a5f565b5080f35b606091612a5f565b50505050346112c55780f35b63b398979f60e01b8152600490fd5b634c9c8ce360e01b8552600452602484fd5b632a87526960e21b8652600452602485fd5b9091506020813d602011611328575b8161131460209383611e52565b810103126113245751905f6111f1565b8680fd5b3d9150611307565b63703e46dd60e11b8452600484fd5b5f80516020612b5e833981519152546001600160a01b0316141590505f6111ba565b8280fd5b503461026c578060031936011261026c5761137f3361255d565b61138833612611565b3382526005602052604082205580f35b503461026c57602036600319011261026c576004356040906113dd82516113bf8482611e52565b60098152684255524e5f5a45524f60b81b6020820152821515611edc565b600c5482516370a0823160e01b815233600482015290602090829060249082906001600160a01b03165afa80156115e85784906115b0575b61142b915082611423611f18565b911015611edc565b33835261020d602052611448600183852001541515610a0f612166565b6114513361255d565b33835261020d602052818320908154916114e28261146f8582611f78565b60018401936114cc61148386548094611f8b565b80986114c78b516114948d82611e52565b601b81527f494e53554646494349454e545f4c4f434b45445f42414c414e43450000000000602082015283831015611edc565b611f6b565b90556114c76114d9612166565b83831015611edc565b90556114f082600b54611f6b565b600b55600c546001600160a01b031691823b156115ac578351632770a7eb60e21b81523360048201526024810183905292849290869081908690604490829084905af180156115a057611585575b507f77e8c1608e07b1a4395fc907407d6244a50b86eead919f3ee61d8ce99e204bd6935082519182526020820152a161157633612611565b90338352600560205282205580f35b611593919350809294611e52565b610932578183918561153e565b508351903d90823e3d90fd5b8480fd5b506020813d6020116115e0575b816115ca60209383611e52565b810103126115dc5761142b9051611415565b5f80fd5b3d91506115bd565b50505051903d90823e3d90fd5b503461026c578060031936011261026c576020600a54604051908152f35b503461026c57602036600319011261026c5761162d611dee565b61163561252a565b600c549061167a60405161164a604082611e52565b60138152721053149150511657d253925512505312569151606a1b60208201526001600160a01b03841615611edc565b6702c68af0bb140000600a556001600160a01b03166001600160a01b03199190911617600c5580f35b503461026c578060031936011261026c576020600454604051908152f35b503461026c57602036600319011261026c5760206103aa6116e0611dee565b611fa9565b503461026c578060031936011261026c57602060405160128152f35b503461026c578060031936011261026c5760206040516a0c097ce7bc90715b34b9f160241b8152f35b503461026c578060031936011261026c576020600b54604051908152f35b503461026c57606036600319011261026c57611762611dee565b61176a611e04565b906044359261177882611e1a565b335f9081526020919091526040902054905f198210611799575b505061266b565b848210611805576001600160a01b038316156117f15733156117dd57506117bf82611e1a565b60018060a01b0333165f526020528360405f20910390555f80611792565b634a1406b160e11b81526004819052602490fd5b63e602df0560e01b81526004819052602490fd5b84606492637dc7a0d960e11b835233600452602452604452fd5b50346115dc5760403660031901126115dc5760043560409061186482516118468482611e52565b60098152684c4f434b5f5a45524f60b81b6020820152821515611edc565b61186d3361255d565b61187a81610a0533612480565b335f5261020d602052815f2061188f826121a1565b906118d4845161189f8682611e52565b601981527f42454c4f575f4d494e5f4449454d5f414d4f554e545f4f5554000000000000006020820152602435841015611edc565b600181016118e3838254611f4a565b90556118f0838254611f4a565b90556118fe82600b54611f4a565b600b55600c546001600160a01b0316803b156115dc5783516340c10f1960e01b815233600482015260248101839052905f908290604490829084905af180156119b95761197f575b507fd081a649ef2f9530490e16b4ff4d6e1f46460e01107d1ecf7c576cca3cf9d35791839182519182526020820152a161157633612611565b83919450916119af5f7fd081a649ef2f9530490e16b4ff4d6e1f46460e01107d1ecf7c576cca3cf9d35794611e52565b5f94915091611946565b84513d5f823e3d90fd5b346115dc575f3660031901126115dc5760205f80516020612b3e83398151915254604051908152f35b346115dc5760203660031901126115dc576001600160a01b03611a0d611dee565b165f526005602052606060405f20805490600260018201549101549060405192835260208301526040820152f35b346115dc575f3660031901126115dc57335f52600560205260405f2060028101905f825492816001604094611a958651611a758882611e52565b600b81526a2727afa1a7a7a62227aba760a91b6020820152881515611edc565b01611ace8154421015865190611aab8883611e52565b601182527021a7a7a62227aba72fa727aa2fa7ab22a960791b6020830152611edc565b55555f8054825163a9059cbb60e01b8152336004820152602481018590529160209183916044918391906001600160a01b03165af18015611b6857611b3b575b50519081527fc819022d26707b1e41f61d9adc9481024e27272d949e34a1dfec4d7abf168a3360203392a2005b611b5c9060203d602011611b61575b611b548183611e52565b810190611f00565b611b0e565b503d611b4a565b82513d5f823e3d90fd5b346115dc576140003660031901126115dc5736612004116115dc5736614004116115dc57611b9e61252a565b5f5b6101008110908115611be8578060051b91826004013582600d015515611bd45760019161200401358161010d015501611ba0565b634e487b7160e01b5f52603260045260245ffd5b7fa17dd66150b8ad4ee99c4d23c5cdbb44eaa4076e6e1d854c3005aa021511da5a6140006040516120006004823761200061200481830137a1005b346115dc5760403660031901126115dc57611c3c611dee565b602435903315611cb5576001600160a01b0316908115611ca257611c5f33611e1a565b825f526020528060405f20556040519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560203392a3602060405160018152f35b634a1406b160e11b5f525f60045260245ffd5b63e602df0560e01b5f525f60045260245ffd5b346115dc575f3660031901126115dc576040515f5f80516020612abe83398151915254611cf481611ea4565b8084529060018116908115611d865750600114611d1c575b610c0183610e1581850382611e52565b5f80516020612abe8339815191525f9081527f2ae08a8e29253f69ac5d979a101956ab8f8d9d7ded63fa7a83b16fc47648eab0939250905b808210611d6c57509091508101602001610e15611d0c565b919260018160209254838588010152019101909291611d54565b60ff191660208086019190915291151560051b84019091019150610e159050611d0c565b346115dc575f3660031901126115dc576020906008548152f35b602060409281835280519182918282860152018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b03821682036115dc57565b602435906001600160a01b03821682036115dc57565b6001600160a01b03165f9081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace016020526040902090565b90601f8019910116810190811067ffffffffffffffff821117611e7457604052565b634e487b7160e01b5f52604160045260245ffd5b67ffffffffffffffff8111611e7457601f01601f191660200190565b90600182811c92168015611ed2575b6020831014611ebe57565b634e487b7160e01b5f52602260045260245ffd5b91607f1691611eb3565b15611ee45750565b60405162461bcd60e51b8152908190610b599060048301611dc4565b908160209103126115dc575180151581036115dc5790565b60405190611f27604083611e52565b6014825273494e53554646494349454e545f42414c414e434560601b6020830152565b91908201809211611f5757565b634e487b7160e01b5f52601160045260245ffd5b91908203918211611f5757565b81810292918115918404141715611f5757565b8115611f95570490565b634e487b7160e01b5f52601260045260245ffd5b6006549060085490600754804211612024575b50806a0c097ce7bc90715b34b9f160241b61200781611fe961202197611fe461200e97612480565b611f78565b049260018060a01b031694855f5261020d60205260405f2054611f78565b0490611f4a565b905f52600560205260405f205490611f6b565b90565b61203d6120346120599242611f6b565b60035490611f78565b670de0b6b3a764000061205260095483611f78565b0490611f6b565b600b54906120678282611f78565b946120a461208e6120875f80516020612b3e833981519152548099611f8b565b8094611f6b565b92670de0b6b3a7640000612052600a5483611f78565b956a0c097ce7bc90715b34b9f160241b8302928084046a0c097ce7bc90715b34b9f160241b1490151715611f57576120ef926120e3856120e993611f6b565b90611f8b565b90611f4a565b93816120fc575b50611fbc565b6a0c097ce7bc90715b34b9f160241b81959493929502908082046a0c097ce7bc90715b34b9f160241b1490151715611f57576120076a0c097ce7bc90715b34b9f160241b611fe961215861200e966120e96120219a8597611f8b565b9697505050508192506120f6565b60405190612175604083611e52565b601e82527f494e53554646494349454e545f4f55545354414e44494e475f4449454d5300006020830152565b600c546040516318160ddd60e01b815290602090829060049082906001600160a01b03165afa908115612326575f916122f4575b50905f905f5b6101008110156122eb5780600d015493848110156122e157612203818361010d015496611f6b565b61220d8187611f78565b670de0b6b3a763ffff8101809111611f5757670de0b6b3a764000090048481106122b55750505050670de0b6b3a7640000810290808204670de0b6b3a76400001490151715611f5757612263926120e991611f8b565b5f5b61226c5790565b610b5960405161227d604082611e52565b6013815272494e53554646494349454e545f535550504c5960681b602082015260405162461bcd60e51b815291829160048301611dc4565b60019396506122d3906122cd836122d9959798611f4a565b96611f6b565b93611f4a565b935b016121db565b93506001906122db565b50909150612265565b90506020813d60201161231e575b8161230f60209383611e52565b810103126115dc57515f6121d5565b3d9150612302565b6040513d5f823e3d90fd5b60405190612340604083611e52565b601c82527f494e56414c49445f454d495353494f4e535f50455243454e54414745000000006020830152565b90604061239d815161237e8382611e52565b600a8152695354414b455f5a45524f60b01b6020820152831515611edc565b6123a68361255d565b6001600160a01b03831692831561246d576123c1838261298a565b5f805483516323b872dd60e01b8152336004820152306024820152604481018690529160209183916064918391906001600160a01b03165af18015612463577f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d94926020949261243692612448575b50612611565b855f5260058452815f205551908152a2565b61245e90863d8811611b6157611b548183611e52565b612430565b83513d5f823e3d90fd5b63ec442f0560e01b5f525f60045260245ffd5b6001600160a01b03165f9081525f80516020612ade833981519152602090815260408083205461020d9092529091205461202191611f6b565b6001600160a01b03168015612517575f80516020612b1e83398151915280546001600160a01b0319811683179091556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3565b631e4fbdf760e01b5f525f60045260245ffd5b5f80516020612b1e833981519152546001600160a01b0316330361254a57565b63118cdaa760e01b5f523360045260245ffd5b6125656126e4565b61256e81611fa9565b9081612578575050565b5f805460405163a9059cbb60e01b81526001600160a01b03848116600483015260248201869052909392602092859260449284929091165af1908115612326577fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a926020926125f6575b506040519384526001600160a01b031692a2565b61260c90833d8511611b6157611b548183611e52565b6125e2565b612021906a0c097ce7bc90715b34b9f160241b61263961263083612480565b60065490611f78565b049060018060a01b03165f5261020d6020526a0c097ce7bc90715b34b9f160241b61200760405f205460085490611f78565b9091506001600160a01b0316156126d1576001600160a01b03161561246d57610b5960405161269b604082611e52565b60118152704e4f545f5452414e534645525241424c4560781b602082015260405162461bcd60e51b815291829160048301611dc4565b634b637e8f60e11b5f525f60045260245ffd5b6007545f9080421115612790576126fe61270b9142611f6b565b4260075560035490611f78565b801561279057612731670de0b6b3a764000061272960095484611f78565b048092611f6b565b5f80516020612b3e8339815191525490600b5461276b6127646127548386611f6b565b9461275f8486611f78565b611f8b565b8093611f6b565b925f9380158015612916575b50505081612867575b505090806127fb575b5080612794575b5050565b81546001600160a01b031690813b15611361576040516340c10f1960e01b815230600482015260248101919091529082908290604490829084905af180156127f0576127de575050565b6127e9828092611e52565b61026c5750565b6040513d84823e3d90fd5b5f546002546001600160a01b0391821692911690823b156115dc576040516340c10f1960e01b81526001600160a01b039290921660048301526024820152905f908290604490829084905af1801561232657156127895761285f9192505f90611e52565b5f905f612789565b612887670de0b6b3a764000061287f600a5485611f78565b048093611f6b565b6a0c097ce7bc90715b34b9f160241b8102908082046a0c097ce7bc90715b34b9f160241b1490151715611f5757816128be91611f8b565b90816128d9575b50506128d19192611f4a565b905f80612780565b906128d1936129076a0c097ce7bc90715b34b9f160241b6128fd61290f9585611f78565b0492600854611f4a565b600855611f4a565b915f6128c5565b6a0c097ce7bc90715b34b9f160241b82029182046a0c097ce7bc90715b34b9f160241b141715611f57578161294a91611f8b565b9081612957575b80612777565b8194506129766a0c097ce7bc90715b34b9f160241b9161298093611f78565b0493600654611f4a565b6006555f80612951565b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60205f926129c7855f80516020612b3e83398151915254611f4a565b5f80516020612b3e833981519152556001600160a01b03169384158414612a1257805f80516020612b3e83398151915254035f80516020612b3e833981519152555b604051908152a3565b8484525f80516020612ade833981519152825260408420818154019055612a09565b60ff5f80516020612b7e8339815191525460401c1615612a5057565b631afcd79f60e31b5f5260045ffd5b90612a835750805115612a7457805190602001fd5b63d6bda27560e01b5f5260045ffd5b81511580612ab4575b612a94575090565b639996b31560e01b5f9081526001600160a01b0391909116600452602490fd5b50803b15612a8c56fe52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0352c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0052c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace049016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930052c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace02360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbcf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220695704119e311195d295c1502f2660e9bf456cb38a18c51c189ff67e3033794264736f6c634300081a0033","sourceMap":"266:17029:29:-:0;;;;;;1176:4:18;1168:13;;1141:53:28;;:::i;:::-;1691::29;;:::i;:::-;266:17029;;;;;;;;1168:13:18;266:17029:29;;;;;;;;;;;;;;;7711:422:17;8837:64;266:17029:29;;;;;;7896:76:17;;-1:-1:-1;;;;;;;;;;;266:17029:29;;7985:34:17;7981:146;;7711:422;:::o;7981:146::-;-1:-1:-1;;;;;;266:17029:29;-1:-1:-1;;;;;266:17029:29;;;8837:64:17;266:17029:29;;;;;;8087:29:17;;266:17029:29;;8087:29:17;7711:422::o;7896:76::-;7938:23;;;-1:-1:-1;7938:23:17;;-1:-1:-1;7938:23:17","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa2646970667358221220695704119e311195d295c1502f2660e9bf456cb38a18c51c189ff67e3033794264736f6c634300081a0033","offset":11419}},"transformations":[],"transformationValues":{}},"runtimeBytecode":{"onchainBytecode":"0x6080806040526004361015610012575f80fd5b5f905f3560e01c9081630342063b14611daa5750806306fdde0314611cc8578063095ea7b314611c235780630caf48d314611b725780630ea9434114611a3b57806316934fc4146119ec57806318160ddd146119c35780632006efcb1461181f57806323b872dd1461174857806325bef7461461172a57806325fae12b146117015780632c74d1df1461108e578063313ce567146116e557806331d7a262146116c157806335269315146116a357806340370f1f1461161357806345af37b2146115f55780634d44f110146113985780634e71d92d146113655780634f1ef2861461111357806352d1902d146110ac5780635dea41bb1461108e57806361d027b31461106557806370a0823114611020578063715018a614610fb75780637dc0d1d014610f8e57806387716cbf14610f6f5780638da5cb5b14610f3a5780638f1f8d0c14610f1357806392417dc714610ecf578063939d623714610eb157806395d89b4114610dbe578063966be07514610d705780639b1650ed14610d0f578063a1bdb15e14610cb9578063a80152d614610c9b578063a9059cbb14610c77578063aaaff76714610c05578063ad3cb1cc14610bc0578063ad66f18214610b97578063adc9772e14610b71578063ae5ac92114610965578063b4f70f7214610936578063c0c53b8b146103d5578063cb1a4fc0146103b2578063ceddd07d14610386578063dd62ed3e1461033e578063e3a684021461030a578063f0f442601461029c578063f2fde38b1461026f5763f8077fae1461024f575f80fd5b3461026c578060031936011261026c576020600754604051908152f35b80fd5b503461026c57602036600319011261026c5761029961028c611dee565b61029461252a565b6124b9565b80f35b503461026c57602036600319011261026c577f7dae230f18360d76a040c81f050aa14eb9d6dc7901b20fc5d855e2a20fe814d160206102d9611dee565b6102e161252a565b600280546001600160a01b0319166001600160a01b03929092169182179055604051908152a180f35b503461026c57602036600319011261026c5760043561010081101561033a576020915061010d0154604051908152f35b5080fd5b503461026c57604036600319011261026c57610358611dee565b610369610363611e04565b91611e1a565b9060018060a01b03165f52602052602060405f2054604051908152f35b503461026c57602036600319011261026c5760206103aa6103a5611dee565b612480565b604051908152f35b503461026c578060031936011261026c576102996103cf33611fa9565b3361236c565b503461026c57606036600319011261026c576103ef611dee565b6103f7611e04565b6044356001600160a01b03811690819003610932575f80516020612b7e833981519152549160ff8360401c16159267ffffffffffffffff81168015908161092a575b6001149081610920575b159081610917575b506109085767ffffffffffffffff1981166001175f80516020612b7e83398151915255836108dc575b5060409384516104848682611e52565b601381527229ba30b5b2b2102b32b734b1b2902a37b5b2b760691b60208201528551906104b18783611e52565b600482526339ab2b2b60e11b60208301526104ca612a34565b6104d2612a34565b80519067ffffffffffffffff82116108c85781906104fd5f80516020612abe83398151915254611ea4565b601f811161084e575b50602090601f83116001146107d2578a926107c7575b50508160011b915f199060031b1c1916175f80516020612abe833981519152555b80519067ffffffffffffffff82116107b35781906105685f80516020612afe83398151915254611ea4565b601f8111610739575b50602090601f83116001146106bd5789926106b2575b50508160011b915f199060031b1c1916175f80516020612afe833981519152555b6105b0612a34565b6105b8612a34565b6105c1336124b9565b6105c9612a34565b60018060a01b03166001600160601b0360a01b86541617855560018060a01b03166001600160601b0360a01b60015416176001556001600160601b0360a01b60025416176002556706292e6de3503dd360035562093a8060045542600755301561069e5761063f670de0b6b3a76400003061298a565b610647575080f35b60207fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29168ff0000000000000000195f80516020612b7e83398151915254165f80516020612b7e833981519152555160018152a180f35b63ec442f0560e01b83526004839052602483fd5b015190505f80610587565b5f80516020612afe8339815191528a52818a209250601f1984168a5b8181106107215750908460019594939210610709575b505050811b015f80516020612afe833981519152556105a8565b01515f1960f88460031b161c191690555f80806106ef565b929360206001819287860151815501950193016106d9565b5f80516020612afe8339815191528a529091507f46a2803e59a4de4e7a4c574b1243f25977ac4c77d5a1a4a609b5394cebb4a2aa601f840160051c810191602085106107a9575b90601f859493920160051c01905b81811061079b5750610571565b8a815584935060010161078e565b9091508190610780565b634e487b7160e01b88526041600452602488fd5b015190505f8061051c565b5f80516020612abe8339815191528b52818b209250601f1984168b5b818110610836575090846001959493921061081e575b505050811b015f80516020612abe8339815191525561053d565b01515f1960f88460031b161c191690555f8080610804565b929360206001819287860151815501950193016107ee565b5f80516020612abe8339815191528b529091507f2ae08a8e29253f69ac5d979a101956ab8f8d9d7ded63fa7a83b16fc47648eab0601f840160051c810191602085106108be575b90601f859493920160051c01905b8181106108b05750610506565b8b81558493506001016108a3565b9091508190610895565b634e487b7160e01b89526041600452602489fd5b68ffffffffffffffffff191668010000000000000001175f80516020612b7e833981519152555f610474565b63f92ee8a960e01b8652600486fd5b9050155f61044b565b303b159150610443565b859150610439565b8380fd5b503461026c57602036600319011261026c5760043561010081101561033a5760209150600d0154604051908152f35b503461026c57602036600319011261026c57600435906040906109ae825161098d8482611e52565b600c81526b554e5354414b455f5a45524f60a01b6020820152841515611edc565b33815260056020528181209060028201906109f88254158551906109d28783611e52565b6014825273434f4f4c444f574e5f494e5f50524f475245535360601b6020830152611edc565b610a1585610a0533612480565b1015610a0f611f18565b90611edc565b610a1e3361255d565b3315610b5d57610b14578390335f525f80516020612ade833981519152602052835f2054828110610af9578290335f525f80516020612ade83398151915260205203845f2055815f80516020612b3e83398151915254035f80516020612b3e833981519152555f84518381527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60203392a3610abc60045442611f4a565b600184015555610acb33612611565b9055519081527fc606a9f55fc42cd3159fcfc8ddcd749dd21c4574cca0b68a5a65d5f984b6c42c60203392a2005b905063391434e360e21b5f523360045260245260445260645ffd5b610b5983805190610b258183611e52565b60118252704e4f545f5452414e534645525241424c4560781b60208301525162461bcd60e51b815291829160048301611dc4565b0390fd5b634b637e8f60e11b81526004819052602490fd5b503461026c57604036600319011261026c57610299610b8e611dee565b6024359061236c565b503461026c578060031936011261026c57600c546040516001600160a01b039091168152602090f35b503461026c578060031936011261026c5750610c01604051610be3604082611e52565b60058152640352e302e360dc1b602082015260405191829182611dc4565b0390f35b503461026c57602036600319011261026c577f3fa751adc7d77b89491ef674a701215e6998cd5d3d73b083cc69e15c85f0790d6020600435610c4561252a565b610c4d6126e4565b610c69610c58612331565b670de0b6b3a7640000831115611edc565b80600955604051908152a180f35b503461026c57604036600319011261026c57610c91611dee565b602435903361266b565b503461026c578060031936011261026c576020600354604051908152f35b503461026c57602036600319011261026c577fffcc630bf88a67ba7c8b27440787c31777ae923aee1e9bbd0127feea56da2cd06020600435610cf961252a565b610d016126e4565b80600355604051908152a180f35b503461026c57602036600319011261026c577f38a604e8a36592c14768cd04d016e8f0be9e11c140f1643cd8d4266f9e28e9e46020600435610d4f61252a565b610d576126e4565b610d62610c58612331565b80600a55604051908152a180f35b503461026c57602036600319011261026c577f3b919acbae27b7c60197957a5423655702d842fcc85c19c7631dc1c777f478f56020600435610db061252a565b80600455604051908152a180f35b503461026c578060031936011261026c5760405190805f80516020612afe8339815191525490610ded82611ea4565b8085529160018116908115610e8a5750600114610e21575b610c0184610e1581860382611e52565b60405191829182611dc4565b5f80516020612afe83398151915281527f46a2803e59a4de4e7a4c574b1243f25977ac4c77d5a1a4a609b5394cebb4a2aa939250905b808210610e7057509091508101602001610e1582610e05565b919260018160209254838588010152019101909291610e57565b60ff191660208087019190915292151560051b85019092019250610e159150839050610e05565b503461026c578060031936011261026c576020600654604051908152f35b503461026c57602036600319011261026c5760409081906001600160a01b03610ef6611dee565b16815261020d602052206001815491015482519182526020820152f35b503461026c578060031936011261026c57546040516001600160a01b039091168152602090f35b503461026c578060031936011261026c575f80516020612b1e833981519152546040516001600160a01b039091168152602090f35b503461026c57602036600319011261026c5760206103aa6004356121a1565b503461026c578060031936011261026c576001546040516001600160a01b039091168152602090f35b503461026c578060031936011261026c57610fd061252a565b5f80516020612b1e83398151915280546001600160a01b0319811690915581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b503461026c57602036600319011261026c576020906040906001600160a01b03611048611dee565b1681525f80516020612ade83398151915283522054604051908152f35b503461026c578060031936011261026c576002546040516001600160a01b039091168152602090f35b503461026c578060031936011261026c576020600954604051908152f35b503461026c578060031936011261026c577f000000000000000000000000e37a7920dbc11253ac6d031c29f592f71b348dca6001600160a01b031630036111045760206040515f80516020612b5e8339815191528152f35b63703e46dd60e11b8152600490fd5b50604036600319011261026c57611128611dee565b6024359067ffffffffffffffff82116113615736602383011215611361578160040135908361115683611e88565b936111646040519586611e52565b8385526020850193366024828401011161136157806024602093018637850101526001600160a01b037f000000000000000000000000e37a7920dbc11253ac6d031c29f592f71b348dca1630811490811561133f575b50611330576111c761252a565b6040516352d1902d60e01b81526001600160a01b0382169390602081600481885afa8691816112f8575b5061120a57634c9c8ce360e01b86526004859052602486fd5b93845f80516020612b5e8339815191528796036112e65750823b156112d4575f80516020612b5e83398151915280546001600160a01b031916821790558491907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b8380a28051156112b9576112ad9382915190845af43d156112b1573d9161129183611e88565b9261129f6040519485611e52565b83523d85602085013e612a5f565b5080f35b606091612a5f565b50505050346112c55780f35b63b398979f60e01b8152600490fd5b634c9c8ce360e01b8552600452602484fd5b632a87526960e21b8652600452602485fd5b9091506020813d602011611328575b8161131460209383611e52565b810103126113245751905f6111f1565b8680fd5b3d9150611307565b63703e46dd60e11b8452600484fd5b5f80516020612b5e833981519152546001600160a01b0316141590505f6111ba565b8280fd5b503461026c578060031936011261026c5761137f3361255d565b61138833612611565b3382526005602052604082205580f35b503461026c57602036600319011261026c576004356040906113dd82516113bf8482611e52565b60098152684255524e5f5a45524f60b81b6020820152821515611edc565b600c5482516370a0823160e01b815233600482015290602090829060249082906001600160a01b03165afa80156115e85784906115b0575b61142b915082611423611f18565b911015611edc565b33835261020d602052611448600183852001541515610a0f612166565b6114513361255d565b33835261020d602052818320908154916114e28261146f8582611f78565b60018401936114cc61148386548094611f8b565b80986114c78b516114948d82611e52565b601b81527f494e53554646494349454e545f4c4f434b45445f42414c414e43450000000000602082015283831015611edc565b611f6b565b90556114c76114d9612166565b83831015611edc565b90556114f082600b54611f6b565b600b55600c546001600160a01b031691823b156115ac578351632770a7eb60e21b81523360048201526024810183905292849290869081908690604490829084905af180156115a057611585575b507f77e8c1608e07b1a4395fc907407d6244a50b86eead919f3ee61d8ce99e204bd6935082519182526020820152a161157633612611565b90338352600560205282205580f35b611593919350809294611e52565b610932578183918561153e565b508351903d90823e3d90fd5b8480fd5b506020813d6020116115e0575b816115ca60209383611e52565b810103126115dc5761142b9051611415565b5f80fd5b3d91506115bd565b50505051903d90823e3d90fd5b503461026c578060031936011261026c576020600a54604051908152f35b503461026c57602036600319011261026c5761162d611dee565b61163561252a565b600c549061167a60405161164a604082611e52565b60138152721053149150511657d253925512505312569151606a1b60208201526001600160a01b03841615611edc565b6702c68af0bb140000600a556001600160a01b03166001600160a01b03199190911617600c5580f35b503461026c578060031936011261026c576020600454604051908152f35b503461026c57602036600319011261026c5760206103aa6116e0611dee565b611fa9565b503461026c578060031936011261026c57602060405160128152f35b503461026c578060031936011261026c5760206040516a0c097ce7bc90715b34b9f160241b8152f35b503461026c578060031936011261026c576020600b54604051908152f35b503461026c57606036600319011261026c57611762611dee565b61176a611e04565b906044359261177882611e1a565b335f9081526020919091526040902054905f198210611799575b505061266b565b848210611805576001600160a01b038316156117f15733156117dd57506117bf82611e1a565b60018060a01b0333165f526020528360405f20910390555f80611792565b634a1406b160e11b81526004819052602490fd5b63e602df0560e01b81526004819052602490fd5b84606492637dc7a0d960e11b835233600452602452604452fd5b50346115dc5760403660031901126115dc5760043560409061186482516118468482611e52565b60098152684c4f434b5f5a45524f60b81b6020820152821515611edc565b61186d3361255d565b61187a81610a0533612480565b335f5261020d602052815f2061188f826121a1565b906118d4845161189f8682611e52565b601981527f42454c4f575f4d494e5f4449454d5f414d4f554e545f4f5554000000000000006020820152602435841015611edc565b600181016118e3838254611f4a565b90556118f0838254611f4a565b90556118fe82600b54611f4a565b600b55600c546001600160a01b0316803b156115dc5783516340c10f1960e01b815233600482015260248101839052905f908290604490829084905af180156119b95761197f575b507fd081a649ef2f9530490e16b4ff4d6e1f46460e01107d1ecf7c576cca3cf9d35791839182519182526020820152a161157633612611565b83919450916119af5f7fd081a649ef2f9530490e16b4ff4d6e1f46460e01107d1ecf7c576cca3cf9d35794611e52565b5f94915091611946565b84513d5f823e3d90fd5b346115dc575f3660031901126115dc5760205f80516020612b3e83398151915254604051908152f35b346115dc5760203660031901126115dc576001600160a01b03611a0d611dee565b165f526005602052606060405f20805490600260018201549101549060405192835260208301526040820152f35b346115dc575f3660031901126115dc57335f52600560205260405f2060028101905f825492816001604094611a958651611a758882611e52565b600b81526a2727afa1a7a7a62227aba760a91b6020820152881515611edc565b01611ace8154421015865190611aab8883611e52565b601182527021a7a7a62227aba72fa727aa2fa7ab22a960791b6020830152611edc565b55555f8054825163a9059cbb60e01b8152336004820152602481018590529160209183916044918391906001600160a01b03165af18015611b6857611b3b575b50519081527fc819022d26707b1e41f61d9adc9481024e27272d949e34a1dfec4d7abf168a3360203392a2005b611b5c9060203d602011611b61575b611b548183611e52565b810190611f00565b611b0e565b503d611b4a565b82513d5f823e3d90fd5b346115dc576140003660031901126115dc5736612004116115dc5736614004116115dc57611b9e61252a565b5f5b6101008110908115611be8578060051b91826004013582600d015515611bd45760019161200401358161010d015501611ba0565b634e487b7160e01b5f52603260045260245ffd5b7fa17dd66150b8ad4ee99c4d23c5cdbb44eaa4076e6e1d854c3005aa021511da5a6140006040516120006004823761200061200481830137a1005b346115dc5760403660031901126115dc57611c3c611dee565b602435903315611cb5576001600160a01b0316908115611ca257611c5f33611e1a565b825f526020528060405f20556040519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560203392a3602060405160018152f35b634a1406b160e11b5f525f60045260245ffd5b63e602df0560e01b5f525f60045260245ffd5b346115dc575f3660031901126115dc576040515f5f80516020612abe83398151915254611cf481611ea4565b8084529060018116908115611d865750600114611d1c575b610c0183610e1581850382611e52565b5f80516020612abe8339815191525f9081527f2ae08a8e29253f69ac5d979a101956ab8f8d9d7ded63fa7a83b16fc47648eab0939250905b808210611d6c57509091508101602001610e15611d0c565b919260018160209254838588010152019101909291611d54565b60ff191660208086019190915291151560051b84019091019150610e159050611d0c565b346115dc575f3660031901126115dc576020906008548152f35b602060409281835280519182918282860152018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b03821682036115dc57565b602435906001600160a01b03821682036115dc57565b6001600160a01b03165f9081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace016020526040902090565b90601f8019910116810190811067ffffffffffffffff821117611e7457604052565b634e487b7160e01b5f52604160045260245ffd5b67ffffffffffffffff8111611e7457601f01601f191660200190565b90600182811c92168015611ed2575b6020831014611ebe57565b634e487b7160e01b5f52602260045260245ffd5b91607f1691611eb3565b15611ee45750565b60405162461bcd60e51b8152908190610b599060048301611dc4565b908160209103126115dc575180151581036115dc5790565b60405190611f27604083611e52565b6014825273494e53554646494349454e545f42414c414e434560601b6020830152565b91908201809211611f5757565b634e487b7160e01b5f52601160045260245ffd5b91908203918211611f5757565b81810292918115918404141715611f5757565b8115611f95570490565b634e487b7160e01b5f52601260045260245ffd5b6006549060085490600754804211612024575b50806a0c097ce7bc90715b34b9f160241b61200781611fe961202197611fe461200e97612480565b611f78565b049260018060a01b031694855f5261020d60205260405f2054611f78565b0490611f4a565b905f52600560205260405f205490611f6b565b90565b61203d6120346120599242611f6b565b60035490611f78565b670de0b6b3a764000061205260095483611f78565b0490611f6b565b600b54906120678282611f78565b946120a461208e6120875f80516020612b3e833981519152548099611f8b565b8094611f6b565b92670de0b6b3a7640000612052600a5483611f78565b956a0c097ce7bc90715b34b9f160241b8302928084046a0c097ce7bc90715b34b9f160241b1490151715611f57576120ef926120e3856120e993611f6b565b90611f8b565b90611f4a565b93816120fc575b50611fbc565b6a0c097ce7bc90715b34b9f160241b81959493929502908082046a0c097ce7bc90715b34b9f160241b1490151715611f57576120076a0c097ce7bc90715b34b9f160241b611fe961215861200e966120e96120219a8597611f8b565b9697505050508192506120f6565b60405190612175604083611e52565b601e82527f494e53554646494349454e545f4f55545354414e44494e475f4449454d5300006020830152565b600c546040516318160ddd60e01b815290602090829060049082906001600160a01b03165afa908115612326575f916122f4575b50905f905f5b6101008110156122eb5780600d015493848110156122e157612203818361010d015496611f6b565b61220d8187611f78565b670de0b6b3a763ffff8101809111611f5757670de0b6b3a764000090048481106122b55750505050670de0b6b3a7640000810290808204670de0b6b3a76400001490151715611f5757612263926120e991611f8b565b5f5b61226c5790565b610b5960405161227d604082611e52565b6013815272494e53554646494349454e545f535550504c5960681b602082015260405162461bcd60e51b815291829160048301611dc4565b60019396506122d3906122cd836122d9959798611f4a565b96611f6b565b93611f4a565b935b016121db565b93506001906122db565b50909150612265565b90506020813d60201161231e575b8161230f60209383611e52565b810103126115dc57515f6121d5565b3d9150612302565b6040513d5f823e3d90fd5b60405190612340604083611e52565b601c82527f494e56414c49445f454d495353494f4e535f50455243454e54414745000000006020830152565b90604061239d815161237e8382611e52565b600a8152695354414b455f5a45524f60b01b6020820152831515611edc565b6123a68361255d565b6001600160a01b03831692831561246d576123c1838261298a565b5f805483516323b872dd60e01b8152336004820152306024820152604481018690529160209183916064918391906001600160a01b03165af18015612463577f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d94926020949261243692612448575b50612611565b855f5260058452815f205551908152a2565b61245e90863d8811611b6157611b548183611e52565b612430565b83513d5f823e3d90fd5b63ec442f0560e01b5f525f60045260245ffd5b6001600160a01b03165f9081525f80516020612ade833981519152602090815260408083205461020d9092529091205461202191611f6b565b6001600160a01b03168015612517575f80516020612b1e83398151915280546001600160a01b0319811683179091556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3565b631e4fbdf760e01b5f525f60045260245ffd5b5f80516020612b1e833981519152546001600160a01b0316330361254a57565b63118cdaa760e01b5f523360045260245ffd5b6125656126e4565b61256e81611fa9565b9081612578575050565b5f805460405163a9059cbb60e01b81526001600160a01b03848116600483015260248201869052909392602092859260449284929091165af1908115612326577fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a926020926125f6575b506040519384526001600160a01b031692a2565b61260c90833d8511611b6157611b548183611e52565b6125e2565b612021906a0c097ce7bc90715b34b9f160241b61263961263083612480565b60065490611f78565b049060018060a01b03165f5261020d6020526a0c097ce7bc90715b34b9f160241b61200760405f205460085490611f78565b9091506001600160a01b0316156126d1576001600160a01b03161561246d57610b5960405161269b604082611e52565b60118152704e4f545f5452414e534645525241424c4560781b602082015260405162461bcd60e51b815291829160048301611dc4565b634b637e8f60e11b5f525f60045260245ffd5b6007545f9080421115612790576126fe61270b9142611f6b565b4260075560035490611f78565b801561279057612731670de0b6b3a764000061272960095484611f78565b048092611f6b565b5f80516020612b3e8339815191525490600b5461276b6127646127548386611f6b565b9461275f8486611f78565b611f8b565b8093611f6b565b925f9380158015612916575b50505081612867575b505090806127fb575b5080612794575b5050565b81546001600160a01b031690813b15611361576040516340c10f1960e01b815230600482015260248101919091529082908290604490829084905af180156127f0576127de575050565b6127e9828092611e52565b61026c5750565b6040513d84823e3d90fd5b5f546002546001600160a01b0391821692911690823b156115dc576040516340c10f1960e01b81526001600160a01b039290921660048301526024820152905f908290604490829084905af1801561232657156127895761285f9192505f90611e52565b5f905f612789565b612887670de0b6b3a764000061287f600a5485611f78565b048093611f6b565b6a0c097ce7bc90715b34b9f160241b8102908082046a0c097ce7bc90715b34b9f160241b1490151715611f5757816128be91611f8b565b90816128d9575b50506128d19192611f4a565b905f80612780565b906128d1936129076a0c097ce7bc90715b34b9f160241b6128fd61290f9585611f78565b0492600854611f4a565b600855611f4a565b915f6128c5565b6a0c097ce7bc90715b34b9f160241b82029182046a0c097ce7bc90715b34b9f160241b141715611f57578161294a91611f8b565b9081612957575b80612777565b8194506129766a0c097ce7bc90715b34b9f160241b9161298093611f78565b0493600654611f4a565b6006555f80612951565b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60205f926129c7855f80516020612b3e83398151915254611f4a565b5f80516020612b3e833981519152556001600160a01b03169384158414612a1257805f80516020612b3e83398151915254035f80516020612b3e833981519152555b604051908152a3565b8484525f80516020612ade833981519152825260408420818154019055612a09565b60ff5f80516020612b7e8339815191525460401c1615612a5057565b631afcd79f60e31b5f5260045ffd5b90612a835750805115612a7457805190602001fd5b63d6bda27560e01b5f5260045ffd5b81511580612ab4575b612a94575090565b639996b31560e01b5f9081526001600160a01b0391909116600452602490fd5b50803b15612a8c56fe52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0352c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0052c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace049016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930052c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace02360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbcf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220695704119e311195d295c1502f2660e9bf456cb38a18c51c189ff67e3033794264736f6c634300081a0033","recompiledBytecode":"0x6080806040526004361015610012575f80fd5b5f905f3560e01c9081630342063b14611daa5750806306fdde0314611cc8578063095ea7b314611c235780630caf48d314611b725780630ea9434114611a3b57806316934fc4146119ec57806318160ddd146119c35780632006efcb1461181f57806323b872dd1461174857806325bef7461461172a57806325fae12b146117015780632c74d1df1461108e578063313ce567146116e557806331d7a262146116c157806335269315146116a357806340370f1f1461161357806345af37b2146115f55780634d44f110146113985780634e71d92d146113655780634f1ef2861461111357806352d1902d146110ac5780635dea41bb1461108e57806361d027b31461106557806370a0823114611020578063715018a614610fb75780637dc0d1d014610f8e57806387716cbf14610f6f5780638da5cb5b14610f3a5780638f1f8d0c14610f1357806392417dc714610ecf578063939d623714610eb157806395d89b4114610dbe578063966be07514610d705780639b1650ed14610d0f578063a1bdb15e14610cb9578063a80152d614610c9b578063a9059cbb14610c77578063aaaff76714610c05578063ad3cb1cc14610bc0578063ad66f18214610b97578063adc9772e14610b71578063ae5ac92114610965578063b4f70f7214610936578063c0c53b8b146103d5578063cb1a4fc0146103b2578063ceddd07d14610386578063dd62ed3e1461033e578063e3a684021461030a578063f0f442601461029c578063f2fde38b1461026f5763f8077fae1461024f575f80fd5b3461026c578060031936011261026c576020600754604051908152f35b80fd5b503461026c57602036600319011261026c5761029961028c611dee565b61029461252a565b6124b9565b80f35b503461026c57602036600319011261026c577f7dae230f18360d76a040c81f050aa14eb9d6dc7901b20fc5d855e2a20fe814d160206102d9611dee565b6102e161252a565b600280546001600160a01b0319166001600160a01b03929092169182179055604051908152a180f35b503461026c57602036600319011261026c5760043561010081101561033a576020915061010d0154604051908152f35b5080fd5b503461026c57604036600319011261026c57610358611dee565b610369610363611e04565b91611e1a565b9060018060a01b03165f52602052602060405f2054604051908152f35b503461026c57602036600319011261026c5760206103aa6103a5611dee565b612480565b604051908152f35b503461026c578060031936011261026c576102996103cf33611fa9565b3361236c565b503461026c57606036600319011261026c576103ef611dee565b6103f7611e04565b6044356001600160a01b03811690819003610932575f80516020612b7e833981519152549160ff8360401c16159267ffffffffffffffff81168015908161092a575b6001149081610920575b159081610917575b506109085767ffffffffffffffff1981166001175f80516020612b7e83398151915255836108dc575b5060409384516104848682611e52565b601381527229ba30b5b2b2102b32b734b1b2902a37b5b2b760691b60208201528551906104b18783611e52565b600482526339ab2b2b60e11b60208301526104ca612a34565b6104d2612a34565b80519067ffffffffffffffff82116108c85781906104fd5f80516020612abe83398151915254611ea4565b601f811161084e575b50602090601f83116001146107d2578a926107c7575b50508160011b915f199060031b1c1916175f80516020612abe833981519152555b80519067ffffffffffffffff82116107b35781906105685f80516020612afe83398151915254611ea4565b601f8111610739575b50602090601f83116001146106bd5789926106b2575b50508160011b915f199060031b1c1916175f80516020612afe833981519152555b6105b0612a34565b6105b8612a34565b6105c1336124b9565b6105c9612a34565b60018060a01b03166001600160601b0360a01b86541617855560018060a01b03166001600160601b0360a01b60015416176001556001600160601b0360a01b60025416176002556706292e6de3503dd360035562093a8060045542600755301561069e5761063f670de0b6b3a76400003061298a565b610647575080f35b60207fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29168ff0000000000000000195f80516020612b7e83398151915254165f80516020612b7e833981519152555160018152a180f35b63ec442f0560e01b83526004839052602483fd5b015190505f80610587565b5f80516020612afe8339815191528a52818a209250601f1984168a5b8181106107215750908460019594939210610709575b505050811b015f80516020612afe833981519152556105a8565b01515f1960f88460031b161c191690555f80806106ef565b929360206001819287860151815501950193016106d9565b5f80516020612afe8339815191528a529091507f46a2803e59a4de4e7a4c574b1243f25977ac4c77d5a1a4a609b5394cebb4a2aa601f840160051c810191602085106107a9575b90601f859493920160051c01905b81811061079b5750610571565b8a815584935060010161078e565b9091508190610780565b634e487b7160e01b88526041600452602488fd5b015190505f8061051c565b5f80516020612abe8339815191528b52818b209250601f1984168b5b818110610836575090846001959493921061081e575b505050811b015f80516020612abe8339815191525561053d565b01515f1960f88460031b161c191690555f8080610804565b929360206001819287860151815501950193016107ee565b5f80516020612abe8339815191528b529091507f2ae08a8e29253f69ac5d979a101956ab8f8d9d7ded63fa7a83b16fc47648eab0601f840160051c810191602085106108be575b90601f859493920160051c01905b8181106108b05750610506565b8b81558493506001016108a3565b9091508190610895565b634e487b7160e01b89526041600452602489fd5b68ffffffffffffffffff191668010000000000000001175f80516020612b7e833981519152555f610474565b63f92ee8a960e01b8652600486fd5b9050155f61044b565b303b159150610443565b859150610439565b8380fd5b503461026c57602036600319011261026c5760043561010081101561033a5760209150600d0154604051908152f35b503461026c57602036600319011261026c57600435906040906109ae825161098d8482611e52565b600c81526b554e5354414b455f5a45524f60a01b6020820152841515611edc565b33815260056020528181209060028201906109f88254158551906109d28783611e52565b6014825273434f4f4c444f574e5f494e5f50524f475245535360601b6020830152611edc565b610a1585610a0533612480565b1015610a0f611f18565b90611edc565b610a1e3361255d565b3315610b5d57610b14578390335f525f80516020612ade833981519152602052835f2054828110610af9578290335f525f80516020612ade83398151915260205203845f2055815f80516020612b3e83398151915254035f80516020612b3e833981519152555f84518381527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60203392a3610abc60045442611f4a565b600184015555610acb33612611565b9055519081527fc606a9f55fc42cd3159fcfc8ddcd749dd21c4574cca0b68a5a65d5f984b6c42c60203392a2005b905063391434e360e21b5f523360045260245260445260645ffd5b610b5983805190610b258183611e52565b60118252704e4f545f5452414e534645525241424c4560781b60208301525162461bcd60e51b815291829160048301611dc4565b0390fd5b634b637e8f60e11b81526004819052602490fd5b503461026c57604036600319011261026c57610299610b8e611dee565b6024359061236c565b503461026c578060031936011261026c57600c546040516001600160a01b039091168152602090f35b503461026c578060031936011261026c5750610c01604051610be3604082611e52565b60058152640352e302e360dc1b602082015260405191829182611dc4565b0390f35b503461026c57602036600319011261026c577f3fa751adc7d77b89491ef674a701215e6998cd5d3d73b083cc69e15c85f0790d6020600435610c4561252a565b610c4d6126e4565b610c69610c58612331565b670de0b6b3a7640000831115611edc565b80600955604051908152a180f35b503461026c57604036600319011261026c57610c91611dee565b602435903361266b565b503461026c578060031936011261026c576020600354604051908152f35b503461026c57602036600319011261026c577fffcc630bf88a67ba7c8b27440787c31777ae923aee1e9bbd0127feea56da2cd06020600435610cf961252a565b610d016126e4565b80600355604051908152a180f35b503461026c57602036600319011261026c577f38a604e8a36592c14768cd04d016e8f0be9e11c140f1643cd8d4266f9e28e9e46020600435610d4f61252a565b610d576126e4565b610d62610c58612331565b80600a55604051908152a180f35b503461026c57602036600319011261026c577f3b919acbae27b7c60197957a5423655702d842fcc85c19c7631dc1c777f478f56020600435610db061252a565b80600455604051908152a180f35b503461026c578060031936011261026c5760405190805f80516020612afe8339815191525490610ded82611ea4565b8085529160018116908115610e8a5750600114610e21575b610c0184610e1581860382611e52565b60405191829182611dc4565b5f80516020612afe83398151915281527f46a2803e59a4de4e7a4c574b1243f25977ac4c77d5a1a4a609b5394cebb4a2aa939250905b808210610e7057509091508101602001610e1582610e05565b919260018160209254838588010152019101909291610e57565b60ff191660208087019190915292151560051b85019092019250610e159150839050610e05565b503461026c578060031936011261026c576020600654604051908152f35b503461026c57602036600319011261026c5760409081906001600160a01b03610ef6611dee565b16815261020d602052206001815491015482519182526020820152f35b503461026c578060031936011261026c57546040516001600160a01b039091168152602090f35b503461026c578060031936011261026c575f80516020612b1e833981519152546040516001600160a01b039091168152602090f35b503461026c57602036600319011261026c5760206103aa6004356121a1565b503461026c578060031936011261026c576001546040516001600160a01b039091168152602090f35b503461026c578060031936011261026c57610fd061252a565b5f80516020612b1e83398151915280546001600160a01b0319811690915581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b503461026c57602036600319011261026c576020906040906001600160a01b03611048611dee565b1681525f80516020612ade83398151915283522054604051908152f35b503461026c578060031936011261026c576002546040516001600160a01b039091168152602090f35b503461026c578060031936011261026c576020600954604051908152f35b503461026c578060031936011261026c577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031630036111045760206040515f80516020612b5e8339815191528152f35b63703e46dd60e11b8152600490fd5b50604036600319011261026c57611128611dee565b6024359067ffffffffffffffff82116113615736602383011215611361578160040135908361115683611e88565b936111646040519586611e52565b8385526020850193366024828401011161136157806024602093018637850101526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630811490811561133f575b50611330576111c761252a565b6040516352d1902d60e01b81526001600160a01b0382169390602081600481885afa8691816112f8575b5061120a57634c9c8ce360e01b86526004859052602486fd5b93845f80516020612b5e8339815191528796036112e65750823b156112d4575f80516020612b5e83398151915280546001600160a01b031916821790558491907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b8380a28051156112b9576112ad9382915190845af43d156112b1573d9161129183611e88565b9261129f6040519485611e52565b83523d85602085013e612a5f565b5080f35b606091612a5f565b50505050346112c55780f35b63b398979f60e01b8152600490fd5b634c9c8ce360e01b8552600452602484fd5b632a87526960e21b8652600452602485fd5b9091506020813d602011611328575b8161131460209383611e52565b810103126113245751905f6111f1565b8680fd5b3d9150611307565b63703e46dd60e11b8452600484fd5b5f80516020612b5e833981519152546001600160a01b0316141590505f6111ba565b8280fd5b503461026c578060031936011261026c5761137f3361255d565b61138833612611565b3382526005602052604082205580f35b503461026c57602036600319011261026c576004356040906113dd82516113bf8482611e52565b60098152684255524e5f5a45524f60b81b6020820152821515611edc565b600c5482516370a0823160e01b815233600482015290602090829060249082906001600160a01b03165afa80156115e85784906115b0575b61142b915082611423611f18565b911015611edc565b33835261020d602052611448600183852001541515610a0f612166565b6114513361255d565b33835261020d602052818320908154916114e28261146f8582611f78565b60018401936114cc61148386548094611f8b565b80986114c78b516114948d82611e52565b601b81527f494e53554646494349454e545f4c4f434b45445f42414c414e43450000000000602082015283831015611edc565b611f6b565b90556114c76114d9612166565b83831015611edc565b90556114f082600b54611f6b565b600b55600c546001600160a01b031691823b156115ac578351632770a7eb60e21b81523360048201526024810183905292849290869081908690604490829084905af180156115a057611585575b507f77e8c1608e07b1a4395fc907407d6244a50b86eead919f3ee61d8ce99e204bd6935082519182526020820152a161157633612611565b90338352600560205282205580f35b611593919350809294611e52565b610932578183918561153e565b508351903d90823e3d90fd5b8480fd5b506020813d6020116115e0575b816115ca60209383611e52565b810103126115dc5761142b9051611415565b5f80fd5b3d91506115bd565b50505051903d90823e3d90fd5b503461026c578060031936011261026c576020600a54604051908152f35b503461026c57602036600319011261026c5761162d611dee565b61163561252a565b600c549061167a60405161164a604082611e52565b60138152721053149150511657d253925512505312569151606a1b60208201526001600160a01b03841615611edc565b6702c68af0bb140000600a556001600160a01b03166001600160a01b03199190911617600c5580f35b503461026c578060031936011261026c576020600454604051908152f35b503461026c57602036600319011261026c5760206103aa6116e0611dee565b611fa9565b503461026c578060031936011261026c57602060405160128152f35b503461026c578060031936011261026c5760206040516a0c097ce7bc90715b34b9f160241b8152f35b503461026c578060031936011261026c576020600b54604051908152f35b503461026c57606036600319011261026c57611762611dee565b61176a611e04565b906044359261177882611e1a565b335f9081526020919091526040902054905f198210611799575b505061266b565b848210611805576001600160a01b038316156117f15733156117dd57506117bf82611e1a565b60018060a01b0333165f526020528360405f20910390555f80611792565b634a1406b160e11b81526004819052602490fd5b63e602df0560e01b81526004819052602490fd5b84606492637dc7a0d960e11b835233600452602452604452fd5b50346115dc5760403660031901126115dc5760043560409061186482516118468482611e52565b60098152684c4f434b5f5a45524f60b81b6020820152821515611edc565b61186d3361255d565b61187a81610a0533612480565b335f5261020d602052815f2061188f826121a1565b906118d4845161189f8682611e52565b601981527f42454c4f575f4d494e5f4449454d5f414d4f554e545f4f5554000000000000006020820152602435841015611edc565b600181016118e3838254611f4a565b90556118f0838254611f4a565b90556118fe82600b54611f4a565b600b55600c546001600160a01b0316803b156115dc5783516340c10f1960e01b815233600482015260248101839052905f908290604490829084905af180156119b95761197f575b507fd081a649ef2f9530490e16b4ff4d6e1f46460e01107d1ecf7c576cca3cf9d35791839182519182526020820152a161157633612611565b83919450916119af5f7fd081a649ef2f9530490e16b4ff4d6e1f46460e01107d1ecf7c576cca3cf9d35794611e52565b5f94915091611946565b84513d5f823e3d90fd5b346115dc575f3660031901126115dc5760205f80516020612b3e83398151915254604051908152f35b346115dc5760203660031901126115dc576001600160a01b03611a0d611dee565b165f526005602052606060405f20805490600260018201549101549060405192835260208301526040820152f35b346115dc575f3660031901126115dc57335f52600560205260405f2060028101905f825492816001604094611a958651611a758882611e52565b600b81526a2727afa1a7a7a62227aba760a91b6020820152881515611edc565b01611ace8154421015865190611aab8883611e52565b601182527021a7a7a62227aba72fa727aa2fa7ab22a960791b6020830152611edc565b55555f8054825163a9059cbb60e01b8152336004820152602481018590529160209183916044918391906001600160a01b03165af18015611b6857611b3b575b50519081527fc819022d26707b1e41f61d9adc9481024e27272d949e34a1dfec4d7abf168a3360203392a2005b611b5c9060203d602011611b61575b611b548183611e52565b810190611f00565b611b0e565b503d611b4a565b82513d5f823e3d90fd5b346115dc576140003660031901126115dc5736612004116115dc5736614004116115dc57611b9e61252a565b5f5b6101008110908115611be8578060051b91826004013582600d015515611bd45760019161200401358161010d015501611ba0565b634e487b7160e01b5f52603260045260245ffd5b7fa17dd66150b8ad4ee99c4d23c5cdbb44eaa4076e6e1d854c3005aa021511da5a6140006040516120006004823761200061200481830137a1005b346115dc5760403660031901126115dc57611c3c611dee565b602435903315611cb5576001600160a01b0316908115611ca257611c5f33611e1a565b825f526020528060405f20556040519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560203392a3602060405160018152f35b634a1406b160e11b5f525f60045260245ffd5b63e602df0560e01b5f525f60045260245ffd5b346115dc575f3660031901126115dc576040515f5f80516020612abe83398151915254611cf481611ea4565b8084529060018116908115611d865750600114611d1c575b610c0183610e1581850382611e52565b5f80516020612abe8339815191525f9081527f2ae08a8e29253f69ac5d979a101956ab8f8d9d7ded63fa7a83b16fc47648eab0939250905b808210611d6c57509091508101602001610e15611d0c565b919260018160209254838588010152019101909291611d54565b60ff191660208086019190915291151560051b84019091019150610e159050611d0c565b346115dc575f3660031901126115dc576020906008548152f35b602060409281835280519182918282860152018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b03821682036115dc57565b602435906001600160a01b03821682036115dc57565b6001600160a01b03165f9081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace016020526040902090565b90601f8019910116810190811067ffffffffffffffff821117611e7457604052565b634e487b7160e01b5f52604160045260245ffd5b67ffffffffffffffff8111611e7457601f01601f191660200190565b90600182811c92168015611ed2575b6020831014611ebe57565b634e487b7160e01b5f52602260045260245ffd5b91607f1691611eb3565b15611ee45750565b60405162461bcd60e51b8152908190610b599060048301611dc4565b908160209103126115dc575180151581036115dc5790565b60405190611f27604083611e52565b6014825273494e53554646494349454e545f42414c414e434560601b6020830152565b91908201809211611f5757565b634e487b7160e01b5f52601160045260245ffd5b91908203918211611f5757565b81810292918115918404141715611f5757565b8115611f95570490565b634e487b7160e01b5f52601260045260245ffd5b6006549060085490600754804211612024575b50806a0c097ce7bc90715b34b9f160241b61200781611fe961202197611fe461200e97612480565b611f78565b049260018060a01b031694855f5261020d60205260405f2054611f78565b0490611f4a565b905f52600560205260405f205490611f6b565b90565b61203d6120346120599242611f6b565b60035490611f78565b670de0b6b3a764000061205260095483611f78565b0490611f6b565b600b54906120678282611f78565b946120a461208e6120875f80516020612b3e833981519152548099611f8b565b8094611f6b565b92670de0b6b3a7640000612052600a5483611f78565b956a0c097ce7bc90715b34b9f160241b8302928084046a0c097ce7bc90715b34b9f160241b1490151715611f57576120ef926120e3856120e993611f6b565b90611f8b565b90611f4a565b93816120fc575b50611fbc565b6a0c097ce7bc90715b34b9f160241b81959493929502908082046a0c097ce7bc90715b34b9f160241b1490151715611f57576120076a0c097ce7bc90715b34b9f160241b611fe961215861200e966120e96120219a8597611f8b565b9697505050508192506120f6565b60405190612175604083611e52565b601e82527f494e53554646494349454e545f4f55545354414e44494e475f4449454d5300006020830152565b600c546040516318160ddd60e01b815290602090829060049082906001600160a01b03165afa908115612326575f916122f4575b50905f905f5b6101008110156122eb5780600d015493848110156122e157612203818361010d015496611f6b565b61220d8187611f78565b670de0b6b3a763ffff8101809111611f5757670de0b6b3a764000090048481106122b55750505050670de0b6b3a7640000810290808204670de0b6b3a76400001490151715611f5757612263926120e991611f8b565b5f5b61226c5790565b610b5960405161227d604082611e52565b6013815272494e53554646494349454e545f535550504c5960681b602082015260405162461bcd60e51b815291829160048301611dc4565b60019396506122d3906122cd836122d9959798611f4a565b96611f6b565b93611f4a565b935b016121db565b93506001906122db565b50909150612265565b90506020813d60201161231e575b8161230f60209383611e52565b810103126115dc57515f6121d5565b3d9150612302565b6040513d5f823e3d90fd5b60405190612340604083611e52565b601c82527f494e56414c49445f454d495353494f4e535f50455243454e54414745000000006020830152565b90604061239d815161237e8382611e52565b600a8152695354414b455f5a45524f60b01b6020820152831515611edc565b6123a68361255d565b6001600160a01b03831692831561246d576123c1838261298a565b5f805483516323b872dd60e01b8152336004820152306024820152604481018690529160209183916064918391906001600160a01b03165af18015612463577f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d94926020949261243692612448575b50612611565b855f5260058452815f205551908152a2565b61245e90863d8811611b6157611b548183611e52565b612430565b83513d5f823e3d90fd5b63ec442f0560e01b5f525f60045260245ffd5b6001600160a01b03165f9081525f80516020612ade833981519152602090815260408083205461020d9092529091205461202191611f6b565b6001600160a01b03168015612517575f80516020612b1e83398151915280546001600160a01b0319811683179091556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3565b631e4fbdf760e01b5f525f60045260245ffd5b5f80516020612b1e833981519152546001600160a01b0316330361254a57565b63118cdaa760e01b5f523360045260245ffd5b6125656126e4565b61256e81611fa9565b9081612578575050565b5f805460405163a9059cbb60e01b81526001600160a01b03848116600483015260248201869052909392602092859260449284929091165af1908115612326577fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a926020926125f6575b506040519384526001600160a01b031692a2565b61260c90833d8511611b6157611b548183611e52565b6125e2565b612021906a0c097ce7bc90715b34b9f160241b61263961263083612480565b60065490611f78565b049060018060a01b03165f5261020d6020526a0c097ce7bc90715b34b9f160241b61200760405f205460085490611f78565b9091506001600160a01b0316156126d1576001600160a01b03161561246d57610b5960405161269b604082611e52565b60118152704e4f545f5452414e534645525241424c4560781b602082015260405162461bcd60e51b815291829160048301611dc4565b634b637e8f60e11b5f525f60045260245ffd5b6007545f9080421115612790576126fe61270b9142611f6b565b4260075560035490611f78565b801561279057612731670de0b6b3a764000061272960095484611f78565b048092611f6b565b5f80516020612b3e8339815191525490600b5461276b6127646127548386611f6b565b9461275f8486611f78565b611f8b565b8093611f6b565b925f9380158015612916575b50505081612867575b505090806127fb575b5080612794575b5050565b81546001600160a01b031690813b15611361576040516340c10f1960e01b815230600482015260248101919091529082908290604490829084905af180156127f0576127de575050565b6127e9828092611e52565b61026c5750565b6040513d84823e3d90fd5b5f546002546001600160a01b0391821692911690823b156115dc576040516340c10f1960e01b81526001600160a01b039290921660048301526024820152905f908290604490829084905af1801561232657156127895761285f9192505f90611e52565b5f905f612789565b612887670de0b6b3a764000061287f600a5485611f78565b048093611f6b565b6a0c097ce7bc90715b34b9f160241b8102908082046a0c097ce7bc90715b34b9f160241b1490151715611f5757816128be91611f8b565b90816128d9575b50506128d19192611f4a565b905f80612780565b906128d1936129076a0c097ce7bc90715b34b9f160241b6128fd61290f9585611f78565b0492600854611f4a565b600855611f4a565b915f6128c5565b6a0c097ce7bc90715b34b9f160241b82029182046a0c097ce7bc90715b34b9f160241b141715611f57578161294a91611f8b565b9081612957575b80612777565b8194506129766a0c097ce7bc90715b34b9f160241b9161298093611f78565b0493600654611f4a565b6006555f80612951565b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60205f926129c7855f80516020612b3e83398151915254611f4a565b5f80516020612b3e833981519152556001600160a01b03169384158414612a1257805f80516020612b3e83398151915254035f80516020612b3e833981519152555b604051908152a3565b8484525f80516020612ade833981519152825260408420818154019055612a09565b60ff5f80516020612b7e8339815191525460401c1615612a5057565b631afcd79f60e31b5f5260045ffd5b90612a835750805115612a7457805190602001fd5b63d6bda27560e01b5f5260045ffd5b81511580612ab4575b612a94575090565b639996b31560e01b5f9081526001600160a01b0391909116600452602490fd5b50803b15612a8c56fe52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0352c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0052c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace049016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930052c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace02360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbcf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220695704119e311195d295c1502f2660e9bf456cb38a18c51c189ff67e3033794264736f6c634300081a0033","sourceMap":"266:17029:29:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6203:5:19;266:17029:29;6203:5:19;;;266:17029:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;266:17029:29;-1:-1:-1;;;266:17029:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1047:34:28;266:17029:29;;;;;;;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;2357:1:16;266:17029:29;;:::i;:::-;2303:62:16;;:::i;:::-;2357:1;:::i;:::-;266:17029:29;;;;;;;;;-1:-1:-1;;266:17029:29;;;;1921:26:28;266:17029:29;;;:::i;:::-;2303:62:16;;:::i;:::-;1886:20:28;717:21:25;;-1:-1:-1;;;;;;717:21:25;-1:-1:-1;;;;;266:17029:29;;;;717:21:25;;;;;266:17029:29;;;;;1921:26:28;266:17029:29;;;;;;;;;-1:-1:-1;;266:17029:29;;;;;;;1253:33;;;;;266:17029;;;1253:33;266:17029;;;;;;;;1253:33;;;;266:17029;;;;;;;-1:-1:-1;;266:17029:29;;;;;;:::i;:::-;4872:20:19;266:17029:29;;:::i;:::-;4872:20:19;;:::i;:::-;:29;266:17029:29;;;;;;-1:-1:-1;266:17029:29;;;;;-1:-1:-1;266:17029:29;;;;;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;;;;;;5762:21;5708:26;5723:10;5708:26;:::i;:::-;5723:10;5762:21;:::i;266:17029::-;;;;;;;-1:-1:-1;;266:17029:29;;;;;;:::i;:::-;;;:::i;:::-;;;-1:-1:-1;;;;;266:17029:29;;;;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;;;;4301:16:17;266:17029:29;;;;4726:16:17;;:34;;;;266:17029:29;4805:1:17;4790:16;:50;;;;266:17029:29;4855:13:17;:30;;;;266:17029:29;4851:91:17;;;-1:-1:-1;;266:17029:29;;4805:1:17;266:17029:29;-1:-1:-1;;;;;;;;;;;266:17029:29;;4979:67:17;;266:17029:29;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;266:17029:29;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;266:17029:29;;;;6893:76:17;;:::i;:::-;;;:::i;:::-;266:17029:29;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;4805:1:17;266:17029:29;11934:17:19;;;266:17029:29;2605:7:19;266:17029:29;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;4805:1:17;266:17029:29;11934:17:19;;;266:17029:29;2605:7:19;266:17029:29;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;6893:76:17;;:::i;:::-;;;:::i;:::-;6961:1;1370:10:28;6961:1:17;:::i;:::-;6893:76;;:::i;:::-;266:17029:29;;;;;;-1:-1:-1;;;;;717:21:25;;;;;;;;266:17029:29;;;;;;-1:-1:-1;;;;;717:21:25;;4805:1:17;717:21:25;;;4805:1:17;717:21:25;-1:-1:-1;;;;;717:21:25;;1494:20:28;717:21:25;;;1494:20:28;717:21:25;266:17029:29;2605:7:19;368:19:25;1638:6:28;266:17029:29;368:19:25;1676:15:28;1654:37;368:19:25;1716:4:28;8808:21:19;8804:91;;8933:5;1723:4:28;1716;8933:5:19;:::i;:::-;5066:101:17;;266:17029:29;;;5066:101:17;266:17029:29;5142:14:17;266:17029:29;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;-1:-1:-1;;;;;;;;;;;266:17029:29;;4805:1:17;266:17029:29;;5142:14:17;266:17029:29;;8804:91:19;-1:-1:-1;;;8852:32:19;;266:17029:29;;;;;8852:32:19;;266:17029:29;;;;-1:-1:-1;266:17029:29;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;;;-1:-1:-1;;;266:17029:29;;;;;;;;;;;;4805:1:17;266:17029:29;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;;;11934:17:19;;266:17029:29;;2605:7:19;266:17029:29;;;;;;;;;;;;;;;;4805:1:17;266:17029:29;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;-1:-1:-1;266:17029:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4805:1:17;266:17029:29;;;;;;-1:-1:-1;266:17029:29;;;;;-1:-1:-1;;;266:17029:29;;;;;;;;;;;;-1:-1:-1;266:17029:29;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;;;-1:-1:-1;;;266:17029:29;;;;;;;;;;;;4805:1:17;266:17029:29;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;;;11934:17:19;;266:17029:29;;2605:7:19;266:17029:29;;;;;;;;;;;;;;;;4805:1:17;266:17029:29;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;-1:-1:-1;266:17029:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4805:1:17;266:17029:29;;;;;;-1:-1:-1;266:17029:29;;;;;-1:-1:-1;;;266:17029:29;;;;;;;;4979:67:17;-1:-1:-1;;266:17029:29;;;-1:-1:-1;;;;;;;;;;;266:17029:29;4979:67:17;;;4851:91;-1:-1:-1;;;4908:23:17;;266:17029:29;4908:23:17;;4855:30;4872:13;;;4855:30;;;4790:50;4818:4;4810:25;:30;;-1:-1:-1;4790:50:17;;4726:34;;;-1:-1:-1;4726:34:17;;266:17029:29;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;;;;1112:30;;;;;266:17029;;;1112:30;266:17029;;;;;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;;;;;;4726:40;266:17029;;;;;;:::i;:::-;;;;-1:-1:-1;;;266:17029:29;;;;4734:10;;;4726:40;:::i;:::-;4813:10;266:17029;;4806:6;266:17029;;;;;4842:24;;;;266:17029;4834:67;266:17029;;4842:29;266:17029;;;;;;;:::i;:::-;183:14:25;266:17029:29;;-1:-1:-1;;;266:17029:29;183:14:25;;;4834:67:29;:::i;:::-;4911:77;4813:10;4919:29;4813:10;4919:29;:::i;:::-;:39;;246:11:25;;:::i;:::-;4911:77:29;;:::i;:::-;5006:10;4813;5006;:::i;:::-;4813;9334:21:19;9330:89;;2510:76:28;;7363:546:19;;4813:10:29;-1:-1:-1;266:17029:29;-1:-1:-1;;;;;;;;;;;266:17029:29;;;-1:-1:-1;266:17029:29;;7614:19:19;;;7610:115;;4813:10:29;;;-1:-1:-1;266:17029:29;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;-1:-1:-1;266:17029:29;368:19:25;266:17029:29;-1:-1:-1;;;;;;;;;;;266:17029:29;;-1:-1:-1;;;;;;;;;;;368:19:25;-1:-1:-1;266:17029:29;;;;;8363:25:19;266:17029:29;4813:10;8363:25:19;;5087:34:29;266:17029;;5087:15;:34;:::i;:::-;266:17029;5063:21;;368:19:25;;5197:25:29;4813:10;5197:25;:::i;:::-;368:19:25;;266:17029:29;;;;5238:36;266:17029;4813:10;5238:36;;266:17029;7610:115:19;7660:50;;;;;-1:-1:-1;7660:50:19;4813:10:29;266:17029;;;;;;;-1:-1:-1;7660:50:19;2510:76:28;2554:32;266:17029:29;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;266:17029:29;;;;;-1:-1:-1;;;2554:32:28;;266:17029:29;;;;2554:32:28;;;:::i;:::-;;;;9330:89:19;-1:-1:-1;;;9378:30:19;;266:17029:29;;;;;;9378:30:19;266:17029:29;;;;;;;-1:-1:-1;;266:17029:29;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;;873:16;266:17029;;;-1:-1:-1;;;;;266:17029:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;266:17029:29;;;;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;2519:60;266:17029;;;2303:62:16;;:::i;:::-;2164:422:29;;:::i;:::-;2360:80;266:17029;;:::i;:::-;2398:4;2368:34;;;2360:80;:::i;:::-;368:19:25;2450:54:29;368:19:25;266:17029:29;;;;;2519:60;266:17029;;;;;;;;;-1:-1:-1;;266:17029:29;;;;;;:::i;:::-;;;966:10:20;;4621:5:19;:::i;266:17029:29:-;;;;;;;;;;;;;;760:36:28;266:17029:29;;;;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;2149:34:28;266:17029:29;;;2303:62:16;;:::i;:::-;1989:201:28;;:::i;:::-;368:19:25;2097:37:28;368:19:25;266:17029:29;;;;;2149:34:28;266:17029:29;;;;;;;;;-1:-1:-1;;266:17029:29;;;;3304:70;266:17029;;;2303:62:16;;:::i;:::-;2929:452:29;;:::i;:::-;3135:80;266:17029;;:::i;3135:80::-;368:19:25;3225:64:29;368:19:25;266:17029:29;;;;;3304:70;266:17029;;;;;;;;;-1:-1:-1;;266:17029:29;;;;2361:42:28;266:17029:29;;;2303:62:16;;:::i;:::-;368:19:25;266:17029:29;368:19:25;266:17029:29;;;;;2361:42:28;266:17029:29;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;;-1:-1:-1;266:17029:29;;;;;;;-1:-1:-1;266:17029:29;;-1:-1:-1;266:17029:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;;;;;;;;;;;;;;;;;-1:-1:-1;266:17029:29;;-1:-1:-1;266:17029:29;;-1:-1:-1;266:17029:29;;;;;;;;;;;;;;;;1009:32:28;266:17029:29;;;;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;;;;;-1:-1:-1;;;;;266:17029:29;;:::i;:::-;;;;1576:55;266:17029;;;1576:55;266:17029;;1576:55;;266:17029;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;266:17029:29;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;-1:-1:-1;;;;;266:17029:29;;;;;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;266:17029:29;;;;;;;;;;;;;;;;;;;;;2303:62:16;;:::i;:::-;-1:-1:-1;;;;;;;;;;;266:17029:29;;-1:-1:-1;;;;;;717:21:25;;;;;266:17029:29;;-1:-1:-1;;;;;266:17029:29;3975:40:16;266:17029:29;;3975:40:16;266:17029:29;;;;;;;;;-1:-1:-1;;266:17029:29;;;;;;;;-1:-1:-1;;;;;266:17029:29;;:::i;:::-;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;;;;;;;;;;;;;;;;;;;;731:23:28;266:17029:29;;;-1:-1:-1;;;;;266:17029:29;;;;;;;;;;;;;;;;;;;;;;497:40;266:17029;;;;;;;;;;;;;;;;;;;;5120:6:18;-1:-1:-1;;;;;266:17029:29;5111:4:18;5103:23;5099:145;;266:17029:29;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;5099:145:18;-1:-1:-1;;;5204:29:18;;266:17029:29;;5204:29:18;266:17029:29;-1:-1:-1;266:17029:29;;-1:-1:-1;;266:17029:29;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4697:6:18;266:17029:29;4688:4:18;4680:23;;;:120;;;;266:17029:29;4663:251:18;;;2303:62:16;;:::i;:::-;266:17029:29;;-1:-1:-1;;;6161:52:18;;-1:-1:-1;;;;;266:17029:29;;;;;;;;;6161:52:18;;;;;;;266:17029:29;-1:-1:-1;6157:437:18;;-1:-1:-1;;;6523:60:18;;266:17029:29;;;;;1810:47:5;6523:60:18;6157:437;6255:40;;-1:-1:-1;;;;;;;;;;;6255:40:18;;;6251:120;;1753:29:5;;;:34;1749:119;;-1:-1:-1;;;;;;;;;;;717:21:25;;-1:-1:-1;;;;;;717:21:25;;;;;;;;2412:36:5;717:21:25;;2412:36:5;266:17029:29;;2463:15:5;:11;;4091:55:10;4049:25;;;;;;;;266:17029:29;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;4091:55:10;:::i;:::-;;266:17029:29;;;;;4091:55:10;:::i;2459:148:5:-;6168:9;;;;;6164:70;;266:17029:29;;6164:70:5;-1:-1:-1;;;6204:19:5;;266:17029:29;;6204:19:5;1749:119;-1:-1:-1;;;1810:47:5;;266:17029:29;;;1810:47:5;;6251:120:18;-1:-1:-1;;;6322:34:18;;266:17029:29;;;6322:34:18;;6161:52;;;;266:17029:29;6161:52:18;;266:17029:29;6161:52:18;;;;;;266:17029:29;6161:52:18;;;:::i;:::-;;;266:17029:29;;;;;6161:52:18;;;;266:17029:29;;;;6161:52:18;;;-1:-1:-1;6161:52:18;;4663:251;-1:-1:-1;;;4874:29:18;;266:17029:29;4874:29:18;;4680:120;-1:-1:-1;;;;;;;;;;;266:17029:29;-1:-1:-1;;;;;266:17029:29;4758:42:18;;;-1:-1:-1;4680:120:18;;;266:17029:29;;;;;;;;;;;;;;;;;5365:10;;;:::i;:::-;5418:25;5365:10;5418:25;:::i;:::-;5365:10;266:17029;;5386:6;266:17029;;;;;368:19:25;266:17029:29;;;;;;;;;-1:-1:-1;;266:17029:29;;;;;;;;12546:47;266:17029;;;;;;:::i;:::-;;;;-1:-1:-1;;;266:17029:29;;;;12554:20;;;12546:47;:::i;:::-;12629:4;1276:27:25;266:17029:29;;-1:-1:-1;;;12629:26:29;;12644:10;266:17029;12629:26;;266:17029;;;;;;12629:26;;266:17029;;-1:-1:-1;;;;;266:17029:29;12629:26;;;;;;;;;;266:17029;12665:73;246:11:25;;;;;:::i;:::-;12673:35:29;;;12665:73;:::i;:::-;12644:10;266:17029;;12756:12;266:17029;;12748:98;266:17029;;;;12756:46;266:17029;12756:50;;1125:11:25;;:::i;12748:98:29:-;12864:10;12644;12864;:::i;:::-;12644;266:17029;;12756:12;266:17029;;;;;;;;13079:47;13473:53;13079:47;;;;;:::i;:::-;266:17029;13129:33;;266:17029;13308:44;13079:83;266:17029;;13079:83;;;:::i;:::-;266:17029;;13172:89;266:17029;;;;;;:::i;:::-;1038:32:25;266:17029:29;;1038:32:25;266:17029:29;1038:32:25;;;13180:44:29;;;;13172:89;:::i;:::-;13308:44;:::i;:::-;368:19:25;;13362:101:29;1125:11:25;;:::i;:::-;13370:53:29;;;;13362:101;:::i;13473:53::-;368:19:25;;13536:36:29;266:17029;13536:36;266:17029;13536:36;:::i;:::-;;368:19:25;12629:4:29;1276:27:25;-1:-1:-1;;;;;266:17029:29;;13614:39;;;;;266:17029;;-1:-1:-1;;;13614:39:29;;12644:10;266:17029;13614:39;;266:17029;368:19:25;;;266:17029:29;;;;;;;;;;;;;368:19:25;;266:17029:29;;;;13614:39;;;;;;;;266:17029;;13740:42;266:17029;;;;;;;;;;;13740:42;13824:25;12644:10;13824:25;:::i;:::-;12644:10;;266:17029;;13792:6;266:17029;;;;368:19:25;266:17029:29;;13614:39;;;;;;;;;:::i;:::-;266:17029;;13614:39;;;;;;;266:17029;;;368:19:25;;;;;;;;13614:39:29;266:17029;;;12629:26;;266:17029;12629:26;;266:17029;12629:26;;;;;;1125:11:25;12629:26:29;;;:::i;:::-;;;1125:11:25;;;;12665:73:29;1125:11:25;;12629:26:29;;1125:11:25;-1:-1:-1;266:17029:29;;12629:26;;;-1:-1:-1;12629:26:29;;;266:17029;;;;368:19:25;;;;;;;;266:17029:29;;;;;;;;;;;;;;685:50;266:17029;;;;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;;;:::i;:::-;2303:62:16;;:::i;:::-;1909:4:29;1276:27:25;266:17029:29;1893:64;266:17029;;;;;;:::i;:::-;;;;-1:-1:-1;;;266:17029:29;;;;-1:-1:-1;;;;;266:17029:29;;1901:27;1893:64;:::i;:::-;2005:4;1967:42;368:19:25;-1:-1:-1;;;;;266:17029:29;-1:-1:-1;;;;;;717:21:25;;;;;1909:4:29;717:21:25;266:17029:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;;3832:2:19;266:17029:29;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;266:17029:29;;;;;;;;;;;;;;;;;804:35;266:17029;;;;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;;;:::i;:::-;;;:::i;:::-;;;;4872:20:19;;;;:::i;:::-;966:10:20;-1:-1:-1;266:17029:29;;;;;;;;;;;;;-1:-1:-1;;11915:36:19;;11911:309;;266:17029:29;6203:5:19;;;:::i;11911:309::-;11971:24;;;11967:130;;-1:-1:-1;;;;;266:17029:29;;11146:19:19;11142:89;;966:10:20;11244:21:19;11240:90;;11339:20;;;;:::i;:::-;266:17029:29;;;;;966:10:20;266:17029:29;-1:-1:-1;266:17029:29;;;;;-1:-1:-1;266:17029:29;;;368:19:25;;11911:309:19;;;;11240:90;-1:-1:-1;;;11288:31:19;;266:17029:29;;;;;;11288:31:19;11142:89;-1:-1:-1;;;11188:32:19;;266:17029:29;;;;;;11188:32:19;11967:130;12022:60;266:17029:29;12022:60:19;;;;;;966:10:20;266:17029:29;;;;;;12022:60:19;266:17029:29;;;;;;;-1:-1:-1;;266:17029:29;;;;;;;;11531:47;266:17029;;;;;;:::i;:::-;;;;-1:-1:-1;;;266:17029:29;;;;11539:20;;;11531:47;:::i;:::-;11595:10;;;:::i;:::-;11714:73;11595:10;11675:29;11595:10;11675:29;:::i;11714:73::-;11595:10;266:17029;;11836:12;266:17029;;;;;11894:34;;;:::i;:::-;266:17029;11938:65;266:17029;;;;;;:::i;:::-;793:22:25;266:17029:29;;793:22:25;266:17029:29;793:22:25;;;266:17029:29;;11946:33;;;11938:65;:::i;:::-;266:17029;12057:33;;:50;266:17029;;;12057:50;:::i;:::-;368:19:25;;12117:48:29;266:17029;;;12117:48;:::i;:::-;368:19:25;;12175:40:29;266:17029;12175:40;266:17029;12175:40;:::i;:::-;;368:19:25;12226:4:29;1276:27:25;-1:-1:-1;;;;;266:17029:29;12226:36;;;;;266:17029;;-1:-1:-1;;;12226:36:29;;11595:10;266:17029;12226:36;;266:17029;368:19:25;;;266:17029:29;;;;-1:-1:-1;;266:17029:29;;368:19:25;;266:17029:29;;-1:-1:-1;;12226:36:29;;;;;;;;266:17029;;12277:43;266:17029;;;;;;;;;;;;12277:43;12362:25;11595:10;12362:25;:::i;12226:36::-;;;;;;;266:17029;12277:43;12226:36;;:::i;:::-;266:17029;12226:36;;;;;;;266:17029;;368:19:25;266:17029:29;368:19:25;;;;;266:17029:29;;;;;;-1:-1:-1;;266:17029:29;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;-1:-1:-1;;;;;266:17029:29;;:::i;:::-;;;;959:43:28;266:17029:29;;;;;;;;959:43:28;;;;;266:17029:29;959:43:28;;266:17029:29;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;3979:10:28;266:17029:29;;3972:6:28;266:17029:29;;;;;4008:24:28;;;266:17029:29;;;;;;4094:21:28;266:17029:29;;4000:57:28;266:17029:29;;;;;;:::i;:::-;;;;-1:-1:-1;;;266:17029:29;;;;4008:28:28;;;4000:57;:::i;:::-;4094:21;4067:75;266:17029:29;;4075:15:28;:40;;266:17029:29;;;;;;;:::i;:::-;306:13:25;266:17029:29;;-1:-1:-1;;;266:17029:29;306:13:25;;;4067:75:28;:::i;:::-;368:19:25;;266:17029:29;368:19:25;;266:17029:29;;-1:-1:-1;;;4278:35:28;;3979:10;266:17029:29;4278:35:28;;266:17029:29;368:19:25;;;266:17029:29;;;;;;;;368:19:25;;266:17029:29;;;-1:-1:-1;;;;;266:17029:29;4278:35:28;;;;;;;;266:17029:29;;;;;;4329:36:28;266:17029:29;3979:10:28;4329:36;;266:17029:29;4278:35:28;;;266:17029:29;4278:35:28;266:17029:29;4278:35:28;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;266:17029:29;;368:19:25;266:17029:29;368:19:25;;;;;266:17029:29;;;;;;-1:-1:-1;;266:17029:29;;;;;;;;;;;;;;2303:62:16;;:::i;:::-;266:17029:29;3857:3;266:17029;3833:22;;;;;;;266:17029;;;;;;;;;3876:10;266:17029;;;;;;;;;;;3920:13;266:17029;;;3818:13;;266:17029;;;;;;;;;;;;3833:22;3982:49;266:17029;;;;;;;;;;;;;3982:49;266:17029;;;;;;;-1:-1:-1;;266:17029:29;;;;;;:::i;:::-;;;966:10:20;;11146:19:19;11142:89;;-1:-1:-1;;;;;266:17029:29;;11244:21:19;;11240:90;;11339:20;966:10:20;11339:20:19;:::i;:::-;266:17029:29;;;;;;;;;368:19:25;266:17029:29;;;;;11420:31:19;266:17029:29;966:10:20;11420:31:19;;266:17029:29;;;;;;;11240:90:19;11288:31;;;266:17029:29;11288:31:19;266:17029:29;;;;;11288:31:19;11142:89;11188:32;;;266:17029:29;11188:32:19;266:17029:29;;;;;11188:32:19;266:17029:29;;;;;;-1:-1:-1;;266:17029:29;;;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;;;;-1:-1:-1;266:17029:29;;;;;;;-1:-1:-1;266:17029:29;;-1:-1:-1;266:17029:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;;;;;;;;;;;;;;;;;-1:-1:-1;266:17029:29;;-1:-1:-1;266:17029:29;;;;;;;;-1:-1:-1;;266:17029:29;;;;;;388:38;266:17029;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;:::o;:::-;;;;-1:-1:-1;;;;;266:17029:29;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;266:17029:29;;;;;;:::o;:::-;-1:-1:-1;;;;;266:17029:29;;;;;4872:13:19;266:17029:29;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;266:17029:29;;;;;-1:-1:-1;266:17029:29;;;;;;;;;-1:-1:-1;;266:17029:29;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;306:13:25;;;;;:::o;:::-;266:17029:29;;-1:-1:-1;;;306:13:25;;266:17029:29;;;306:13:25;;;;;;:::i;368:19::-;;;;;;;;;;266:17029:29;;;368:19:25;;;;;:::o;246:11::-;266:17029:29;;;;;;;:::i;:::-;246:11:25;266:17029:29;;-1:-1:-1;;;246:11:25;;;;:::o;1276:27::-;;;;;;;;;;:::o;:::-;266:17029:29;;;1276:27:25;;;;;;;;266:17029:29;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::o;:::-;;;;;;;;;;;;5825:2250;5942:17;266:17029;;6004:23;266:17029;;6103:19;266:17029;6059:15;;6089:33;6085:1660;;5825:2250;7782:24;;-1:-1:-1;;;7902:63:29;7782:24;:45;8002:66;7782:24;;8002:39;7782:24;;:::i;:::-;:45;:::i;:::-;266:17029;;;;;;;;;;-1:-1:-1;266:17029:29;7902:12;266:17029;;;-1:-1:-1;266:17029:29;;7902:63;:::i;:::-;266:17029;8002:39;;:::i;:::-;266:17029;-1:-1:-1;266:17029:29;8044:6;266:17029;;;-1:-1:-1;266:17029:29;;8002:66;;:::i;:::-;5825:2250;:::o;6085:1660::-;6276:35;6212:33;6625:22;6059:15;;6212:33;:::i;:::-;6290:21;266:17029;6276:35;;:::i;:::-;6580:4;6546:30;8248:25;266:17029;6546:30;;:::i;:::-;266:17029;6625:22;;:::i;:::-;6788:20;266:17029;6769:39;;;;;:::i;:::-;266:17029;7163:41;6871:38;6768:57;-1:-1:-1;;;;;;;;;;;266:17029:29;6768:57;;;:::i;:::-;6871:38;;;:::i;:::-;266:17029;6580:4;7044:57;7066:35;266:17029;7044:57;;:::i;7163:41::-;266:17029;-1:-1:-1;;;266:17029:29;;;;;;-1:-1:-1;;;266:17029:29;;;;;;;7413:105;7481:36;;;7435:83;7481:36;;:::i;:::-;7435:83;;:::i;:::-;7413:105;;:::i;:::-;7536:24;;7532:203;;6085:1660;;;;7532:203;-1:-1:-1;;;266:17029:29;;;;;;;;;;;-1:-1:-1;;;266:17029:29;;;;;;;7902:63;-1:-1:-1;;;7782:45:29;7619:101;8002:39;7647:73;;8002:66;7647:73;;;;:::i;7619:101::-;7532:203;;;;;;;;;;;1125:11:25;266:17029:29;;;;;;;:::i;:::-;1125:11:25;266:17029:29;;1125:11:25;266:17029:29;1125:11:25;;;:::o;9402:1816:29:-;9522:4;1276:27:25;266:17029:29;;-1:-1:-1;;;9522:18:29;;266:17029;9522:18;;266:17029;;9522:18;;266:17029;;-1:-1:-1;;;;;266:17029:29;9522:18;;;;;;;-1:-1:-1;9522:18:29;;;9402:1816;9494:46;9550:25;-1:-1:-1;9585:46:29;-1:-1:-1;9715:3:29;9710;9706:7;;;;;266:17029;9849:10;266:17029;;9828:34;;;;;9824:81;;10190:36;266:17029;;9998:13;266:17029;;10190:36;;:::i;:::-;10341:39;;;;:::i;:::-;10385:8;1276:27:25;;;;;;;10398:4:29;266:17029;;10421:44;;;;;266:17029;;;;10398:4;266:17029;;;;;;10398:4;266:17029;;;;;;;10565:60;10582:43;;;;:::i;10565:60::-;-1:-1:-1;9686:1303:29;10999:182;;9402:1816;:::o;10999:182::-;11136:34;266:17029;;;;;;:::i;:::-;;;;-1:-1:-1;;;9522:18:29;266:17029;;;;;-1:-1:-1;;;11136:34:29;;266:17029;;;9522:18;11136:34;;;:::i;10417:562::-;266:17029;10802:39;;;10859:44;10802:39;;;10921:43;10802:39;;;;:::i;:::-;10859:44;;:::i;:::-;10921:43;;:::i;:::-;10417:562;9691:13;266:17029;9691:13;;9824:81;9882:8;;266:17029;9882:8;;;9706:7;;;;;;;9522:18;;;;;;;;;;;;;1125:11:25;9522:18:29;;;:::i;:::-;;;1125:11:25;;;;;9522:18:29;;;;;;-1:-1:-1;9522:18:29;;;266:17029;;368:19:25;-1:-1:-1;368:19:25;;;;;266:17029:29;;;;;;;;:::i;:::-;;;;;;;;;:::o;4255:360::-;;266:17029;4339:38;266:17029;;;;;;:::i;:::-;;;;-1:-1:-1;;;266:17029:29;;;;4347:10;;;4339:38;:::i;:::-;4394:9;;;:::i;:::-;-1:-1:-1;;;;;266:17029:29;;;8808:21:19;;8804:91;;8933:5;;;;:::i;:::-;4356:1:29;368:19:25;;266:17029:29;;-1:-1:-1;;;4449:54:29;;4469:10;4449:54;;;266:17029;4489:4;122:12:25;;;266:17029:29;122:12:25;;;266:17029:29;;;;;;;;4449:54;;266:17029;;4356:1;-1:-1:-1;;;;;266:17029:29;4449:54;;;;;;4583:25;4449:54;;266:17029;4449:54;;4544:24;4449:54;;;4255:360;4544:24;;:::i;:::-;266:17029;4356:1;266:17029;4513:6;266:17029;;;4356:1;266:17029;368:19:25;266:17029:29;;;;4583:25;4255:360::o;4449:54::-;;;;;;;;;;;;;:::i;:::-;;;;266:17029;;368:19:25;4356:1:29;368:19:25;;;;;8804:91:19;8852:32;;;4356:1:29;8852:32:19;4356:1:29;8852:32:19;266:17029:29;;4356:1;8852:32:19;14125:148:29;-1:-1:-1;;;;;266:17029:29;-1:-1:-1;266:17029:29;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;;;;;;14231:12;266:17029;;;;;;;14213:53;;;:::i;3405:215:16:-;-1:-1:-1;;;;;266:17029:29;3489:22:16;;3485:91;;-1:-1:-1;;;;;;;;;;;266:17029:29;;-1:-1:-1;;;;;;717:21:25;;;;;;;-1:-1:-1;;;;;266:17029:29;3975:40:16;-1:-1:-1;;3975:40:16;3405:215::o;3485:91::-;3534:31;;;3509:1;3534:31;3509:1;3534:31;266:17029:29;;3509:1:16;3534:31;2658:162;-1:-1:-1;;;;;;;;;;;266:17029:29;-1:-1:-1;;;;;266:17029:29;966:10:20;2717:23:16;2713:101;;2658:162::o;2713:101::-;2763:40;;;-1:-1:-1;2763:40:16;966:10:20;2763:40:16;266:17029:29;;-1:-1:-1;2763:40:16;14458:264:29;;;:::i;:::-;14573:20;;;:::i;:::-;14607:11;;14603:113;;14458:264;;:::o;14603:113::-;14617:1;368:19:25;;266:17029:29;;-1:-1:-1;;;14634:30:29;;-1:-1:-1;;;;;266:17029:29;;;14634:30;;;266:17029;368:19:25;;;266:17029:29;;;;;;14634:30;;266:17029;;368:19:25;;266:17029:29;;14617:1;;266:17029;14634:30;;;;;;;14683:22;14634:30;;;;;14603:113;-1:-1:-1;266:17029:29;;;;;-1:-1:-1;;;;;266:17029:29;;14683:22;14458:264::o;14634:30::-;;;;;;;;;;;;;:::i;:::-;;;8420:370;8744:39;8420:370;-1:-1:-1;;;8526:44:29;:24;;;:::i;:::-;8553:17;266:17029;8526:44;;:::i;:::-;266:17029;;;;;;;;-1:-1:-1;266:17029:29;8645:12;266:17029;;-1:-1:-1;;;8645:62:29;266:17029;-1:-1:-1;266:17029:29;;8684:23;266:17029;8645:62;;:::i;6610:300:19:-;;;-1:-1:-1;;;;;;266:17029:29;6693:18:19;6689:86;;-1:-1:-1;;;;;266:17029:29;6788:16:19;6784:86;;2554:32:28;266:17029:29;;;;;;:::i;:::-;;;;-1:-1:-1;;;266:17029:29;;;;;;-1:-1:-1;;;2554:32:28;;266:17029:29;;;2554:32:28;;;;:::i;6689:86:19:-;9378:30;;;6709:1;6734:30;6709:1;6734:30;266:17029:29;;6709:1:19;6734:30;14728:2565:29;14861:19;266:17029;-1:-1:-1;14817:15:29;;;14846:34;;14842:47;;14921:33;15025:35;14817:15;;14921:33;:::i;:::-;14817:15;14861:19;368::25;15039:21:29;266:17029;15025:35;;:::i;:::-;15074:11;;15070:24;;15204:22;15163:4;15129:30;8248:25;266:17029;15129:30;;:::i;:::-;266:17029;15204:22;;;:::i;:::-;-1:-1:-1;;;;;;;;;;;266:17029:29;;15584:20;266:17029;15742:38;15644:56;15569:35;;;;:::i;:::-;15645:39;;;;;:::i;:::-;15644:56;:::i;:::-;15742:38;;;:::i;:::-;15790:36;-1:-1:-1;15841:25:29;;;;;15837:416;;14728:2565;16267:23;;;;16263:809;;14728:2565;17086:17;;;;17082:84;;14728:2565;17180:28;;17176:111;;14728:2565;;;:::o;17176:111::-;368:19:25;;-1:-1:-1;;;;;266:17029:29;;17224:52;;;;;266:17029;;-1:-1:-1;;;17224:52:29;;17244:4;17224:52;;;266:17029;368:19:25;;;266:17029:29;;;;;;;;;368:19:25;;266:17029:29;;;;17224:52;;;;;;;;14728:2565;;:::o;17224:52::-;;;;;;:::i;:::-;266:17029;;14728:2565;:::o;17224:52::-;266:17029;;368:19:25;266:17029:29;;368:19:25;;;;17082:84:29;-1:-1:-1;368:19:25;4032:14:19;266:17029:29;-1:-1:-1;;;;;266:17029:29;;;;;;;17119:36;;;;;266:17029;;-1:-1:-1;;;17119:36:29;;-1:-1:-1;;;;;266:17029:29;;;;17119:36;;;266:17029;368:19:25;;;266:17029:29;;-1:-1:-1;;266:17029:29;;368:19:25;;266:17029:29;;-1:-1:-1;;17119:36:29;;;;;;;17082:84;17119:36;;;;;-1:-1:-1;17119:36:29;;:::i;:::-;-1:-1:-1;17119:36:29;;17082:84;;16263:809;16526:41;15163:4;16407:57;16429:35;266:17029;16407:57;;:::i;:::-;266:17029;16526:41;;;:::i;:::-;-1:-1:-1;;;266:17029:29;;;;;;-1:-1:-1;;;266:17029:29;;;;;;;16615:73;;;;:::i;:::-;16706:27;;16702:310;;16263:809;17025:36;;;;;;:::i;:::-;16263:809;;;;;16702:310;16791:46;17025:36;16791:46;16875:50;-1:-1:-1;;;16791:46:29;16943:54;16791:46;;;:::i;:::-;266:17029;;16875:50;266:17029;16875:50;:::i;:::-;;368:19:25;16943:54:29;:::i;:::-;16702:310;;;;15837:416;-1:-1:-1;;;266:17029:29;;;;;-1:-1:-1;;;266:17029:29;;;;;15910:64;;;;:::i;:::-;15992:21;;15988:255;;15837:416;;;;15988:255;16056:39;;;;-1:-1:-1;;;16056:39:29;16190:38;16056:39;;:::i;:::-;266:17029;;16190:38;266:17029;16190:38;:::i;:::-;;368:19:25;15988:255:29;;;;2416:217:28;8363:25:19;266:17029:29;-1:-1:-1;2416:217:28;7503:23:19;266:17029:29;-1:-1:-1;;;;;;;;;;;266:17029:29;7503:23:19;:::i;:::-;-1:-1:-1;;;;;;;;;;;368:19:25;-1:-1:-1;;;;;266:17029:29;;7923:16:19;;266:17029:29;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;-1:-1:-1;;;;;;;;;;;368:19:25;7919:429:19;266:17029:29;;;;;8363:25:19;2416:217:28:o;7919:429:19:-;266:17029:29;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;;;;;;368:19:25;;7919:429:19;;7084:141:17;266:17029:29;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;7150:18:17;7146:73;;7084:141::o;7146:73::-;7191:17;;;-1:-1:-1;7191:17:17;;-1:-1:-1;7191:17:17;4421:582:10;;4593:8;;-1:-1:-1;266:17029:29;;5674:21:10;:17;;5799:158;;;;;;5670:354;5994:19;;;5694:1;5994:19;;5694:1;5994:19;4589:408;266:17029:29;;4841:22:10;:49;;;4589:408;4837:119;;4969:17;;:::o;4837:119::-;-1:-1:-1;;;4862:1:10;4917:24;;;-1:-1:-1;;;;;266:17029:29;;;;4917:24:10;266:17029:29;;;4917:24:10;4841:49;4867:18;;;:23;4841:49;","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa2646970667358221220695704119e311195d295c1502f2660e9bf456cb38a18c51c189ff67e3033794264736f6c634300081a0033","offset":11166}},"immutableReferences":{"2409":[{"start":4287,"length":32},{"start":4495,"length":32}]},"transformations":[{"id":"2409","type":"replace","offset":4287,"reason":"immutable"},{"id":"2409","type":"replace","offset":4495,"reason":"immutable"}],"transformationValues":{"immutables":{"2409":"0x000000000000000000000000e37a7920dbc11253ac6d031c29f592f71b348dca"}}},"deployment":{"transactionHash":"0xd8677c249f8aca0ed881b11dd1847cbe98bc1e63faf1fd3f8b0980e66f7ffad0","blockNumber":"34328491","transactionIndex":"35","deployer":"0xDB78C9F577c0189cE3e28422C670A5994c4B153A"},"sources":{"src/StakingV2.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity =0.8.26;\n\nimport {Errors} from \"../lib/Errors.sol\";\nimport {Diem} from \"./Diem.sol\";\nimport {IStakingV2} from \"../interface/IStakingV2.sol\";\nimport {Staking} from \"./Staking.sol\";\n\n/// @custom:oz-upgrades-from Staking\ncontract StakingV2 is Staking, IStakingV2 {\n    /// @notice Tracks the accumulated reward per share for locked stakes\n    uint256 public accRewardPerShareLocked;\n\n    /// @notice Percentage of total emissions that go to venice\n    uint256 public veniceEmissionsPercentage; // initially 0, expressed as a fraction of 1e18.\n\n    /// @notice Percentage of emissions that go to venice from users have locked their sVVV\n    uint256 public veniceEmissionsPercentageWhenLocked;\n\n    /// @notice Total amount of sVVV that is currently locked\n    uint256 public totalLockedStakedVVV;\n\n    /// @notice Diem token\n    Diem public diem;\n\n    // The below variables define a step wise curve for diem minting.\n    // As the total supply of diem increases, the mint rate increases.\n\n    /// @notice Array of diem total supply points for each diem mint rate\n    uint256[256] public diemSupply;\n    /// @notice Array of diem mint rates for each diem supply point. This is expressed as sVVV per diem.\n    uint256[256] public diemMintRates;\n\n    struct LockedStakeInfo {\n        uint256 sVVVLockedAmount; // total amount of locked sVVV from user\n        uint256 outstandingDiemAmount; // amount of diems that have been minted to user (debt).\n    }\n    /// @notice Mapping of user addresses to their locked stake information\n\n    mapping(address => LockedStakeInfo) public lockedStakes;\n\n    /// @custom:oz-upgrades-unsafe-allow constructor\n    constructor() {\n        _disableInitializers();\n    }\n\n    // NOTE: if we add any modules be sure to add reinitializer(2) here\n    function upgradeInitialize(address _diem) external onlyOwner {\n        require(address(diem) == address(0), Errors.ALREADY_INITIALIZED);\n        veniceEmissionsPercentageWhenLocked = 2e17; // 20% on upgrade.\n        diem = Diem(_diem);\n    }\n\n    /// @notice Sets the percentage of emissions that go to venice before considering staking.\n    function setVeniceEmissionsPercentage(uint256 _veniceEmissionsPercentage) external onlyOwner {\n        _updateGlobalReward(); // ensure rewards are up to date - avoids retroactive changes\n        require(_veniceEmissionsPercentage <= 1e18, Errors.INVALID_EMISSIONS_PERCENTAGE);\n        veniceEmissionsPercentage = _veniceEmissionsPercentage;\n        emit VeniceEmissionsPercentageUpdated(_veniceEmissionsPercentage);\n    }\n\n    /// @notice Sets the percentage of emissions that go to venice from locked stakes.\n    /// This is in addition to the percentage that goes to venice from the total emissions.\n    /// and calculated after. Setting this to 20% (2e17) means that 20% of the rewards from locked stakes\n    /// go to venice, not 20% of the total rewards.\n    function setVeniceEmissionsPercentageWhenLocked(uint256 _veniceEmissionsPercentage) external onlyOwner {\n        _updateGlobalReward(); // ensure rewards are up to date - avoids retroactive changes\n        require(_veniceEmissionsPercentage <= 1e18, Errors.INVALID_EMISSIONS_PERCENTAGE);\n        veniceEmissionsPercentageWhenLocked = _veniceEmissionsPercentage;\n        emit VeniceEmissionsPercentageWhenLockedUpdated(_veniceEmissionsPercentage);\n    }\n\n    /// @notice Sets the diem mint curve and therefore the total possible supply of diem is represented as _diemSupply[255].\n    /// @param _diemSupply The total supply of diem at each point on the curve.\n    /// @param _diemMintRates The mint rate for each point on the curve.\n    function setDiemMintCurve(uint256[256] calldata _diemSupply, uint256[256] calldata _diemMintRates)\n        external\n        onlyOwner\n    {\n        for (uint256 i = 0; i < _diemSupply.length; i++) {\n            diemSupply[i] = _diemSupply[i];\n            diemMintRates[i] = _diemMintRates[i];\n        }\n\n        emit DiemMintRatesUpdated(_diemSupply, _diemMintRates);\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                          CORE STAKING LOGIC\n    //////////////////////////////////////////////////////////////*/\n    /// @inheritdoc Staking\n    function stake(address recipient, uint256 amount) public virtual override {\n        require(amount > 0, Errors.STAKE_ZERO);\n        _claim(recipient);\n        _mint(recipient, amount);\n\n        venice.transferFrom(msg.sender, address(this), amount);\n        stakes[recipient].rewardDebt = getRewardDebt(recipient);\n        emit Staked(recipient, amount);\n    }\n\n    /// @inheritdoc Staking\n    function initiateUnstake(uint256 amount) external virtual override {\n        require(amount > 0, Errors.UNSTAKE_ZERO);\n        StakeInfo storage stakeInfo = stakes[msg.sender];\n        require(stakeInfo.cooldownAmount == 0, Errors.COOLDOWN_IN_PROGRESS);\n        require(balanceOfUnlocked(msg.sender) >= amount, Errors.INSUFFICIENT_BALANCE);\n\n        _claim(msg.sender);\n        _burn(msg.sender, amount);\n\n        stakeInfo.cooldownEnd = block.timestamp + cooldownDuration;\n        stakeInfo.cooldownAmount = amount;\n        stakeInfo.rewardDebt = getRewardDebt(msg.sender);\n\n        emit UnstakeInitiated(msg.sender, amount);\n    }\n\n    /// @inheritdoc Staking\n    function claim() public override {\n        _claim(msg.sender);\n        stakes[msg.sender].rewardDebt = getRewardDebt(msg.sender);\n    }\n\n    /// @notice Convenience function to claim rewards and stake them in one transaction and no dust.\n    /// @dev This requires venice approvals are in place ahead fo the call\n    function claimAndStake() external {\n        uint256 pendingRewardsForUser = pendingRewards(msg.sender);\n        stake(msg.sender, pendingRewardsForUser);\n    }\n\n    /// @inheritdoc Staking\n    function pendingRewards(address _user) public view override returns (uint256) {\n        uint256 _accRewardPerShare = accRewardPerShare;\n        uint256 _accRewardPerShareLocked = accRewardPerShareLocked;\n        uint256 currentTime = block.timestamp;\n\n        if (currentTime > lastRewardTimestamp) {\n            // _updateGlobalReward() was not called\n            uint256 timeElapsed = currentTime - lastRewardTimestamp;\n            uint256 minted = timeElapsed * emissionRatePerSecond;\n\n            // there are 2 venice portions here.\n            // 1. the portion that goes to venice from the total supply\n            // 2. the portion that goes to venice from the locked stakes\n\n            uint256 venicePortion = (minted * getVenicePercentage()) / 1e18;\n            uint256 rawStakerPortion = minted - venicePortion;\n            // staker portion is divided between locked and unlocked stakes.\n            uint256 stakerPortionLocked = (rawStakerPortion * totalLockedStakedVVV) / totalSupply();\n            uint256 stakerPortionUnlocked = rawStakerPortion - stakerPortionLocked;\n\n            // from the stakerPortionLocked, we need to remove the % that goes to venice\n            uint256 venicePortionLocked = (stakerPortionLocked * veniceEmissionsPercentageWhenLocked) / 1e18;\n            uint256 stakerPortionLockedForRewards = stakerPortionLocked - venicePortionLocked;\n\n            //NOTE: due to the locked mint to this address in v1, totalSupply has to be always greater than totalLockedStakedVVV\n            // so this should never end up with a division by 0.\n            _accRewardPerShare += (stakerPortionUnlocked * ACC_REWARD_SCALE) / (totalSupply() - totalLockedStakedVVV);\n            if (totalLockedStakedVVV > 0) {\n                // avoid division by 0\n                _accRewardPerShareLocked += (stakerPortionLockedForRewards * ACC_REWARD_SCALE) / totalLockedStakedVVV;\n            }\n        }\n\n        uint256 userAccumulated = (balanceOfUnlocked(_user) * _accRewardPerShare) / ACC_REWARD_SCALE;\n        uint256 userAccumulatedLocked =\n            (lockedStakes[_user].sVVVLockedAmount * _accRewardPerShareLocked) / ACC_REWARD_SCALE;\n        return userAccumulated + userAccumulatedLocked - stakes[_user].rewardDebt;\n    }\n\n    /// @inheritdoc Staking\n    /// @dev maintained for backwards compatibility\n    function getVenicePercentage() public view override returns (uint256) {\n        return veniceEmissionsPercentage;\n    }\n\n    /// @notice Returns the reward \"debt for a user. Concept is carried over from V1 and provides a waypoint to track reward changes.\n    function getRewardDebt(address _user) private view returns (uint256) {\n        uint256 userAccumulated = (balanceOfUnlocked(_user) * accRewardPerShare) / ACC_REWARD_SCALE;\n        uint256 userAccumulatedLocked =\n            (lockedStakes[_user].sVVVLockedAmount * accRewardPerShareLocked) / ACC_REWARD_SCALE;\n        return userAccumulated + userAccumulatedLocked;\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                       LOCKED STAKE AND DIEM LOGIC\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Returns the amount of diems that can be minted for a given amount of sVVV.\n    /// @dev This is a step wise function that iterates through the diem mint curve and calculates the amount of diems that can be minted for a given amount of sVVV.\n    /// @param sVVVAmountToLock The amount of sVVV to lock.\n    /// @return diemAmountOut The amount of diems that can be minted for the given amount of sVVV.\n    function getDiemAmountOut(uint256 sVVVAmountToLock) public view returns (uint256) {\n        uint256 currentDiemSupply = diem.totalSupply();\n        uint256 diemAmountOut = 0;\n        uint256 sVVVRemainingToLock = sVVVAmountToLock;\n\n        // Iterate through the curve points\n        for (uint256 i = 0; i < 256; i++) {\n            // if the current Diem supply is greater than this bucket, we need to advance\n            if (currentDiemSupply >= diemSupply[i]) {\n                continue;\n            }\n\n            uint256 supplyUpperBound = diemSupply[i];\n            uint256 bucketMintRate = diemMintRates[i]; // sVVV / diem\n\n            // we are now in a bucket that has additional supply, calculate how much we can lock in this bucket.\n            uint256 diemsAvailableInBucket = supplyUpperBound - currentDiemSupply;\n            // round sVVVAvailableInBucket up in favor of protocol\n            uint256 sVVVAvailableInBucket = ((bucketMintRate * diemsAvailableInBucket) + (1e18 - 1)) / 1e18;\n\n            if (sVVVAvailableInBucket >= sVVVRemainingToLock) {\n                // this bucket has all the supply we need - no need to advance.\n                diemAmountOut += sVVVRemainingToLock * 1e18 / bucketMintRate;\n                sVVVRemainingToLock = 0;\n                break;\n            } else {\n                // we will consume this whole bucket and need to advance.\n                diemAmountOut += diemsAvailableInBucket;\n                sVVVRemainingToLock -= sVVVAvailableInBucket;\n                currentDiemSupply += diemsAvailableInBucket;\n            }\n        }\n\n        if (sVVVRemainingToLock > 0) {\n            // we haven't been able to consume all the sVVV - we cannot process this request.\n            revert(Errors.INSUFFICIENT_SUPPLY);\n        }\n\n        return diemAmountOut;\n    }\n\n    /// @notice Burns sVVV from user and mints diems\n    /// @param sVVVAmountToLock The amount of sVVV to lock.\n    /// @param minDiemAmountOut The minimum amount of diems that must be minted or the call will revert.\n    function mintDiem(uint256 sVVVAmountToLock, uint256 minDiemAmountOut) external {\n        require(sVVVAmountToLock > 0, Errors.LOCK_ZERO);\n        _claim(msg.sender); // ensure rewards are up to date\n        uint256 unlockedBalance = balanceOfUnlocked(msg.sender);\n        require(unlockedBalance >= sVVVAmountToLock, Errors.INSUFFICIENT_BALANCE);\n\n        LockedStakeInfo storage lockedStake = lockedStakes[msg.sender];\n        uint256 diemAmountOut = getDiemAmountOut(sVVVAmountToLock);\n        require(diemAmountOut >= minDiemAmountOut, Errors.MIN_AMOUNT_OUT);\n\n        // Update user's locked stake info\n        lockedStake.outstandingDiemAmount += diemAmountOut;\n        lockedStake.sVVVLockedAmount += sVVVAmountToLock;\n        totalLockedStakedVVV += sVVVAmountToLock;\n\n        diem.mint(msg.sender, diemAmountOut);\n        emit DiemMinted(sVVVAmountToLock, diemAmountOut);\n        stakes[msg.sender].rewardDebt = getRewardDebt(msg.sender);\n    }\n\n    /// @notice Burns diems from user and unlocks the corresponding amount of sVVV\n    function burnDiem(uint256 diemAmountToBurn) external {\n        require(diemAmountToBurn > 0, Errors.BURN_ZERO);\n        uint256 userDiemBalance = diem.balanceOf(msg.sender);\n        require(userDiemBalance >= diemAmountToBurn, Errors.INSUFFICIENT_BALANCE);\n        require(lockedStakes[msg.sender].outstandingDiemAmount > 0, Errors.INSUFFICIENT_OUTSTANDING_DIEMS);\n\n        _claim(msg.sender);\n        LockedStakeInfo storage lockedStake = lockedStakes[msg.sender];\n\n        // NOTE: we unlock diem at the average mint rate of the user across all their locked sVVV\n        uint256 sVVVToUnlock = diemAmountToBurn * lockedStake.sVVVLockedAmount / lockedStake.outstandingDiemAmount;\n        require(lockedStake.sVVVLockedAmount >= sVVVToUnlock, Errors.INSUFFICIENT_LOCKED_BALANCE);\n\n        // update locked stake info\n        lockedStake.sVVVLockedAmount -= sVVVToUnlock;\n        require(lockedStake.outstandingDiemAmount >= diemAmountToBurn, Errors.INSUFFICIENT_OUTSTANDING_DIEMS);\n        lockedStake.outstandingDiemAmount -= diemAmountToBurn;\n        totalLockedStakedVVV -= sVVVToUnlock;\n\n        // burn diem from user\n        diem.burn(msg.sender, diemAmountToBurn);\n\n        // this should now allow their sVVV to be unstaked if desired.\n        emit DiemBurned(sVVVToUnlock, diemAmountToBurn);\n        stakes[msg.sender].rewardDebt = getRewardDebt(msg.sender);\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                               ERC20-like Logic\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Returns the balance of the user excluding their locked sVVV\n    function balanceOfUnlocked(address user) public view returns (uint256) {\n        return balanceOf(user) - lockedStakes[user].sVVVLockedAmount;\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                               INTERNALS\n    //////////////////////////////////////////////////////////////*/\n    function _claim(address user) internal virtual override {\n        _updateGlobalReward();\n        uint256 pending = pendingRewards(user);\n        if (pending > 0) {\n            venice.transfer(user, pending);\n            emit Claimed(user, pending);\n        }\n    }\n\n    function _updateGlobalReward() internal virtual override {\n        uint256 currentTime = block.timestamp;\n        if (currentTime <= lastRewardTimestamp) return;\n\n        uint256 timeElapsed = currentTime - lastRewardTimestamp;\n        lastRewardTimestamp = currentTime;\n\n        uint256 minted = timeElapsed * emissionRatePerSecond;\n        if (minted == 0) return;\n\n        uint256 venicePortion = (minted * getVenicePercentage()) / 1e18;\n        uint256 rawStakerPortion = minted - venicePortion;\n\n        // the raw starker portion is divided into three buckets:\n        // 1. rewards to stakers\n        // 2. rewards to locked stakes\n        // 3. rewards to venice (from locked stakes)\n\n        uint256 _totalSupply = totalSupply(); // NOTE: this cannot be 0 due to minting to this address in v1.\n        uint256 totalUnlockedSupply = _totalSupply - totalLockedStakedVVV;\n        uint256 stakerPortionLocked = (rawStakerPortion * totalLockedStakedVVV) / _totalSupply;\n        uint256 stakerPortionUnlocked = rawStakerPortion - stakerPortionLocked;\n        uint256 veniceToMintToAllStakers = 0;\n\n        if (stakerPortionUnlocked > 0) {\n            uint256 stakerRewardDelta = (stakerPortionUnlocked * ACC_REWARD_SCALE) / totalUnlockedSupply;\n            if (stakerRewardDelta > 0) {\n                uint256 distributed = (stakerRewardDelta * totalUnlockedSupply) / ACC_REWARD_SCALE;\n                veniceToMintToAllStakers += distributed;\n                accRewardPerShare += stakerRewardDelta;\n            }\n        }\n\n        if (stakerPortionLocked > 0) {\n            // we have rewards for locked stakers and also to venice!\n            uint256 venicePortionLocked = (stakerPortionLocked * veniceEmissionsPercentageWhenLocked) / 1e18;\n            uint256 stakerPortionLockedForRewards = stakerPortionLocked - venicePortionLocked;\n            uint256 lockedStakerRewardDelta = (stakerPortionLockedForRewards * ACC_REWARD_SCALE) / totalLockedStakedVVV;\n            if (lockedStakerRewardDelta > 0) {\n                uint256 distributedToLockedStakers = (lockedStakerRewardDelta * totalLockedStakedVVV) / ACC_REWARD_SCALE;\n                accRewardPerShareLocked += lockedStakerRewardDelta;\n                veniceToMintToAllStakers += distributedToLockedStakers;\n            }\n            venicePortion += venicePortionLocked;\n        }\n\n        if (venicePortion > 0) {\n            venice.mint(treasury, venicePortion);\n        }\n\n        if (veniceToMintToAllStakers > 0) {\n            venice.mint(address(this), veniceToMintToAllStakers);\n        }\n    }\n}\n"},"lib/Errors.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity =0.8.26;\n\nlibrary Errors {\n    string constant STAKE_ZERO               = \"STAKE_ZERO\";\n    string constant UNSTAKE_ZERO             = \"UNSTAKE_ZERO\";\n    string constant LOCK_ZERO                = \"LOCK_ZERO\";\n    string constant NO_COOLDOWN              = \"NO_COOLDOWN\";\n    string constant COOLDOWN_NOT_OVER        = \"COOLDOWN_NOT_OVER\";\n    string constant NOT_TRANSFERRABLE        = \"NOT_TRANSFERRABLE\";\n    string constant NOT_RELAYER              = \"NOT_RELAYER\";\n    string constant INVALID_UTILIZATION_RATE = \"INVALID_UTILIZATION_RATE\";\n    string constant INSUFFICIENT_SUPPLY      = \"INSUFFICIENT_SUPPLY\";\n    string constant ALREADY_INITIALIZED            = \"ALREADY_INITIALIZED\";\n    string constant INSUFFICIENT_BALANCE           = \"INSUFFICIENT_BALANCE\";\n    string constant INSUFFICIENT_STAKED_BALANCE    = \"INSUFFICIENT_STAKED_BALANCE\";\n    string constant INSUFFICIENT_LOCKED_BALANCE    = \"INSUFFICIENT_LOCKED_BALANCE\";\n    string constant INSUFFICIENT_OUTSTANDING_DIEMS = \"INSUFFICIENT_OUTSTANDING_DIEMS\";\n    string constant BURN_ZERO                      = \"BURN_ZERO\";\n    string constant INVALID_EMISSIONS_PERCENTAGE   = \"INVALID_EMISSIONS_PERCENTAGE\";\n    string constant MIN_AMOUNT_OUT                 = \"BELOW_MIN_DIEM_AMOUNT_OUT\";\n    string constant COOLDOWN_IN_PROGRESS           = \"COOLDOWN_IN_PROGRESS\";\n}"},"src/Diem.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity =0.8.26;\n\nimport {ERC20} from \"@openzeppelin/contracts/token/ERC20/ERC20.sol\";\nimport {AccessControl} from \"@openzeppelin/contracts/access/AccessControl.sol\";\nimport {Errors} from \"../lib/Errors.sol\";\n\n/// @title Diem\n/// @notice ERC20 token created by StakingV2 contract by staking sVVV.\n/// user who would like to access VeniceAI API services must stake Diem in this contract\n/// and request withdrawals that will be delayed by a cooldown period.\ncontract Diem is ERC20, AccessControl {\n    bytes32 public constant MINTER_BURNER_ROLE = keccak256(\"MINTER_BURNER_ROLE\");\n\n    event Staked(address indexed user, uint256 amount);\n    event Unstaked(address indexed user, uint256 amount);\n    event UnstakeInitiated(address indexed user, uint256 amount);\n    event CooldownDurationUpdated(uint256 cooldownDuration);\n\n    /// @notice Cooldown period for withdrawals\n    uint256 public cooldownDuration = 1 days;\n\n    /// @notice Total amount of Diem staked in the contract\n    uint256 public totalStaked;\n\n    struct StakedInfo {\n        uint256 amountStaked;\n        uint256 coolDownEnd;\n        uint256 coolDownAmount;\n    }\n\n    mapping(address => StakedInfo) public stakedInfos;\n\n    constructor() ERC20(\"Diem\", \"DIEM\") {\n        _grantRole(DEFAULT_ADMIN_ROLE, msg.sender); // has the ability to add minter/burner roles\n    }\n\n    /// @notice Mints new Diem tokens - only callable by minter role (StakingV2)\n    /// @param to The address to mint the tokens to\n    /// @param amount The amount of tokens to mint\n    function mint(address to, uint256 amount) external onlyRole(MINTER_BURNER_ROLE) {\n        _mint(to, amount);\n    }\n\n    /// @notice Burns Diem tokens - only callable by minter role (StakingV2)\n    /// @param from The address to burn the tokens from\n    /// @param amount The amount of tokens to burn\n    function burn(address from, uint256 amount) external onlyRole(MINTER_BURNER_ROLE) {\n        _burn(from, amount);\n    }\n\n    /// @notice Sets the cooldown duration for withdrawals - only callable by default admin role\n    /// @param _cooldownDuration The new cooldown duration\n    function setCooldownDuration(uint256 _cooldownDuration) external onlyRole(DEFAULT_ADMIN_ROLE) {\n        cooldownDuration = _cooldownDuration;\n        emit CooldownDurationUpdated(_cooldownDuration);\n    }\n\n    /// @notice Stakes Diem tokens for use within the VeniceAI ecosystem\n    /// @param amount The amount of tokens to stake\n    function stake(uint256 amount) external {\n        require(amount > 0, Errors.STAKE_ZERO);\n        require(balanceOf(msg.sender) >= amount, Errors.INSUFFICIENT_BALANCE);\n\n        totalStaked += amount;\n        stakedInfos[msg.sender].amountStaked += amount;\n        _update(msg.sender, address(this), amount); // avoid approvals\n        emit Staked(msg.sender, amount);\n    }\n\n    /// @notice Initiates a cooldown period for unstaking Diem tokens\n    /// @param amount The amount of tokens to initiate the cooldown for\n    function initiateUnstake(uint256 amount) external {\n        require(amount > 0, Errors.UNSTAKE_ZERO);\n        require(stakedInfos[msg.sender].amountStaked >= amount, Errors.INSUFFICIENT_STAKED_BALANCE);\n        StakedInfo storage stakedInfo = stakedInfos[msg.sender];\n        stakedInfo.coolDownEnd = block.timestamp + cooldownDuration;\n        stakedInfo.coolDownAmount += amount; // users can increase amount in cooldown, but have to wait again.\n        stakedInfo.amountStaked -= amount;\n        emit UnstakeInitiated(msg.sender, amount);\n    }\n\n    /// @notice Unstakes Diem tokens after the cooldown period has ended transferring them to the user\n    function unstake() external {\n        StakedInfo storage stakedInfo = stakedInfos[msg.sender];\n        require(stakedInfo.coolDownAmount > 0, Errors.NO_COOLDOWN);\n        require(block.timestamp >= stakedInfo.coolDownEnd, Errors.COOLDOWN_NOT_OVER);\n        uint256 amountToUnstake = stakedInfo.coolDownAmount;\n        totalStaked -= amountToUnstake;\n        stakedInfo.coolDownAmount = 0; // critical to reset this to 0!\n        stakedInfo.coolDownEnd = 0;\n        _update(address(this), msg.sender, amountToUnstake);\n        emit Unstaked(msg.sender, amountToUnstake);\n    }\n}\n"},"interface/IStakingV2.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity =0.8.26;\n\n/**\n * @title IStakingV2\n * @notice Interface for the Venice StakingV2 functionality.\n *         This interface extends the IStaking interface to include new functionality\n */\ninterface IStakingV2 {\n    event VeniceEmissionsPercentageUpdated(uint newPercentage);\n    event VeniceEmissionsPercentageWhenLockedUpdated(uint newPercentage);\n    event DiemMintRatesUpdated(uint[256] diemSupply, uint[256] diemMintRates);\n    event DiemMinted(uint svvvLocked, uint diemMinted);\n    event DiemBurned(uint svvvUnlocked, uint diemBurned);\n}\n\n"},"src/Staking.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity =0.8.26;\n\nimport {UUPSUpgradeable} from \"@openzeppelin-contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol\";\nimport {ERC20Upgradeable} from \"@openzeppelin-contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol\";\nimport {OwnableUpgradeable} from \"@openzeppelin-contracts-upgradeable/access/OwnableUpgradeable.sol\";\n\nimport {Errors} from \"../lib/Errors.sol\";\nimport {Venice} from \"./Venice.sol\";\nimport {Oracle} from \"./Oracle.sol\";\nimport {IStaking} from \"../interface/IStaking.sol\";\n\ncontract Staking is IStaking, UUPSUpgradeable, ERC20Upgradeable, OwnableUpgradeable {\n    uint256 public constant ACC_REWARD_SCALE = 1e36;\n\n    Venice public venice;\n    Oracle public oracle;\n\n    address public treasury;\n    uint256 public emissionRatePerSecond;\n    uint256 public cooldownDuration;\n\n    struct StakeInfo {\n        uint256 rewardDebt;\n        uint256 cooldownEnd;\n        uint256 cooldownAmount;\n    }\n\n    mapping(address => StakeInfo) public stakes;\n\n    uint256 public accRewardPerShare;\n    uint256 public lastRewardTimestamp;\n\n    /// @custom:oz-upgrades-unsafe-allow constructor\n    constructor() {\n        _disableInitializers();\n    }\n\n    function initialize(address _venice, address _oracle, address _treasury) public initializer {\n        __ERC20_init(\"Staked Venice Token\", \"sVVV\");\n        __Ownable_init(msg.sender);\n        __UUPSUpgradeable_init();\n\n        venice = Venice(_venice);\n        oracle = Oracle(_oracle);\n        treasury = _treasury;\n        emissionRatePerSecond = 14_000_000 * 10 ** 18 / uint256(365 days); // approx. 14M/Year\n        cooldownDuration = 7 days;\n        lastRewardTimestamp = block.timestamp;\n\n        _mint(address(this), 1e18); // Initial supply to mitigate inflation attack\n    }\n\n    /// @inheritdoc IStaking\n    function setTreasury(address _treasury) external onlyOwner {\n        treasury = _treasury;\n        emit TreasuryUpdated(_treasury);\n    }\n\n    /// @inheritdoc IStaking\n    function setEmissionRate(uint256 _emissionRate) external onlyOwner {\n        _updateGlobalReward();\n        emissionRatePerSecond = _emissionRate;\n        emit EmissionRateUpdated(_emissionRate);\n    }\n\n    /// @inheritdoc IStaking\n    function setCooldownDuration(uint256 _cooldownDuration) external onlyOwner {\n        cooldownDuration = _cooldownDuration;\n        emit CooldownDurationUpdated(_cooldownDuration);\n    }\n\n    function _update(address from, address to, uint256 value) internal virtual override {\n        if (from != address(0) && to != address(0)) revert(Errors.NOT_TRANSFERRABLE);\n        super._update(from, to, value);\n    }\n\n    function _authorizeUpgrade(address newImplementation) internal override onlyOwner {}\n\n    /*//////////////////////////////////////////////////////////////\n                          CORE STAKING LOGIC\n    //////////////////////////////////////////////////////////////*/\n    /// @inheritdoc IStaking\n    function stake(address recipient, uint256 amount) external virtual {\n        require(amount > 0, Errors.STAKE_ZERO);\n        _claim(recipient);\n        _mint(recipient, amount);\n\n        venice.transferFrom(msg.sender, address(this), amount);\n        stakes[recipient].rewardDebt = (balanceOf(recipient) * accRewardPerShare) / ACC_REWARD_SCALE;\n        emit Staked(recipient, amount);\n    }\n\n    /// @inheritdoc IStaking\n    function initiateUnstake(uint256 amount) external virtual {\n        require(amount > 0, Errors.UNSTAKE_ZERO);\n        _claim(msg.sender);\n        _burn(msg.sender, amount);\n\n        StakeInfo storage stakeInfo = stakes[msg.sender];\n        stakeInfo.cooldownEnd = block.timestamp + cooldownDuration;\n        stakeInfo.cooldownAmount = amount;\n        stakeInfo.rewardDebt = (balanceOf(msg.sender) * accRewardPerShare) / ACC_REWARD_SCALE;\n\n        emit UnstakeInitiated(msg.sender, amount);\n    }\n\n    /// @inheritdoc IStaking\n    function finalizeUnstake() external {\n        StakeInfo storage stakeInfo = stakes[msg.sender];\n        require(stakeInfo.cooldownAmount > 0, Errors.NO_COOLDOWN);\n        require(block.timestamp >= stakeInfo.cooldownEnd, Errors.COOLDOWN_NOT_OVER);\n\n        uint256 amount = stakeInfo.cooldownAmount;\n        stakeInfo.cooldownEnd = 0;\n        stakeInfo.cooldownAmount = 0;\n\n        venice.transfer(msg.sender, amount);\n\n        emit UnstakeFinalized(msg.sender, amount);\n    }\n\n    /// @inheritdoc IStaking\n    function claim() external virtual {\n        _claim(msg.sender);\n        stakes[msg.sender].rewardDebt = (balanceOf(msg.sender) * accRewardPerShare) / ACC_REWARD_SCALE;\n    }\n\n    /// @inheritdoc IStaking\n    function pendingRewards(address _user) public view virtual returns (uint256) {\n        uint256 _accRewardPerShare = accRewardPerShare;\n        uint256 currentTime = block.timestamp;\n\n        if (currentTime > lastRewardTimestamp) {\n            // _updateGlobalReward() was not called\n            uint256 timeElapsed = currentTime - lastRewardTimestamp;\n            uint256 minted = timeElapsed * emissionRatePerSecond;\n            uint256 venicePortion = (minted * getVenicePercentage()) / 1e18;\n            uint256 stakerPortion = minted - venicePortion;\n\n            _accRewardPerShare += (stakerPortion * ACC_REWARD_SCALE) / totalSupply();\n        }\n\n        uint256 userAccumulated = (balanceOf(_user) * _accRewardPerShare) / ACC_REWARD_SCALE;\n        return userAccumulated - stakes[_user].rewardDebt;\n    }\n\n    /// @inheritdoc IStaking\n    function getVenicePercentage() public view virtual returns (uint256) {\n        uint256 utilization = oracle.utilizationRate();\n        return utilization <= 5e17 // 5e17 = 50%\n            ? 2e17 + (12e17 * utilization) / 1e18\n            : 14e17 - (12e17 * utilization) / 1e18;\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                               INTERNALS\n    //////////////////////////////////////////////////////////////*/\n    function _claim(address user) internal virtual {\n        require(stakes[user].cooldownAmount == 0, Errors.COOLDOWN_NOT_OVER);\n        _updateGlobalReward();\n        uint256 pending = pendingRewards(user);\n        if (pending > 0) {\n            venice.transfer(user, pending);\n            emit Claimed(user, pending);\n        }\n    }\n\n    function _updateGlobalReward() internal virtual {\n        uint256 currentTime = block.timestamp;\n        if (currentTime <= lastRewardTimestamp) return;\n\n        uint256 timeElapsed = currentTime - lastRewardTimestamp;\n        lastRewardTimestamp = currentTime;\n\n        uint256 minted = timeElapsed * emissionRatePerSecond;\n        if (minted == 0) return;\n\n        uint256 venicePortion = (minted * getVenicePercentage()) / 1e18;\n        uint256 rawStakerPortion = minted - venicePortion;\n\n        if (venicePortion > 0) {\n            venice.mint(treasury, venicePortion);\n        }\n\n        uint256 _totalSupply = totalSupply();\n        if (rawStakerPortion > 0) {\n            uint256 stakerRewardDelta = (rawStakerPortion * ACC_REWARD_SCALE) / totalSupply();\n            if (stakerRewardDelta > 0) {\n                uint256 distributed = (stakerRewardDelta * _totalSupply) / ACC_REWARD_SCALE;\n                venice.mint(address(this), distributed);\n                accRewardPerShare += stakerRewardDelta;\n            }\n        }\n    }\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/token/ERC20/ERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.2.0-rc.0) (token/ERC20/ERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"./IERC20.sol\";\nimport {IERC20Metadata} from \"./extensions/IERC20Metadata.sol\";\nimport {Context} from \"../../utils/Context.sol\";\nimport {IERC20Errors} from \"../../interfaces/draft-IERC6093.sol\";\n\n/**\n * @dev Implementation of the {IERC20} interface.\n *\n * This implementation is agnostic to the way tokens are created. This means\n * that a supply mechanism has to be added in a derived contract using {_mint}.\n *\n * TIP: For a detailed writeup see our guide\n * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How\n * to implement supply mechanisms].\n *\n * The default value of {decimals} is 18. To change this, you should override\n * this function so it returns a different value.\n *\n * We have followed general OpenZeppelin Contracts guidelines: functions revert\n * instead returning `false` on failure. This behavior is nonetheless\n * conventional and does not conflict with the expectations of ERC-20\n * applications.\n */\nabstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {\n    mapping(address account => uint256) private _balances;\n\n    mapping(address account => mapping(address spender => uint256)) private _allowances;\n\n    uint256 private _totalSupply;\n\n    string private _name;\n    string private _symbol;\n\n    /**\n     * @dev Sets the values for {name} and {symbol}.\n     *\n     * All two of these values are immutable: they can only be set once during\n     * construction.\n     */\n    constructor(string memory name_, string memory symbol_) {\n        _name = name_;\n        _symbol = symbol_;\n    }\n\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() public view virtual returns (string memory) {\n        return _name;\n    }\n\n    /**\n     * @dev Returns the symbol of the token, usually a shorter version of the\n     * name.\n     */\n    function symbol() public view virtual returns (string memory) {\n        return _symbol;\n    }\n\n    /**\n     * @dev Returns the number of decimals used to get its user representation.\n     * For example, if `decimals` equals `2`, a balance of `505` tokens should\n     * be displayed to a user as `5.05` (`505 / 10 ** 2`).\n     *\n     * Tokens usually opt for a value of 18, imitating the relationship between\n     * Ether and Wei. This is the default value returned by this function, unless\n     * it's overridden.\n     *\n     * NOTE: This information is only used for _display_ purposes: it in\n     * no way affects any of the arithmetic of the contract, including\n     * {IERC20-balanceOf} and {IERC20-transfer}.\n     */\n    function decimals() public view virtual returns (uint8) {\n        return 18;\n    }\n\n    /**\n     * @dev See {IERC20-totalSupply}.\n     */\n    function totalSupply() public view virtual returns (uint256) {\n        return _totalSupply;\n    }\n\n    /**\n     * @dev See {IERC20-balanceOf}.\n     */\n    function balanceOf(address account) public view virtual returns (uint256) {\n        return _balances[account];\n    }\n\n    /**\n     * @dev See {IERC20-transfer}.\n     *\n     * Requirements:\n     *\n     * - `to` cannot be the zero address.\n     * - the caller must have a balance of at least `value`.\n     */\n    function transfer(address to, uint256 value) public virtual returns (bool) {\n        address owner = _msgSender();\n        _transfer(owner, to, value);\n        return true;\n    }\n\n    /**\n     * @dev See {IERC20-allowance}.\n     */\n    function allowance(address owner, address spender) public view virtual returns (uint256) {\n        return _allowances[owner][spender];\n    }\n\n    /**\n     * @dev See {IERC20-approve}.\n     *\n     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on\n     * `transferFrom`. This is semantically equivalent to an infinite approval.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     */\n    function approve(address spender, uint256 value) public virtual returns (bool) {\n        address owner = _msgSender();\n        _approve(owner, spender, value);\n        return true;\n    }\n\n    /**\n     * @dev See {IERC20-transferFrom}.\n     *\n     * Skips emitting an {Approval} event indicating an allowance update. This is not\n     * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].\n     *\n     * NOTE: Does not update the allowance if the current allowance\n     * is the maximum `uint256`.\n     *\n     * Requirements:\n     *\n     * - `from` and `to` cannot be the zero address.\n     * - `from` must have a balance of at least `value`.\n     * - the caller must have allowance for ``from``'s tokens of at least\n     * `value`.\n     */\n    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {\n        address spender = _msgSender();\n        _spendAllowance(from, spender, value);\n        _transfer(from, to, value);\n        return true;\n    }\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to`.\n     *\n     * This internal function is equivalent to {transfer}, and can be used to\n     * e.g. implement automatic token fees, slashing mechanisms, etc.\n     *\n     * Emits a {Transfer} event.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _transfer(address from, address to, uint256 value) internal {\n        if (from == address(0)) {\n            revert ERC20InvalidSender(address(0));\n        }\n        if (to == address(0)) {\n            revert ERC20InvalidReceiver(address(0));\n        }\n        _update(from, to, value);\n    }\n\n    /**\n     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`\n     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding\n     * this function.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _update(address from, address to, uint256 value) internal virtual {\n        if (from == address(0)) {\n            // Overflow check required: The rest of the code assumes that totalSupply never overflows\n            _totalSupply += value;\n        } else {\n            uint256 fromBalance = _balances[from];\n            if (fromBalance < value) {\n                revert ERC20InsufficientBalance(from, fromBalance, value);\n            }\n            unchecked {\n                // Overflow not possible: value <= fromBalance <= totalSupply.\n                _balances[from] = fromBalance - value;\n            }\n        }\n\n        if (to == address(0)) {\n            unchecked {\n                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.\n                _totalSupply -= value;\n            }\n        } else {\n            unchecked {\n                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.\n                _balances[to] += value;\n            }\n        }\n\n        emit Transfer(from, to, value);\n    }\n\n    /**\n     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).\n     * Relies on the `_update` mechanism\n     *\n     * Emits a {Transfer} event with `from` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _mint(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert ERC20InvalidReceiver(address(0));\n        }\n        _update(address(0), account, value);\n    }\n\n    /**\n     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.\n     * Relies on the `_update` mechanism.\n     *\n     * Emits a {Transfer} event with `to` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead\n     */\n    function _burn(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert ERC20InvalidSender(address(0));\n        }\n        _update(account, address(0), value);\n    }\n\n    /**\n     * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.\n     *\n     * This internal function is equivalent to `approve`, and can be used to\n     * e.g. set automatic allowances for certain subsystems, etc.\n     *\n     * Emits an {Approval} event.\n     *\n     * Requirements:\n     *\n     * - `owner` cannot be the zero address.\n     * - `spender` cannot be the zero address.\n     *\n     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.\n     */\n    function _approve(address owner, address spender, uint256 value) internal {\n        _approve(owner, spender, value, true);\n    }\n\n    /**\n     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.\n     *\n     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by\n     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any\n     * `Approval` event during `transferFrom` operations.\n     *\n     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to\n     * true using the following override:\n     *\n     * ```solidity\n     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {\n     *     super._approve(owner, spender, value, true);\n     * }\n     * ```\n     *\n     * Requirements are the same as {_approve}.\n     */\n    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {\n        if (owner == address(0)) {\n            revert ERC20InvalidApprover(address(0));\n        }\n        if (spender == address(0)) {\n            revert ERC20InvalidSpender(address(0));\n        }\n        _allowances[owner][spender] = value;\n        if (emitEvent) {\n            emit Approval(owner, spender, value);\n        }\n    }\n\n    /**\n     * @dev Updates `owner` s allowance for `spender` based on spent `value`.\n     *\n     * Does not update the allowance value in case of infinite allowance.\n     * Revert if not enough allowance is available.\n     *\n     * Does not emit an {Approval} event.\n     */\n    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {\n        uint256 currentAllowance = allowance(owner, spender);\n        if (currentAllowance < type(uint256).max) {\n            if (currentAllowance < value) {\n                revert ERC20InsufficientAllowance(spender, currentAllowance, value);\n            }\n            unchecked {\n                _approve(owner, spender, currentAllowance - value, false);\n            }\n        }\n    }\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/access/AccessControl.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol)\n\npragma solidity ^0.8.20;\n\nimport {IAccessControl} from \"./IAccessControl.sol\";\nimport {Context} from \"../utils/Context.sol\";\nimport {ERC165} from \"../utils/introspection/ERC165.sol\";\n\n/**\n * @dev Contract module that allows children to implement role-based access\n * control mechanisms. This is a lightweight version that doesn't allow enumerating role\n * members except through off-chain means by accessing the contract event logs. Some\n * applications may benefit from on-chain enumerability, for those cases see\n * {AccessControlEnumerable}.\n *\n * Roles are referred to by their `bytes32` identifier. These should be exposed\n * in the external API and be unique. The best way to achieve this is by\n * using `public constant` hash digests:\n *\n * ```solidity\n * bytes32 public constant MY_ROLE = keccak256(\"MY_ROLE\");\n * ```\n *\n * Roles can be used to represent a set of permissions. To restrict access to a\n * function call, use {hasRole}:\n *\n * ```solidity\n * function foo() public {\n *     require(hasRole(MY_ROLE, msg.sender));\n *     ...\n * }\n * ```\n *\n * Roles can be granted and revoked dynamically via the {grantRole} and\n * {revokeRole} functions. Each role has an associated admin role, and only\n * accounts that have a role's admin role can call {grantRole} and {revokeRole}.\n *\n * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means\n * that only accounts with this role will be able to grant or revoke other\n * roles. More complex role relationships can be created by using\n * {_setRoleAdmin}.\n *\n * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to\n * grant and revoke this role. Extra precautions should be taken to secure\n * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules}\n * to enforce additional security measures for this role.\n */\nabstract contract AccessControl is Context, IAccessControl, ERC165 {\n    struct RoleData {\n        mapping(address account => bool) hasRole;\n        bytes32 adminRole;\n    }\n\n    mapping(bytes32 role => RoleData) private _roles;\n\n    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;\n\n    /**\n     * @dev Modifier that checks that an account has a specific role. Reverts\n     * with an {AccessControlUnauthorizedAccount} error including the required role.\n     */\n    modifier onlyRole(bytes32 role) {\n        _checkRole(role);\n        _;\n    }\n\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\n    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);\n    }\n\n    /**\n     * @dev Returns `true` if `account` has been granted `role`.\n     */\n    function hasRole(bytes32 role, address account) public view virtual returns (bool) {\n        return _roles[role].hasRole[account];\n    }\n\n    /**\n     * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()`\n     * is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier.\n     */\n    function _checkRole(bytes32 role) internal view virtual {\n        _checkRole(role, _msgSender());\n    }\n\n    /**\n     * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account`\n     * is missing `role`.\n     */\n    function _checkRole(bytes32 role, address account) internal view virtual {\n        if (!hasRole(role, account)) {\n            revert AccessControlUnauthorizedAccount(account, role);\n        }\n    }\n\n    /**\n     * @dev Returns the admin role that controls `role`. See {grantRole} and\n     * {revokeRole}.\n     *\n     * To change a role's admin, use {_setRoleAdmin}.\n     */\n    function getRoleAdmin(bytes32 role) public view virtual returns (bytes32) {\n        return _roles[role].adminRole;\n    }\n\n    /**\n     * @dev Grants `role` to `account`.\n     *\n     * If `account` had not been already granted `role`, emits a {RoleGranted}\n     * event.\n     *\n     * Requirements:\n     *\n     * - the caller must have ``role``'s admin role.\n     *\n     * May emit a {RoleGranted} event.\n     */\n    function grantRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {\n        _grantRole(role, account);\n    }\n\n    /**\n     * @dev Revokes `role` from `account`.\n     *\n     * If `account` had been granted `role`, emits a {RoleRevoked} event.\n     *\n     * Requirements:\n     *\n     * - the caller must have ``role``'s admin role.\n     *\n     * May emit a {RoleRevoked} event.\n     */\n    function revokeRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {\n        _revokeRole(role, account);\n    }\n\n    /**\n     * @dev Revokes `role` from the calling account.\n     *\n     * Roles are often managed via {grantRole} and {revokeRole}: this function's\n     * purpose is to provide a mechanism for accounts to lose their privileges\n     * if they are compromised (such as when a trusted device is misplaced).\n     *\n     * If the calling account had been revoked `role`, emits a {RoleRevoked}\n     * event.\n     *\n     * Requirements:\n     *\n     * - the caller must be `callerConfirmation`.\n     *\n     * May emit a {RoleRevoked} event.\n     */\n    function renounceRole(bytes32 role, address callerConfirmation) public virtual {\n        if (callerConfirmation != _msgSender()) {\n            revert AccessControlBadConfirmation();\n        }\n\n        _revokeRole(role, callerConfirmation);\n    }\n\n    /**\n     * @dev Sets `adminRole` as ``role``'s admin role.\n     *\n     * Emits a {RoleAdminChanged} event.\n     */\n    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {\n        bytes32 previousAdminRole = getRoleAdmin(role);\n        _roles[role].adminRole = adminRole;\n        emit RoleAdminChanged(role, previousAdminRole, adminRole);\n    }\n\n    /**\n     * @dev Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted.\n     *\n     * Internal function without access restriction.\n     *\n     * May emit a {RoleGranted} event.\n     */\n    function _grantRole(bytes32 role, address account) internal virtual returns (bool) {\n        if (!hasRole(role, account)) {\n            _roles[role].hasRole[account] = true;\n            emit RoleGranted(role, account, _msgSender());\n            return true;\n        } else {\n            return false;\n        }\n    }\n\n    /**\n     * @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked.\n     *\n     * Internal function without access restriction.\n     *\n     * May emit a {RoleRevoked} event.\n     */\n    function _revokeRole(bytes32 role, address account) internal virtual returns (bool) {\n        if (hasRole(role, account)) {\n            _roles[role].hasRole[account] = false;\n            emit RoleRevoked(role, account, _msgSender());\n            return true;\n        } else {\n            return false;\n        }\n    }\n}\n"},"dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/proxy/utils/UUPSUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.2.0-rc.0) (proxy/utils/UUPSUpgradeable.sol)\n\npragma solidity ^0.8.22;\n\nimport {IERC1822Proxiable} from \"@openzeppelin/contracts/interfaces/draft-IERC1822.sol\";\nimport {ERC1967Utils} from \"@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol\";\nimport {Initializable} from \"./Initializable.sol\";\n\n/**\n * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an\n * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy.\n *\n * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is\n * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing\n * `UUPSUpgradeable` with a custom implementation of upgrades.\n *\n * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism.\n */\nabstract contract UUPSUpgradeable is Initializable, IERC1822Proxiable {\n    /// @custom:oz-upgrades-unsafe-allow state-variable-immutable\n    address private immutable __self = address(this);\n\n    /**\n     * @dev The version of the upgrade interface of the contract. If this getter is missing, both `upgradeTo(address)`\n     * and `upgradeToAndCall(address,bytes)` are present, and `upgradeTo` must be used if no function should be called,\n     * while `upgradeToAndCall` will invoke the `receive` function if the second argument is the empty byte string.\n     * If the getter returns `\"5.0.0\"`, only `upgradeToAndCall(address,bytes)` is present, and the second argument must\n     * be the empty byte string if no function should be called, making it impossible to invoke the `receive` function\n     * during an upgrade.\n     */\n    string public constant UPGRADE_INTERFACE_VERSION = \"5.0.0\";\n\n    /**\n     * @dev The call is from an unauthorized context.\n     */\n    error UUPSUnauthorizedCallContext();\n\n    /**\n     * @dev The storage `slot` is unsupported as a UUID.\n     */\n    error UUPSUnsupportedProxiableUUID(bytes32 slot);\n\n    /**\n     * @dev Check that the execution is being performed through a delegatecall call and that the execution context is\n     * a proxy contract with an implementation (as defined in ERC-1967) pointing to self. This should only be the case\n     * for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a\n     * function through ERC-1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to\n     * fail.\n     */\n    modifier onlyProxy() {\n        _checkProxy();\n        _;\n    }\n\n    /**\n     * @dev Check that the execution is not being performed through a delegate call. This allows a function to be\n     * callable on the implementing contract but not through proxies.\n     */\n    modifier notDelegated() {\n        _checkNotDelegated();\n        _;\n    }\n\n    function __UUPSUpgradeable_init() internal onlyInitializing {\n    }\n\n    function __UUPSUpgradeable_init_unchained() internal onlyInitializing {\n    }\n    /**\n     * @dev Implementation of the ERC-1822 {proxiableUUID} function. This returns the storage slot used by the\n     * implementation. It is used to validate the implementation's compatibility when performing an upgrade.\n     *\n     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\n     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\n     * function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier.\n     */\n    function proxiableUUID() external view virtual notDelegated returns (bytes32) {\n        return ERC1967Utils.IMPLEMENTATION_SLOT;\n    }\n\n    /**\n     * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call\n     * encoded in `data`.\n     *\n     * Calls {_authorizeUpgrade}.\n     *\n     * Emits an {Upgraded} event.\n     *\n     * @custom:oz-upgrades-unsafe-allow-reachable delegatecall\n     */\n    function upgradeToAndCall(address newImplementation, bytes memory data) public payable virtual onlyProxy {\n        _authorizeUpgrade(newImplementation);\n        _upgradeToAndCallUUPS(newImplementation, data);\n    }\n\n    /**\n     * @dev Reverts if the execution is not performed via delegatecall or the execution\n     * context is not of a proxy with an ERC-1967 compliant implementation pointing to self.\n     * See {_onlyProxy}.\n     */\n    function _checkProxy() internal view virtual {\n        if (\n            address(this) == __self || // Must be called through delegatecall\n            ERC1967Utils.getImplementation() != __self // Must be called through an active proxy\n        ) {\n            revert UUPSUnauthorizedCallContext();\n        }\n    }\n\n    /**\n     * @dev Reverts if the execution is performed via delegatecall.\n     * See {notDelegated}.\n     */\n    function _checkNotDelegated() internal view virtual {\n        if (address(this) != __self) {\n            // Must not be called through delegatecall\n            revert UUPSUnauthorizedCallContext();\n        }\n    }\n\n    /**\n     * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by\n     * {upgradeToAndCall}.\n     *\n     * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}.\n     *\n     * ```solidity\n     * function _authorizeUpgrade(address) internal onlyOwner {}\n     * ```\n     */\n    function _authorizeUpgrade(address newImplementation) internal virtual;\n\n    /**\n     * @dev Performs an implementation upgrade with a security check for UUPS proxies, and additional setup call.\n     *\n     * As a security check, {proxiableUUID} is invoked in the new implementation, and the return value\n     * is expected to be the implementation slot in ERC-1967.\n     *\n     * Emits an {IERC1967-Upgraded} event.\n     */\n    function _upgradeToAndCallUUPS(address newImplementation, bytes memory data) private {\n        try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {\n            if (slot != ERC1967Utils.IMPLEMENTATION_SLOT) {\n                revert UUPSUnsupportedProxiableUUID(slot);\n            }\n            ERC1967Utils.upgradeToAndCall(newImplementation, data);\n        } catch {\n            // The implementation is not UUPS\n            revert ERC1967Utils.ERC1967InvalidImplementation(newImplementation);\n        }\n    }\n}\n"},"dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/token/ERC20/ERC20Upgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.2.0-rc.0) (token/ERC20/ERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {IERC20Metadata} from \"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\";\nimport {ContextUpgradeable} from \"../../utils/ContextUpgradeable.sol\";\nimport {IERC20Errors} from \"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\";\nimport {Initializable} from \"../../proxy/utils/Initializable.sol\";\n\n/**\n * @dev Implementation of the {IERC20} interface.\n *\n * This implementation is agnostic to the way tokens are created. This means\n * that a supply mechanism has to be added in a derived contract using {_mint}.\n *\n * TIP: For a detailed writeup see our guide\n * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How\n * to implement supply mechanisms].\n *\n * The default value of {decimals} is 18. To change this, you should override\n * this function so it returns a different value.\n *\n * We have followed general OpenZeppelin Contracts guidelines: functions revert\n * instead returning `false` on failure. This behavior is nonetheless\n * conventional and does not conflict with the expectations of ERC-20\n * applications.\n */\nabstract contract ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20, IERC20Metadata, IERC20Errors {\n    /// @custom:storage-location erc7201:openzeppelin.storage.ERC20\n    struct ERC20Storage {\n        mapping(address account => uint256) _balances;\n\n        mapping(address account => mapping(address spender => uint256)) _allowances;\n\n        uint256 _totalSupply;\n\n        string _name;\n        string _symbol;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ERC20\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant ERC20StorageLocation = 0x52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00;\n\n    function _getERC20Storage() private pure returns (ERC20Storage storage $) {\n        assembly {\n            $.slot := ERC20StorageLocation\n        }\n    }\n\n    /**\n     * @dev Sets the values for {name} and {symbol}.\n     *\n     * All two of these values are immutable: they can only be set once during\n     * construction.\n     */\n    function __ERC20_init(string memory name_, string memory symbol_) internal onlyInitializing {\n        __ERC20_init_unchained(name_, symbol_);\n    }\n\n    function __ERC20_init_unchained(string memory name_, string memory symbol_) internal onlyInitializing {\n        ERC20Storage storage $ = _getERC20Storage();\n        $._name = name_;\n        $._symbol = symbol_;\n    }\n\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() public view virtual returns (string memory) {\n        ERC20Storage storage $ = _getERC20Storage();\n        return $._name;\n    }\n\n    /**\n     * @dev Returns the symbol of the token, usually a shorter version of the\n     * name.\n     */\n    function symbol() public view virtual returns (string memory) {\n        ERC20Storage storage $ = _getERC20Storage();\n        return $._symbol;\n    }\n\n    /**\n     * @dev Returns the number of decimals used to get its user representation.\n     * For example, if `decimals` equals `2`, a balance of `505` tokens should\n     * be displayed to a user as `5.05` (`505 / 10 ** 2`).\n     *\n     * Tokens usually opt for a value of 18, imitating the relationship between\n     * Ether and Wei. This is the default value returned by this function, unless\n     * it's overridden.\n     *\n     * NOTE: This information is only used for _display_ purposes: it in\n     * no way affects any of the arithmetic of the contract, including\n     * {IERC20-balanceOf} and {IERC20-transfer}.\n     */\n    function decimals() public view virtual returns (uint8) {\n        return 18;\n    }\n\n    /**\n     * @dev See {IERC20-totalSupply}.\n     */\n    function totalSupply() public view virtual returns (uint256) {\n        ERC20Storage storage $ = _getERC20Storage();\n        return $._totalSupply;\n    }\n\n    /**\n     * @dev See {IERC20-balanceOf}.\n     */\n    function balanceOf(address account) public view virtual returns (uint256) {\n        ERC20Storage storage $ = _getERC20Storage();\n        return $._balances[account];\n    }\n\n    /**\n     * @dev See {IERC20-transfer}.\n     *\n     * Requirements:\n     *\n     * - `to` cannot be the zero address.\n     * - the caller must have a balance of at least `value`.\n     */\n    function transfer(address to, uint256 value) public virtual returns (bool) {\n        address owner = _msgSender();\n        _transfer(owner, to, value);\n        return true;\n    }\n\n    /**\n     * @dev See {IERC20-allowance}.\n     */\n    function allowance(address owner, address spender) public view virtual returns (uint256) {\n        ERC20Storage storage $ = _getERC20Storage();\n        return $._allowances[owner][spender];\n    }\n\n    /**\n     * @dev See {IERC20-approve}.\n     *\n     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on\n     * `transferFrom`. This is semantically equivalent to an infinite approval.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     */\n    function approve(address spender, uint256 value) public virtual returns (bool) {\n        address owner = _msgSender();\n        _approve(owner, spender, value);\n        return true;\n    }\n\n    /**\n     * @dev See {IERC20-transferFrom}.\n     *\n     * Skips emitting an {Approval} event indicating an allowance update. This is not\n     * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].\n     *\n     * NOTE: Does not update the allowance if the current allowance\n     * is the maximum `uint256`.\n     *\n     * Requirements:\n     *\n     * - `from` and `to` cannot be the zero address.\n     * - `from` must have a balance of at least `value`.\n     * - the caller must have allowance for ``from``'s tokens of at least\n     * `value`.\n     */\n    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {\n        address spender = _msgSender();\n        _spendAllowance(from, spender, value);\n        _transfer(from, to, value);\n        return true;\n    }\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to`.\n     *\n     * This internal function is equivalent to {transfer}, and can be used to\n     * e.g. implement automatic token fees, slashing mechanisms, etc.\n     *\n     * Emits a {Transfer} event.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _transfer(address from, address to, uint256 value) internal {\n        if (from == address(0)) {\n            revert ERC20InvalidSender(address(0));\n        }\n        if (to == address(0)) {\n            revert ERC20InvalidReceiver(address(0));\n        }\n        _update(from, to, value);\n    }\n\n    /**\n     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`\n     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding\n     * this function.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _update(address from, address to, uint256 value) internal virtual {\n        ERC20Storage storage $ = _getERC20Storage();\n        if (from == address(0)) {\n            // Overflow check required: The rest of the code assumes that totalSupply never overflows\n            $._totalSupply += value;\n        } else {\n            uint256 fromBalance = $._balances[from];\n            if (fromBalance < value) {\n                revert ERC20InsufficientBalance(from, fromBalance, value);\n            }\n            unchecked {\n                // Overflow not possible: value <= fromBalance <= totalSupply.\n                $._balances[from] = fromBalance - value;\n            }\n        }\n\n        if (to == address(0)) {\n            unchecked {\n                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.\n                $._totalSupply -= value;\n            }\n        } else {\n            unchecked {\n                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.\n                $._balances[to] += value;\n            }\n        }\n\n        emit Transfer(from, to, value);\n    }\n\n    /**\n     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).\n     * Relies on the `_update` mechanism\n     *\n     * Emits a {Transfer} event with `from` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _mint(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert ERC20InvalidReceiver(address(0));\n        }\n        _update(address(0), account, value);\n    }\n\n    /**\n     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.\n     * Relies on the `_update` mechanism.\n     *\n     * Emits a {Transfer} event with `to` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead\n     */\n    function _burn(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert ERC20InvalidSender(address(0));\n        }\n        _update(account, address(0), value);\n    }\n\n    /**\n     * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.\n     *\n     * This internal function is equivalent to `approve`, and can be used to\n     * e.g. set automatic allowances for certain subsystems, etc.\n     *\n     * Emits an {Approval} event.\n     *\n     * Requirements:\n     *\n     * - `owner` cannot be the zero address.\n     * - `spender` cannot be the zero address.\n     *\n     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.\n     */\n    function _approve(address owner, address spender, uint256 value) internal {\n        _approve(owner, spender, value, true);\n    }\n\n    /**\n     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.\n     *\n     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by\n     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any\n     * `Approval` event during `transferFrom` operations.\n     *\n     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to\n     * true using the following override:\n     *\n     * ```solidity\n     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {\n     *     super._approve(owner, spender, value, true);\n     * }\n     * ```\n     *\n     * Requirements are the same as {_approve}.\n     */\n    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {\n        ERC20Storage storage $ = _getERC20Storage();\n        if (owner == address(0)) {\n            revert ERC20InvalidApprover(address(0));\n        }\n        if (spender == address(0)) {\n            revert ERC20InvalidSpender(address(0));\n        }\n        $._allowances[owner][spender] = value;\n        if (emitEvent) {\n            emit Approval(owner, spender, value);\n        }\n    }\n\n    /**\n     * @dev Updates `owner` s allowance for `spender` based on spent `value`.\n     *\n     * Does not update the allowance value in case of infinite allowance.\n     * Revert if not enough allowance is available.\n     *\n     * Does not emit an {Approval} event.\n     */\n    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {\n        uint256 currentAllowance = allowance(owner, spender);\n        if (currentAllowance < type(uint256).max) {\n            if (currentAllowance < value) {\n                revert ERC20InsufficientAllowance(spender, currentAllowance, value);\n            }\n            unchecked {\n                _approve(owner, spender, currentAllowance - value, false);\n            }\n        }\n    }\n}\n"},"dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/access/OwnableUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)\n\npragma solidity ^0.8.20;\n\nimport {ContextUpgradeable} from \"../utils/ContextUpgradeable.sol\";\nimport {Initializable} from \"../proxy/utils/Initializable.sol\";\n\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * The initial owner is set to the address provided by the deployer. This can\n * later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {\n    /// @custom:storage-location erc7201:openzeppelin.storage.Ownable\n    struct OwnableStorage {\n        address _owner;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.Ownable\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant OwnableStorageLocation = 0x9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300;\n\n    function _getOwnableStorage() private pure returns (OwnableStorage storage $) {\n        assembly {\n            $.slot := OwnableStorageLocation\n        }\n    }\n\n    /**\n     * @dev The caller account is not authorized to perform an operation.\n     */\n    error OwnableUnauthorizedAccount(address account);\n\n    /**\n     * @dev The owner is not a valid owner account. (eg. `address(0)`)\n     */\n    error OwnableInvalidOwner(address owner);\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.\n     */\n    function __Ownable_init(address initialOwner) internal onlyInitializing {\n        __Ownable_init_unchained(initialOwner);\n    }\n\n    function __Ownable_init_unchained(address initialOwner) internal onlyInitializing {\n        if (initialOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(initialOwner);\n    }\n\n    /**\n     * @dev Throws if called by any account other than the owner.\n     */\n    modifier onlyOwner() {\n        _checkOwner();\n        _;\n    }\n\n    /**\n     * @dev Returns the address of the current owner.\n     */\n    function owner() public view virtual returns (address) {\n        OwnableStorage storage $ = _getOwnableStorage();\n        return $._owner;\n    }\n\n    /**\n     * @dev Throws if the sender is not the owner.\n     */\n    function _checkOwner() internal view virtual {\n        if (owner() != _msgSender()) {\n            revert OwnableUnauthorizedAccount(_msgSender());\n        }\n    }\n\n    /**\n     * @dev Leaves the contract without owner. It will not be possible to call\n     * `onlyOwner` functions. Can only be called by the current owner.\n     *\n     * NOTE: Renouncing ownership will leave the contract without an owner,\n     * thereby disabling any functionality that is only available to the owner.\n     */\n    function renounceOwnership() public virtual onlyOwner {\n        _transferOwnership(address(0));\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Can only be called by the current owner.\n     */\n    function transferOwnership(address newOwner) public virtual onlyOwner {\n        if (newOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(newOwner);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Internal function without access restriction.\n     */\n    function _transferOwnership(address newOwner) internal virtual {\n        OwnableStorage storage $ = _getOwnableStorage();\n        address oldOwner = $._owner;\n        $._owner = newOwner;\n        emit OwnershipTransferred(oldOwner, newOwner);\n    }\n}\n"},"src/Venice.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity =0.8.26;\n\nimport {ERC20} from \"solmate/src/tokens/ERC20.sol\";\nimport {Owned} from \"solmate/src/auth/Owned.sol\";\n\ncontract Venice is ERC20, Owned {\n    constructor(address treasury) ERC20(\"Venice Token\", \"VVV\", 18) Owned(msg.sender) {\n        _mint(treasury, 100_000_000 * 10 ** decimals);\n    }\n\n    function mint(address to, uint256 amount) external onlyOwner {\n        _mint(to, amount);\n    }\n}\n"},"src/Oracle.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity =0.8.26;\n\nimport {Owned} from \"solmate/src/auth/Owned.sol\";\nimport {Errors} from \"../lib/Errors.sol\";\n\ncontract Oracle is Owned(msg.sender) {\n    uint256 public utilizationRate;\n    uint256 public updatedAt;\n\n    mapping(address => bool) public isRelayer;\n\n    modifier onlyRelayer() {\n        require(isRelayer[msg.sender], Errors.NOT_RELAYER);\n        _;\n    }\n\n    event UtilizationRateUpdated(uint256 newRate, uint256 timestamp);\n    event RelayerAdded(address relayer);\n    event RelayerRemoved(address relayer);\n\n    function setUtilizationRate(uint256 _utilizationRate) external onlyRelayer {\n        require(_utilizationRate >= 0 && _utilizationRate <= 1 * 10 ** 18, Errors.INVALID_UTILIZATION_RATE);\n        utilizationRate = _utilizationRate;\n        updatedAt = block.timestamp;\n        emit UtilizationRateUpdated(_utilizationRate, block.timestamp);\n    }\n\n    function addRelayer(address _relayer) external onlyOwner {\n        isRelayer[_relayer] = true;\n        emit RelayerAdded(_relayer);\n    }\n\n    function removeRelayer(address _relayer) external onlyOwner {\n        isRelayer[_relayer] = false;\n        emit RelayerRemoved(_relayer);\n    }\n}\n"},"interface/IStaking.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity =0.8.26;\n\nimport {Venice} from \"../src/Venice.sol\";\nimport {Oracle} from \"../src/Oracle.sol\";\n\n/**\n * @title IStaking\n * @author shafu\n * @notice Interface for the Venice Staking functionality. \n *         This interface describes a staking mechanism where users stake Venice (VVV) tokens to receive\n *         a liquid, representation token (sVVV). The user accrues rewards over time, distributed at a \n *         constant emission rate, and must respect a cooldown period for unstaking.\n * @dev \n *   - The interface outlines the essential external calls without revealing internal implementation details.\n *   - See the main `Staking` contract for specifics about `_harvest` logic, event emissions, etc.\n */\ninterface IStaking {\n    event TreasuryUpdated        (address newTreasury);\n    event EmissionRateUpdated    (uint newRate);\n    event CooldownDurationUpdated(uint newDuration);\n    event Staked                 (address indexed user, uint amount);\n    event UnstakeInitiated       (address indexed user, uint amount);\n    event UnstakeFinalized       (address indexed user, uint amount);\n    event Claimed                (address indexed user, uint amount);\n\n    /**\n     * @notice Emission rate of rewards, expressed in `wei`-denominated VVV per second.\n     * @return The emission rate per second.\n     */\n    function emissionRatePerSecond() external view returns (uint);\n\n    /**\n     * @notice The duration (in seconds) a user must wait after initiating an unstake before they can finalize.\n     * @return The cooldown period in seconds.\n     */\n    function cooldownDuration() external view returns (uint);\n\n    /**\n     * @notice Returns the address of the Venice (VVV) token contract.\n     * @return The `Venice` contract address.\n     */\n    function venice() external view returns (Venice);\n\n    /**\n     * @notice Returns the address of the Oracle used to determine the utilization rate, \n     *         which affects how newly minted rewards are split between the treasury and stakers.\n     * @return The `Oracle` contract address.\n     */\n    function oracle() external view returns (Oracle);\n\n    /**\n     * @notice Returns the address of the treasury that receives a portion of newly minted rewards.\n     * @return The current treasury address.\n     */\n    function treasury() external view returns (address);\n\n    /**\n     * @notice Represents the staking information for each user.\n     * @dev \n     *  - `rewardDebt` tracks how many rewards have been accounted for the user thus far.\n     *  - `cooldownStart` is the timestamp when the user initiated unstaking.\n     *  - `cooldownAmount` is how many tokens are currently waiting to be unstaked (in cooldown).\n     * @param user The address of the user in question.\n     * @return rewardDebt The user’s already-accounted rewards at the last checkpoint.\n     * @return cooldownStart The timestamp when the user initiated an unstake.\n     * @return cooldownAmount The amount of tokens locked in cooldown.\n     */\n    function stakes(address user) external view returns (\n        uint rewardDebt,\n        uint cooldownStart,\n        uint cooldownAmount\n    );\n\n    /**\n     * @notice The accumulated rewards per share, scaled by 1e18 for fixed-point precision.\n     * @return The current `accRewardPerShare`.\n     */\n    function accRewardPerShare() external view returns (uint);\n\n    /**\n     * @notice The timestamp of the most recent rewards update.\n     * @dev Used internally to calculate how many rewards should be minted since the last update.\n     * @return The `lastRewardTimestamp`.\n     */\n    function lastRewardTimestamp() external view returns (uint);\n\n    /**\n     * @notice Updates the treasury address where a portion of new tokens are minted based on utilization rate.\n     * @dev Only callable by the contract owner; reverts if called by non-owner.\n     * @param newTreasury The new treasury address.\n     */\n    function setTreasury(address newTreasury) external;\n\n    /**\n     * @notice Updates the emission rate of rewards, expressed in `wei`-denominated VVV per second.\n     * @dev Only callable by the contract owner; reverts if called by non-owner.\n     * @param newRate The new emission rate per second.\n     */\n    function setEmissionRate(uint newRate) external;\n\n    /**\n     * @notice Updates the cooldown duration for unstaking, in seconds.\n     * @dev Only callable by the contract owner; reverts if called by non-owner.\n     * @param newDuration The new cooldown duration in seconds.\n     */\n    function setCooldownDuration(uint newDuration) external;\n\n    /**\n     * @notice Allows a user to stake `amount` of VVV tokens on behalf of `recipient`, \n     *         receiving an equivalent amount of sVVV in return.\n     * @dev \n     *   - User must have approved this contract to transfer `amount` of VVV beforehand.\n     *   - Accumulates and transfers any pending rewards for `recipient` before minting new sVVV.\n     * @param recipient The address that will receive the newly minted sVVV.\n     * @param amount The amount of VVV tokens to stake.\n     */\n    function stake(address recipient, uint amount) external;\n\n    /**\n     * @notice Initiates the unstaking process: the user burns the specified `amount` of sVVV immediately, \n     *         but must wait `cooldownDuration` seconds before calling `finalizeUnstake` to redeem VVV tokens.\n     *         After `initiateUnstake` is called, all functions called on that user’s stake will revert, including\n     *         claiming, staking and unstaking.\n     * @dev \n     *   - Accumulates and transfers any pending rewards for the user before the burn.\n     *   - Updates the user’s `cooldownStart` and `cooldownAmount`.\n     * @param amount The amount of sVVV tokens to burn and place into cooldown.\n     */\n    function initiateUnstake(uint amount) external;\n\n    /**\n     * @notice Completes the unstaking process by sending the user the equivalent amount of VVV tokens \n     *         after the cooldown period has elapsed.\n     * @dev \n     *   - Reverts if the cooldown period is not over or if there is no `cooldownAmount` to finalize.\n     *   - Resets the cooldown state on success.\n     */\n    function finalizeUnstake() external;\n\n    /**\n     * @notice Claims all pending VVV rewards for the caller.\n     * @dev \n     *   - Harvest logic accounts for all newly minted tokens since the last update.\n     *   - Sends the owed amount of VVV directly to the caller.\n     */\n    function claim() external;\n\n    /**\n     * @notice Returns the pending rewards for a given user, including any rewards that haven’t yet been \n     *         fully distributed in `accRewardPerShare`.\n     * @dev \n     *   - This function simulates what `_harvest` would do, but without transferring tokens.\n     * @param user The address for which to compute the pending rewards.\n     * @return The amount of unclaimed VVV rewards, in `wei`.\n     */\n    function pendingRewards(address user) external view returns (uint);\n\n    /**\n     * @notice Returns the percentage of newly minted rewards that goes to the treasury, as a fraction of 1e18.\n     * @return The treasury percentage.\n     */\n    function getVenicePercentage() external view returns (uint);\n}"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-20 standard as defined in the ERC.\n */\ninterface IERC20 {\n    /**\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\n     * another (`to`).\n     *\n     * Note that `value` may be zero.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n     * a call to {approve}. `value` is the new allowance.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n\n    /**\n     * @dev Returns the value of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the value of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Returns the remaining number of tokens that `spender` will be\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\n     * zero by default.\n     *\n     * This value changes when {approve} or {transferFrom} are called.\n     */\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\n     * that someone may use both the old and the new allowance by unfortunate\n     * transaction ordering. One possible solution to mitigate this race\n     * condition is to first reduce the spender's allowance to 0 and set the\n     * desired value afterwards:\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the\n     * allowance mechanism. `value` is then deducted from the caller's\n     * allowance.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 value) external returns (bool);\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/token/ERC20/extensions/IERC20Metadata.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Metadata.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../IERC20.sol\";\n\n/**\n * @dev Interface for the optional metadata functions from the ERC-20 standard.\n */\ninterface IERC20Metadata is IERC20 {\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() external view returns (string memory);\n\n    /**\n     * @dev Returns the symbol of the token.\n     */\n    function symbol() external view returns (string memory);\n\n    /**\n     * @dev Returns the decimals places of the token.\n     */\n    function decimals() external view returns (uint8);\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/Context.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n    function _msgSender() internal view virtual returns (address) {\n        return msg.sender;\n    }\n\n    function _msgData() internal view virtual returns (bytes calldata) {\n        return msg.data;\n    }\n\n    function _contextSuffixLength() internal view virtual returns (uint256) {\n        return 0;\n    }\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/interfaces/draft-IERC6093.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol)\npragma solidity ^0.8.20;\n\n/**\n * @dev Standard ERC-20 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.\n */\ninterface IERC20Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC20InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC20InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     * @param allowance Amount of tokens a `spender` is allowed to operate with.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC20InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC20InvalidSpender(address spender);\n}\n\n/**\n * @dev Standard ERC-721 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.\n */\ninterface IERC721Errors {\n    /**\n     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20.\n     * Used in balance queries.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721InvalidOwner(address owner);\n\n    /**\n     * @dev Indicates a `tokenId` whose `owner` is the zero address.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721NonexistentToken(uint256 tokenId);\n\n    /**\n     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param tokenId Identifier number of a token.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC721InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC721InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721InsufficientApproval(address operator, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC721InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC721InvalidOperator(address operator);\n}\n\n/**\n * @dev Standard ERC-1155 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.\n */\ninterface IERC1155Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC1155InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC1155InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC1155MissingApprovalForAll(address operator, address owner);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC1155InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC1155InvalidOperator(address operator);\n\n    /**\n     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.\n     * Used in batch transfers.\n     * @param idsLength Length of the array of token identifiers\n     * @param valuesLength Length of the array of token amounts\n     */\n    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/access/IAccessControl.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (access/IAccessControl.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev External interface of AccessControl declared to support ERC-165 detection.\n */\ninterface IAccessControl {\n    /**\n     * @dev The `account` is missing a role.\n     */\n    error AccessControlUnauthorizedAccount(address account, bytes32 neededRole);\n\n    /**\n     * @dev The caller of a function is not the expected one.\n     *\n     * NOTE: Don't confuse with {AccessControlUnauthorizedAccount}.\n     */\n    error AccessControlBadConfirmation();\n\n    /**\n     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`\n     *\n     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite\n     * {RoleAdminChanged} not being emitted signaling this.\n     */\n    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);\n\n    /**\n     * @dev Emitted when `account` is granted `role`.\n     *\n     * `sender` is the account that originated the contract call. This account bears the admin role (for the granted role).\n     * Expected in cases where the role was granted using the internal {AccessControl-_grantRole}.\n     */\n    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);\n\n    /**\n     * @dev Emitted when `account` is revoked `role`.\n     *\n     * `sender` is the account that originated the contract call:\n     *   - if using `revokeRole`, it is the admin role bearer\n     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)\n     */\n    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);\n\n    /**\n     * @dev Returns `true` if `account` has been granted `role`.\n     */\n    function hasRole(bytes32 role, address account) external view returns (bool);\n\n    /**\n     * @dev Returns the admin role that controls `role`. See {grantRole} and\n     * {revokeRole}.\n     *\n     * To change a role's admin, use {AccessControl-_setRoleAdmin}.\n     */\n    function getRoleAdmin(bytes32 role) external view returns (bytes32);\n\n    /**\n     * @dev Grants `role` to `account`.\n     *\n     * If `account` had not been already granted `role`, emits a {RoleGranted}\n     * event.\n     *\n     * Requirements:\n     *\n     * - the caller must have ``role``'s admin role.\n     */\n    function grantRole(bytes32 role, address account) external;\n\n    /**\n     * @dev Revokes `role` from `account`.\n     *\n     * If `account` had been granted `role`, emits a {RoleRevoked} event.\n     *\n     * Requirements:\n     *\n     * - the caller must have ``role``'s admin role.\n     */\n    function revokeRole(bytes32 role, address account) external;\n\n    /**\n     * @dev Revokes `role` from the calling account.\n     *\n     * Roles are often managed via {grantRole} and {revokeRole}: this function's\n     * purpose is to provide a mechanism for accounts to lose their privileges\n     * if they are compromised (such as when a trusted device is misplaced).\n     *\n     * If the calling account had been granted `role`, emits a {RoleRevoked}\n     * event.\n     *\n     * Requirements:\n     *\n     * - the caller must be `callerConfirmation`.\n     */\n    function renounceRole(bytes32 role, address callerConfirmation) external;\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/introspection/ERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/ERC165.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC165} from \"./IERC165.sol\";\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts that want to implement ERC-165 should inherit from this contract and override {supportsInterface} to check\n * for the additional interface id that will be supported. For example:\n *\n * ```solidity\n * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);\n * }\n * ```\n */\nabstract contract ERC165 is IERC165 {\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\n    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {\n        return interfaceId == type(IERC165).interfaceId;\n    }\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/interfaces/draft-IERC1822.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC1822.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev ERC-1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified\n * proxy whose upgrades are fully controlled by the current implementation.\n */\ninterface IERC1822Proxiable {\n    /**\n     * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation\n     * address.\n     *\n     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\n     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\n     * function revert if invoked through a proxy.\n     */\n    function proxiableUUID() external view returns (bytes32);\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/proxy/ERC1967/ERC1967Utils.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.2.0-rc.0) (proxy/ERC1967/ERC1967Utils.sol)\n\npragma solidity ^0.8.22;\n\nimport {IBeacon} from \"../beacon/IBeacon.sol\";\nimport {IERC1967} from \"../../interfaces/IERC1967.sol\";\nimport {Address} from \"../../utils/Address.sol\";\nimport {StorageSlot} from \"../../utils/StorageSlot.sol\";\n\n/**\n * @dev This library provides getters and event emitting update functions for\n * https://eips.ethereum.org/EIPS/eip-1967[ERC-1967] slots.\n */\nlibrary ERC1967Utils {\n    /**\n     * @dev Storage slot with the address of the current implementation.\n     * This is the keccak-256 hash of \"eip1967.proxy.implementation\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n\n    /**\n     * @dev The `implementation` of the proxy is invalid.\n     */\n    error ERC1967InvalidImplementation(address implementation);\n\n    /**\n     * @dev The `admin` of the proxy is invalid.\n     */\n    error ERC1967InvalidAdmin(address admin);\n\n    /**\n     * @dev The `beacon` of the proxy is invalid.\n     */\n    error ERC1967InvalidBeacon(address beacon);\n\n    /**\n     * @dev An upgrade function sees `msg.value > 0` that may be lost.\n     */\n    error ERC1967NonPayable();\n\n    /**\n     * @dev Returns the current implementation address.\n     */\n    function getImplementation() internal view returns (address) {\n        return StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new address in the ERC-1967 implementation slot.\n     */\n    function _setImplementation(address newImplementation) private {\n        if (newImplementation.code.length == 0) {\n            revert ERC1967InvalidImplementation(newImplementation);\n        }\n        StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value = newImplementation;\n    }\n\n    /**\n     * @dev Performs implementation upgrade with additional setup call if data is nonempty.\n     * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\n     * to avoid stuck value in the contract.\n     *\n     * Emits an {IERC1967-Upgraded} event.\n     */\n    function upgradeToAndCall(address newImplementation, bytes memory data) internal {\n        _setImplementation(newImplementation);\n        emit IERC1967.Upgraded(newImplementation);\n\n        if (data.length > 0) {\n            Address.functionDelegateCall(newImplementation, data);\n        } else {\n            _checkNonPayable();\n        }\n    }\n\n    /**\n     * @dev Storage slot with the admin of the contract.\n     * This is the keccak-256 hash of \"eip1967.proxy.admin\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\n\n    /**\n     * @dev Returns the current admin.\n     *\n     * TIP: To get this value clients can read directly from the storage slot shown below (specified by ERC-1967) using\n     * the https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\n     * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`\n     */\n    function getAdmin() internal view returns (address) {\n        return StorageSlot.getAddressSlot(ADMIN_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new address in the ERC-1967 admin slot.\n     */\n    function _setAdmin(address newAdmin) private {\n        if (newAdmin == address(0)) {\n            revert ERC1967InvalidAdmin(address(0));\n        }\n        StorageSlot.getAddressSlot(ADMIN_SLOT).value = newAdmin;\n    }\n\n    /**\n     * @dev Changes the admin of the proxy.\n     *\n     * Emits an {IERC1967-AdminChanged} event.\n     */\n    function changeAdmin(address newAdmin) internal {\n        emit IERC1967.AdminChanged(getAdmin(), newAdmin);\n        _setAdmin(newAdmin);\n    }\n\n    /**\n     * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\n     * This is the keccak-256 hash of \"eip1967.proxy.beacon\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;\n\n    /**\n     * @dev Returns the current beacon.\n     */\n    function getBeacon() internal view returns (address) {\n        return StorageSlot.getAddressSlot(BEACON_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new beacon in the ERC-1967 beacon slot.\n     */\n    function _setBeacon(address newBeacon) private {\n        if (newBeacon.code.length == 0) {\n            revert ERC1967InvalidBeacon(newBeacon);\n        }\n\n        StorageSlot.getAddressSlot(BEACON_SLOT).value = newBeacon;\n\n        address beaconImplementation = IBeacon(newBeacon).implementation();\n        if (beaconImplementation.code.length == 0) {\n            revert ERC1967InvalidImplementation(beaconImplementation);\n        }\n    }\n\n    /**\n     * @dev Change the beacon and trigger a setup call if data is nonempty.\n     * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\n     * to avoid stuck value in the contract.\n     *\n     * Emits an {IERC1967-BeaconUpgraded} event.\n     *\n     * CAUTION: Invoking this function has no effect on an instance of {BeaconProxy} since v5, since\n     * it uses an immutable beacon without looking at the value of the ERC-1967 beacon slot for\n     * efficiency.\n     */\n    function upgradeBeaconToAndCall(address newBeacon, bytes memory data) internal {\n        _setBeacon(newBeacon);\n        emit IERC1967.BeaconUpgraded(newBeacon);\n\n        if (data.length > 0) {\n            Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);\n        } else {\n            _checkNonPayable();\n        }\n    }\n\n    /**\n     * @dev Reverts if `msg.value` is not zero. It can be used to avoid `msg.value` stuck in the contract\n     * if an upgrade doesn't perform an initialization call.\n     */\n    function _checkNonPayable() private {\n        if (msg.value > 0) {\n            revert ERC1967NonPayable();\n        }\n    }\n}\n"},"dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/proxy/utils/Initializable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/utils/Initializable.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\n * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\n *\n * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\n * reused. This mechanism prevents re-execution of each \"step\" but allows the creation of new initialization steps in\n * case an upgrade adds a module that needs to be initialized.\n *\n * For example:\n *\n * [.hljs-theme-light.nopadding]\n * ```solidity\n * contract MyToken is ERC20Upgradeable {\n *     function initialize() initializer public {\n *         __ERC20_init(\"MyToken\", \"MTK\");\n *     }\n * }\n *\n * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\n *     function initializeV2() reinitializer(2) public {\n *         __ERC20Permit_init(\"MyToken\");\n *     }\n * }\n * ```\n *\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\n * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\n *\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\n *\n * [CAUTION]\n * ====\n * Avoid leaving a contract uninitialized.\n *\n * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\n * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\n * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\n *\n * [.hljs-theme-light.nopadding]\n * ```\n * /// @custom:oz-upgrades-unsafe-allow constructor\n * constructor() {\n *     _disableInitializers();\n * }\n * ```\n * ====\n */\nabstract contract Initializable {\n    /**\n     * @dev Storage of the initializable contract.\n     *\n     * It's implemented on a custom ERC-7201 namespace to reduce the risk of storage collisions\n     * when using with upgradeable contracts.\n     *\n     * @custom:storage-location erc7201:openzeppelin.storage.Initializable\n     */\n    struct InitializableStorage {\n        /**\n         * @dev Indicates that the contract has been initialized.\n         */\n        uint64 _initialized;\n        /**\n         * @dev Indicates that the contract is in the process of being initialized.\n         */\n        bool _initializing;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.Initializable\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant INITIALIZABLE_STORAGE = 0xf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00;\n\n    /**\n     * @dev The contract is already initialized.\n     */\n    error InvalidInitialization();\n\n    /**\n     * @dev The contract is not initializing.\n     */\n    error NotInitializing();\n\n    /**\n     * @dev Triggered when the contract has been initialized or reinitialized.\n     */\n    event Initialized(uint64 version);\n\n    /**\n     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\n     * `onlyInitializing` functions can be used to initialize parent contracts.\n     *\n     * Similar to `reinitializer(1)`, except that in the context of a constructor an `initializer` may be invoked any\n     * number of times. This behavior in the constructor can be useful during testing and is not expected to be used in\n     * production.\n     *\n     * Emits an {Initialized} event.\n     */\n    modifier initializer() {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        // Cache values to avoid duplicated sloads\n        bool isTopLevelCall = !$._initializing;\n        uint64 initialized = $._initialized;\n\n        // Allowed calls:\n        // - initialSetup: the contract is not in the initializing state and no previous version was\n        //                 initialized\n        // - construction: the contract is initialized at version 1 (no reininitialization) and the\n        //                 current contract is just being deployed\n        bool initialSetup = initialized == 0 && isTopLevelCall;\n        bool construction = initialized == 1 && address(this).code.length == 0;\n\n        if (!initialSetup && !construction) {\n            revert InvalidInitialization();\n        }\n        $._initialized = 1;\n        if (isTopLevelCall) {\n            $._initializing = true;\n        }\n        _;\n        if (isTopLevelCall) {\n            $._initializing = false;\n            emit Initialized(1);\n        }\n    }\n\n    /**\n     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\n     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\n     * used to initialize parent contracts.\n     *\n     * A reinitializer may be used after the original initialization step. This is essential to configure modules that\n     * are added through upgrades and that require initialization.\n     *\n     * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`\n     * cannot be nested. If one is invoked in the context of another, execution will revert.\n     *\n     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\n     * a contract, executing them in the right order is up to the developer or operator.\n     *\n     * WARNING: Setting the version to 2**64 - 1 will prevent any future reinitialization.\n     *\n     * Emits an {Initialized} event.\n     */\n    modifier reinitializer(uint64 version) {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        if ($._initializing || $._initialized >= version) {\n            revert InvalidInitialization();\n        }\n        $._initialized = version;\n        $._initializing = true;\n        _;\n        $._initializing = false;\n        emit Initialized(version);\n    }\n\n    /**\n     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\n     * {initializer} and {reinitializer} modifiers, directly or indirectly.\n     */\n    modifier onlyInitializing() {\n        _checkInitializing();\n        _;\n    }\n\n    /**\n     * @dev Reverts if the contract is not in an initializing state. See {onlyInitializing}.\n     */\n    function _checkInitializing() internal view virtual {\n        if (!_isInitializing()) {\n            revert NotInitializing();\n        }\n    }\n\n    /**\n     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\n     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\n     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called\n     * through proxies.\n     *\n     * Emits an {Initialized} event the first time it is successfully executed.\n     */\n    function _disableInitializers() internal virtual {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        if ($._initializing) {\n            revert InvalidInitialization();\n        }\n        if ($._initialized != type(uint64).max) {\n            $._initialized = type(uint64).max;\n            emit Initialized(type(uint64).max);\n        }\n    }\n\n    /**\n     * @dev Returns the highest version that has been initialized. See {reinitializer}.\n     */\n    function _getInitializedVersion() internal view returns (uint64) {\n        return _getInitializableStorage()._initialized;\n    }\n\n    /**\n     * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.\n     */\n    function _isInitializing() internal view returns (bool) {\n        return _getInitializableStorage()._initializing;\n    }\n\n    /**\n     * @dev Returns a pointer to the storage namespace.\n     */\n    // solhint-disable-next-line var-name-mixedcase\n    function _getInitializableStorage() private pure returns (InitializableStorage storage $) {\n        assembly {\n            $.slot := INITIALIZABLE_STORAGE\n        }\n    }\n}\n"},"dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/utils/ContextUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\n\npragma solidity ^0.8.20;\nimport {Initializable} from \"../proxy/utils/Initializable.sol\";\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract ContextUpgradeable is Initializable {\n    function __Context_init() internal onlyInitializing {\n    }\n\n    function __Context_init_unchained() internal onlyInitializing {\n    }\n    function _msgSender() internal view virtual returns (address) {\n        return msg.sender;\n    }\n\n    function _msgData() internal view virtual returns (bytes calldata) {\n        return msg.data;\n    }\n\n    function _contextSuffixLength() internal view virtual returns (uint256) {\n        return 0;\n    }\n}\n"},"dependencies/solmate-6.8.0/src/tokens/ERC20.sol":{"content":"// SPDX-License-Identifier: AGPL-3.0-only\npragma solidity >=0.8.0;\n\n/// @notice Modern and gas efficient ERC20 + EIP-2612 implementation.\n/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol)\n/// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol)\n/// @dev Do not manually set balances without updating totalSupply, as the sum of all user balances must not exceed it.\nabstract contract ERC20 {\n    /*//////////////////////////////////////////////////////////////\n                                 EVENTS\n    //////////////////////////////////////////////////////////////*/\n\n    event Transfer(address indexed from, address indexed to, uint256 amount);\n\n    event Approval(address indexed owner, address indexed spender, uint256 amount);\n\n    /*//////////////////////////////////////////////////////////////\n                            METADATA STORAGE\n    //////////////////////////////////////////////////////////////*/\n\n    string public name;\n\n    string public symbol;\n\n    uint8 public immutable decimals;\n\n    /*//////////////////////////////////////////////////////////////\n                              ERC20 STORAGE\n    //////////////////////////////////////////////////////////////*/\n\n    uint256 public totalSupply;\n\n    mapping(address => uint256) public balanceOf;\n\n    mapping(address => mapping(address => uint256)) public allowance;\n\n    /*//////////////////////////////////////////////////////////////\n                            EIP-2612 STORAGE\n    //////////////////////////////////////////////////////////////*/\n\n    uint256 internal immutable INITIAL_CHAIN_ID;\n\n    bytes32 internal immutable INITIAL_DOMAIN_SEPARATOR;\n\n    mapping(address => uint256) public nonces;\n\n    /*//////////////////////////////////////////////////////////////\n                               CONSTRUCTOR\n    //////////////////////////////////////////////////////////////*/\n\n    constructor(\n        string memory _name,\n        string memory _symbol,\n        uint8 _decimals\n    ) {\n        name = _name;\n        symbol = _symbol;\n        decimals = _decimals;\n\n        INITIAL_CHAIN_ID = block.chainid;\n        INITIAL_DOMAIN_SEPARATOR = computeDomainSeparator();\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                               ERC20 LOGIC\n    //////////////////////////////////////////////////////////////*/\n\n    function approve(address spender, uint256 amount) public virtual returns (bool) {\n        allowance[msg.sender][spender] = amount;\n\n        emit Approval(msg.sender, spender, amount);\n\n        return true;\n    }\n\n    function transfer(address to, uint256 amount) public virtual returns (bool) {\n        balanceOf[msg.sender] -= amount;\n\n        // Cannot overflow because the sum of all user\n        // balances can't exceed the max uint256 value.\n        unchecked {\n            balanceOf[to] += amount;\n        }\n\n        emit Transfer(msg.sender, to, amount);\n\n        return true;\n    }\n\n    function transferFrom(\n        address from,\n        address to,\n        uint256 amount\n    ) public virtual returns (bool) {\n        uint256 allowed = allowance[from][msg.sender]; // Saves gas for limited approvals.\n\n        if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amount;\n\n        balanceOf[from] -= amount;\n\n        // Cannot overflow because the sum of all user\n        // balances can't exceed the max uint256 value.\n        unchecked {\n            balanceOf[to] += amount;\n        }\n\n        emit Transfer(from, to, amount);\n\n        return true;\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                             EIP-2612 LOGIC\n    //////////////////////////////////////////////////////////////*/\n\n    function permit(\n        address owner,\n        address spender,\n        uint256 value,\n        uint256 deadline,\n        uint8 v,\n        bytes32 r,\n        bytes32 s\n    ) public virtual {\n        require(deadline >= block.timestamp, \"PERMIT_DEADLINE_EXPIRED\");\n\n        // Unchecked because the only math done is incrementing\n        // the owner's nonce which cannot realistically overflow.\n        unchecked {\n            address recoveredAddress = ecrecover(\n                keccak256(\n                    abi.encodePacked(\n                        \"\\x19\\x01\",\n                        DOMAIN_SEPARATOR(),\n                        keccak256(\n                            abi.encode(\n                                keccak256(\n                                    \"Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)\"\n                                ),\n                                owner,\n                                spender,\n                                value,\n                                nonces[owner]++,\n                                deadline\n                            )\n                        )\n                    )\n                ),\n                v,\n                r,\n                s\n            );\n\n            require(recoveredAddress != address(0) && recoveredAddress == owner, \"INVALID_SIGNER\");\n\n            allowance[recoveredAddress][spender] = value;\n        }\n\n        emit Approval(owner, spender, value);\n    }\n\n    function DOMAIN_SEPARATOR() public view virtual returns (bytes32) {\n        return block.chainid == INITIAL_CHAIN_ID ? INITIAL_DOMAIN_SEPARATOR : computeDomainSeparator();\n    }\n\n    function computeDomainSeparator() internal view virtual returns (bytes32) {\n        return\n            keccak256(\n                abi.encode(\n                    keccak256(\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\"),\n                    keccak256(bytes(name)),\n                    keccak256(\"1\"),\n                    block.chainid,\n                    address(this)\n                )\n            );\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                        INTERNAL MINT/BURN LOGIC\n    //////////////////////////////////////////////////////////////*/\n\n    function _mint(address to, uint256 amount) internal virtual {\n        totalSupply += amount;\n\n        // Cannot overflow because the sum of all user\n        // balances can't exceed the max uint256 value.\n        unchecked {\n            balanceOf[to] += amount;\n        }\n\n        emit Transfer(address(0), to, amount);\n    }\n\n    function _burn(address from, uint256 amount) internal virtual {\n        balanceOf[from] -= amount;\n\n        // Cannot underflow because a user's balance\n        // will never be larger than the total supply.\n        unchecked {\n            totalSupply -= amount;\n        }\n\n        emit Transfer(from, address(0), amount);\n    }\n}\n"},"dependencies/solmate-6.8.0/src/auth/Owned.sol":{"content":"// SPDX-License-Identifier: AGPL-3.0-only\npragma solidity >=0.8.0;\n\n/// @notice Simple single owner authorization mixin.\n/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/auth/Owned.sol)\nabstract contract Owned {\n    /*//////////////////////////////////////////////////////////////\n                                 EVENTS\n    //////////////////////////////////////////////////////////////*/\n\n    event OwnershipTransferred(address indexed user, address indexed newOwner);\n\n    /*//////////////////////////////////////////////////////////////\n                            OWNERSHIP STORAGE\n    //////////////////////////////////////////////////////////////*/\n\n    address public owner;\n\n    modifier onlyOwner() virtual {\n        require(msg.sender == owner, \"UNAUTHORIZED\");\n\n        _;\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                               CONSTRUCTOR\n    //////////////////////////////////////////////////////////////*/\n\n    constructor(address _owner) {\n        owner = _owner;\n\n        emit OwnershipTransferred(address(0), _owner);\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                             OWNERSHIP LOGIC\n    //////////////////////////////////////////////////////////////*/\n\n    function transferOwnership(address newOwner) public virtual onlyOwner {\n        owner = newOwner;\n\n        emit OwnershipTransferred(msg.sender, newOwner);\n    }\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/introspection/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[ERC].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n    /**\n     * @dev Returns true if this contract implements the interface defined by\n     * `interfaceId`. See the corresponding\n     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]\n     * to learn more about how these ids are created.\n     *\n     * This function call must use less than 30 000 gas.\n     */\n    function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/proxy/beacon/IBeacon.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/beacon/IBeacon.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev This is the interface that {BeaconProxy} expects of its beacon.\n */\ninterface IBeacon {\n    /**\n     * @dev Must return an address that can be used as a delegate call target.\n     *\n     * {UpgradeableBeacon} will check that this address is a contract.\n     */\n    function implementation() external view returns (address);\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/interfaces/IERC1967.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC1967.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC.\n */\ninterface IERC1967 {\n    /**\n     * @dev Emitted when the implementation is upgraded.\n     */\n    event Upgraded(address indexed implementation);\n\n    /**\n     * @dev Emitted when the admin account has changed.\n     */\n    event AdminChanged(address previousAdmin, address newAdmin);\n\n    /**\n     * @dev Emitted when the beacon is changed.\n     */\n    event BeaconUpgraded(address indexed beacon);\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/Address.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Address.sol)\n\npragma solidity ^0.8.20;\n\nimport {Errors} from \"./Errors.sol\";\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n    /**\n     * @dev There's no code at `target` (it is not a contract).\n     */\n    error AddressEmptyCode(address target);\n\n    /**\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n     * `recipient`, forwarding all available gas and reverting on errors.\n     *\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\n     * imposed by `transfer`, making them unable to receive funds via\n     * `transfer`. {sendValue} removes this limitation.\n     *\n     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n     *\n     * IMPORTANT: because control is transferred to `recipient`, care must be\n     * taken to not create reentrancy vulnerabilities. Consider using\n     * {ReentrancyGuard} or the\n     * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n     */\n    function sendValue(address payable recipient, uint256 amount) internal {\n        if (address(this).balance < amount) {\n            revert Errors.InsufficientBalance(address(this).balance, amount);\n        }\n\n        (bool success, ) = recipient.call{value: amount}(\"\");\n        if (!success) {\n            revert Errors.FailedCall();\n        }\n    }\n\n    /**\n     * @dev Performs a Solidity function call using a low level `call`. A\n     * plain `call` is an unsafe replacement for a function call: use this\n     * function instead.\n     *\n     * If `target` reverts with a revert reason or custom error, it is bubbled\n     * up by this function (like regular Solidity function calls). However, if\n     * the call reverted with no returned reason, this function reverts with a\n     * {Errors.FailedCall} error.\n     *\n     * Returns the raw returned data. To convert to the expected return value,\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n     *\n     * Requirements:\n     *\n     * - `target` must be a contract.\n     * - calling `target` with `data` must not revert.\n     */\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, 0);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but also transferring `value` wei to `target`.\n     *\n     * Requirements:\n     *\n     * - the calling contract must have an ETH balance of at least `value`.\n     * - the called Solidity function must be `payable`.\n     */\n    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n        if (address(this).balance < value) {\n            revert Errors.InsufficientBalance(address(this).balance, value);\n        }\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\n        return verifyCallResultFromTarget(target, success, returndata);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a static call.\n     */\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.staticcall(data);\n        return verifyCallResultFromTarget(target, success, returndata);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a delegate call.\n     */\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.delegatecall(data);\n        return verifyCallResultFromTarget(target, success, returndata);\n    }\n\n    /**\n     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target\n     * was not a contract or bubbling up the revert reason (falling back to {Errors.FailedCall}) in case\n     * of an unsuccessful call.\n     */\n    function verifyCallResultFromTarget(\n        address target,\n        bool success,\n        bytes memory returndata\n    ) internal view returns (bytes memory) {\n        if (!success) {\n            _revert(returndata);\n        } else {\n            // only check if target is a contract if the call was successful and the return data is empty\n            // otherwise we already know that it was a contract\n            if (returndata.length == 0 && target.code.length == 0) {\n                revert AddressEmptyCode(target);\n            }\n            return returndata;\n        }\n    }\n\n    /**\n     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the\n     * revert reason or with a default {Errors.FailedCall} error.\n     */\n    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {\n        if (!success) {\n            _revert(returndata);\n        } else {\n            return returndata;\n        }\n    }\n\n    /**\n     * @dev Reverts with returndata if present. Otherwise reverts with {Errors.FailedCall}.\n     */\n    function _revert(bytes memory returndata) private pure {\n        // Look for revert reason and bubble it up if present\n        if (returndata.length > 0) {\n            // The easiest way to bubble the revert reason is using memory via assembly\n            assembly (\"memory-safe\") {\n                let returndata_size := mload(returndata)\n                revert(add(32, returndata), returndata_size)\n            }\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/StorageSlot.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/StorageSlot.sol)\n// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library for reading and writing primitive types to specific storage slots.\n *\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\n * This library helps with reading and writing to such slots without the need for inline assembly.\n *\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\n *\n * Example usage to set ERC-1967 implementation slot:\n * ```solidity\n * contract ERC1967 {\n *     // Define the slot. Alternatively, use the SlotDerivation library to derive the slot.\n *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n *\n *     function _getImplementation() internal view returns (address) {\n *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n *     }\n *\n *     function _setImplementation(address newImplementation) internal {\n *         require(newImplementation.code.length > 0);\n *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n *     }\n * }\n * ```\n *\n * TIP: Consider using this library along with {SlotDerivation}.\n */\nlibrary StorageSlot {\n    struct AddressSlot {\n        address value;\n    }\n\n    struct BooleanSlot {\n        bool value;\n    }\n\n    struct Bytes32Slot {\n        bytes32 value;\n    }\n\n    struct Uint256Slot {\n        uint256 value;\n    }\n\n    struct Int256Slot {\n        int256 value;\n    }\n\n    struct StringSlot {\n        string value;\n    }\n\n    struct BytesSlot {\n        bytes value;\n    }\n\n    /**\n     * @dev Returns an `AddressSlot` with member `value` located at `slot`.\n     */\n    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `BooleanSlot` with member `value` located at `slot`.\n     */\n    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Bytes32Slot` with member `value` located at `slot`.\n     */\n    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Uint256Slot` with member `value` located at `slot`.\n     */\n    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Int256Slot` with member `value` located at `slot`.\n     */\n    function getInt256Slot(bytes32 slot) internal pure returns (Int256Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `StringSlot` with member `value` located at `slot`.\n     */\n    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.\n     */\n    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := store.slot\n        }\n    }\n\n    /**\n     * @dev Returns a `BytesSlot` with member `value` located at `slot`.\n     */\n    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.\n     */\n    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := store.slot\n        }\n    }\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/Errors.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Errors.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Collection of common custom errors used in multiple contracts\n *\n * IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library.\n * It is recommended to avoid relying on the error API for critical functionality.\n *\n * _Available since v5.1._\n */\nlibrary Errors {\n    /**\n     * @dev The ETH balance of the account is not enough to perform the operation.\n     */\n    error InsufficientBalance(uint256 balance, uint256 needed);\n\n    /**\n     * @dev A call to an address target failed. The target may have reverted.\n     */\n    error FailedCall();\n\n    /**\n     * @dev The deployment failed.\n     */\n    error FailedDeployment();\n\n    /**\n     * @dev A necessary precompile is missing.\n     */\n    error MissingPrecompile(address);\n}\n"}},"compilation":{"language":"Solidity","compiler":"solc","compilerVersion":"0.8.26+commit.8a97fa7a","compilerSettings":{"viaIR":true,"metadata":{"appendCBOR":true,"bytecodeHash":"ipfs","useLiteralContent":false},"optimizer":{"runs":200,"enabled":true},"evmVersion":"cancun","remappings":["@openzeppelin-contracts-upgradeable/=dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/","@openzeppelin/contracts/=dependencies/@openzeppelin-contracts-5.2.0-rc.1/","forge-std/=dependencies/forge-std-1.9.5/src/","openzeppelin-foundry-upgrades/=dependencies/openzeppelin-foundry-upgrades-0.3.6/","solmate/=dependencies/solmate-6.8.0/","@openzeppelin-contracts-5.2.0-rc.1/=dependencies/@openzeppelin-contracts-5.2.0-rc.1/","@openzeppelin-contracts-upgradeable-5.2.0-rc.1/=dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/","ds-test/=dependencies/openzeppelin-foundry-upgrades-0.3.6/lib/solidity-stringutils/lib/ds-test/src/","forge-std-1.9.5/=dependencies/forge-std-1.9.5/src/","openzeppelin-foundry-upgrades-0.3.6/=dependencies/openzeppelin-foundry-upgrades-0.3.6/src/","solidity-stringutils/=dependencies/openzeppelin-foundry-upgrades-0.3.6/lib/solidity-stringutils/","solmate-6.8.0/=dependencies/solmate-6.8.0/src/"]},"name":"StakingV2","fullyQualifiedName":"src/StakingV2.sol:StakingV2"},"abi":[{"type":"constructor","inputs":[],"stateMutability":"nonpayable"},{"name":"AddressEmptyCode","type":"error","inputs":[{"name":"target","type":"address","internalType":"address"}]},{"name":"ERC1967InvalidImplementation","type":"error","inputs":[{"name":"implementation","type":"address","internalType":"address"}]},{"name":"ERC1967NonPayable","type":"error","inputs":[]},{"name":"ERC20InsufficientAllowance","type":"error","inputs":[{"name":"spender","type":"address","internalType":"address"},{"name":"allowance","type":"uint256","internalType":"uint256"},{"name":"needed","type":"uint256","internalType":"uint256"}]},{"name":"ERC20InsufficientBalance","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"},{"name":"balance","type":"uint256","internalType":"uint256"},{"name":"needed","type":"uint256","internalType":"uint256"}]},{"name":"ERC20InvalidApprover","type":"error","inputs":[{"name":"approver","type":"address","internalType":"address"}]},{"name":"ERC20InvalidReceiver","type":"error","inputs":[{"name":"receiver","type":"address","internalType":"address"}]},{"name":"ERC20InvalidSender","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"}]},{"name":"ERC20InvalidSpender","type":"error","inputs":[{"name":"spender","type":"address","internalType":"address"}]},{"name":"FailedCall","type":"error","inputs":[]},{"name":"InvalidInitialization","type":"error","inputs":[]},{"name":"NotInitializing","type":"error","inputs":[]},{"name":"OwnableInvalidOwner","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"name":"OwnableUnauthorizedAccount","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"UUPSUnauthorizedCallContext","type":"error","inputs":[]},{"name":"UUPSUnsupportedProxiableUUID","type":"error","inputs":[{"name":"slot","type":"bytes32","internalType":"bytes32"}]},{"name":"Approval","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"spender","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Claimed","type":"event","inputs":[{"name":"user","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"CooldownDurationUpdated","type":"event","inputs":[{"name":"newDuration","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"DiemBurned","type":"event","inputs":[{"name":"svvvUnlocked","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"diemBurned","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"DiemMintRatesUpdated","type":"event","inputs":[{"name":"diemSupply","type":"uint256[256]","indexed":false,"internalType":"uint256[256]"},{"name":"diemMintRates","type":"uint256[256]","indexed":false,"internalType":"uint256[256]"}],"anonymous":false},{"name":"DiemMinted","type":"event","inputs":[{"name":"svvvLocked","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"diemMinted","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"EmissionRateUpdated","type":"event","inputs":[{"name":"newRate","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Initialized","type":"event","inputs":[{"name":"version","type":"uint64","indexed":false,"internalType":"uint64"}],"anonymous":false},{"name":"OwnershipTransferred","type":"event","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"Staked","type":"event","inputs":[{"name":"user","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Transfer","type":"event","inputs":[{"name":"from","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"TreasuryUpdated","type":"event","inputs":[{"name":"newTreasury","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"UnstakeFinalized","type":"event","inputs":[{"name":"user","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"UnstakeInitiated","type":"event","inputs":[{"name":"user","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Upgraded","type":"event","inputs":[{"name":"implementation","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"VeniceEmissionsPercentageUpdated","type":"event","inputs":[{"name":"newPercentage","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"VeniceEmissionsPercentageWhenLockedUpdated","type":"event","inputs":[{"name":"newPercentage","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"ACC_REWARD_SCALE","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"UPGRADE_INTERFACE_VERSION","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"accRewardPerShare","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"accRewardPerShareLocked","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"allowance","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"spender","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"approve","type":"function","inputs":[{"name":"spender","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"balanceOf","type":"function","inputs":[{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"balanceOfUnlocked","type":"function","inputs":[{"name":"user","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"burnDiem","type":"function","inputs":[{"name":"diemAmountToBurn","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"claim","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"claimAndStake","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"cooldownDuration","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"decimals","type":"function","inputs":[],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"diem","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract Diem"}],"stateMutability":"view"},{"name":"diemMintRates","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"diemSupply","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"emissionRatePerSecond","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"finalizeUnstake","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"getDiemAmountOut","type":"function","inputs":[{"name":"sVVVAmountToLock","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getVenicePercentage","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"initialize","type":"function","inputs":[{"name":"_venice","type":"address","internalType":"address"},{"name":"_oracle","type":"address","internalType":"address"},{"name":"_treasury","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"initiateUnstake","type":"function","inputs":[{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"lastRewardTimestamp","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"lockedStakes","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"sVVVLockedAmount","type":"uint256","internalType":"uint256"},{"name":"outstandingDiemAmount","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"mintDiem","type":"function","inputs":[{"name":"sVVVAmountToLock","type":"uint256","internalType":"uint256"},{"name":"minDiemAmountOut","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"name","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"oracle","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract Oracle"}],"stateMutability":"view"},{"name":"owner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"pendingRewards","type":"function","inputs":[{"name":"_user","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"proxiableUUID","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"renounceOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"setCooldownDuration","type":"function","inputs":[{"name":"_cooldownDuration","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setDiemMintCurve","type":"function","inputs":[{"name":"_diemSupply","type":"uint256[256]","internalType":"uint256[256]"},{"name":"_diemMintRates","type":"uint256[256]","internalType":"uint256[256]"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setEmissionRate","type":"function","inputs":[{"name":"_emissionRate","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setTreasury","type":"function","inputs":[{"name":"_treasury","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setVeniceEmissionsPercentage","type":"function","inputs":[{"name":"_veniceEmissionsPercentage","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setVeniceEmissionsPercentageWhenLocked","type":"function","inputs":[{"name":"_veniceEmissionsPercentage","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"stake","type":"function","inputs":[{"name":"recipient","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"stakes","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"rewardDebt","type":"uint256","internalType":"uint256"},{"name":"cooldownEnd","type":"uint256","internalType":"uint256"},{"name":"cooldownAmount","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"symbol","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"totalLockedStakedVVV","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalSupply","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"transfer","type":"function","inputs":[{"name":"to","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"transferFrom","type":"function","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"transferOwnership","type":"function","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"treasury","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"upgradeInitialize","type":"function","inputs":[{"name":"_diem","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"upgradeToAndCall","type":"function","inputs":[{"name":"newImplementation","type":"address","internalType":"address"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"payable"},{"name":"venice","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract Venice"}],"stateMutability":"view"},{"name":"veniceEmissionsPercentage","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"veniceEmissionsPercentageWhenLocked","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"}],"metadata":{"compiler":{"version":"0.8.26+commit.8a97fa7a"},"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":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[],"name":"FailedCall","type":"error"},{"inputs":[],"name":"InvalidInitialization","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":"UUPSUnauthorizedCallContext","type":"error"},{"inputs":[{"internalType":"bytes32","name":"slot","type":"bytes32"}],"name":"UUPSUnsupportedProxiableUUID","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"CooldownDurationUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"svvvUnlocked","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"diemBurned","type":"uint256"}],"name":"DiemBurned","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256[256]","name":"diemSupply","type":"uint256[256]"},{"indexed":false,"internalType":"uint256[256]","name":"diemMintRates","type":"uint256[256]"}],"name":"DiemMintRatesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"svvvLocked","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"diemMinted","type":"uint256"}],"name":"DiemMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"EmissionRateUpdated","type":"event"},{"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":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newTreasury","type":"address"}],"name":"TreasuryUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"UnstakeFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"UnstakeInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newPercentage","type":"uint256"}],"name":"VeniceEmissionsPercentageUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newPercentage","type":"uint256"}],"name":"VeniceEmissionsPercentageWhenLockedUpdated","type":"event"},{"inputs":[],"name":"ACC_REWARD_SCALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UPGRADE_INTERFACE_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accRewardPerShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accRewardPerShareLocked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"balanceOfUnlocked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"diemAmountToBurn","type":"uint256"}],"name":"burnDiem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimAndStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cooldownDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"diem","outputs":[{"internalType":"contract Diem","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"diemMintRates","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"diemSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emissionRatePerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"finalizeUnstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"sVVVAmountToLock","type":"uint256"}],"name":"getDiemAmountOut","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getVenicePercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_venice","type":"address"},{"internalType":"address","name":"_oracle","type":"address"},{"internalType":"address","name":"_treasury","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"initiateUnstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastRewardTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lockedStakes","outputs":[{"internalType":"uint256","name":"sVVVLockedAmount","type":"uint256"},{"internalType":"uint256","name":"outstandingDiemAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"sVVVAmountToLock","type":"uint256"},{"internalType":"uint256","name":"minDiemAmountOut","type":"uint256"}],"name":"mintDiem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oracle","outputs":[{"internalType":"contract Oracle","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"pendingRewards","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":"_cooldownDuration","type":"uint256"}],"name":"setCooldownDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[256]","name":"_diemSupply","type":"uint256[256]"},{"internalType":"uint256[256]","name":"_diemMintRates","type":"uint256[256]"}],"name":"setDiemMintCurve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_emissionRate","type":"uint256"}],"name":"setEmissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_veniceEmissionsPercentage","type":"uint256"}],"name":"setVeniceEmissionsPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_veniceEmissionsPercentage","type":"uint256"}],"name":"setVeniceEmissionsPercentageWhenLocked","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"stakes","outputs":[{"internalType":"uint256","name":"rewardDebt","type":"uint256"},{"internalType":"uint256","name":"cooldownEnd","type":"uint256"},{"internalType":"uint256","name":"cooldownAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalLockedStakedVVV","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_diem","type":"address"}],"name":"upgradeInitialize","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":"venice","outputs":[{"internalType":"contract Venice","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"veniceEmissionsPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"veniceEmissionsPercentageWhenLocked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}],"devdoc":{"custom:oz-upgrades-from":"Staking","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."}],"ERC20InsufficientAllowance(address,uint256,uint256)":[{"details":"Indicates a failure with the `spender`’s `allowance`. Used in transfers.","params":{"allowance":"Amount of tokens a `spender` is allowed to operate with.","needed":"Minimum amount required to perform a transfer.","spender":"Address that may be allowed to operate on tokens without being their owner."}}],"ERC20InsufficientBalance(address,uint256,uint256)":[{"details":"Indicates an error related to the current `balance` of a `sender`. Used in transfers.","params":{"balance":"Current balance for the interacting account.","needed":"Minimum amount required to perform a transfer.","sender":"Address whose tokens are being transferred."}}],"ERC20InvalidApprover(address)":[{"details":"Indicates a failure with the `approver` of a token to be approved. Used in approvals.","params":{"approver":"Address initiating an approval operation."}}],"ERC20InvalidReceiver(address)":[{"details":"Indicates a failure with the token `receiver`. Used in transfers.","params":{"receiver":"Address to which tokens are being transferred."}}],"ERC20InvalidSender(address)":[{"details":"Indicates a failure with the token `sender`. Used in transfers.","params":{"sender":"Address whose tokens are being transferred."}}],"ERC20InvalidSpender(address)":[{"details":"Indicates a failure with the `spender` to be approved. Used in approvals.","params":{"spender":"Address that may be allowed to operate on tokens without being their owner."}}],"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":{"Approval(address,address,uint256)":{"details":"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance."},"Initialized(uint64)":{"details":"Triggered when the contract has been initialized or reinitialized."},"Transfer(address,address,uint256)":{"details":"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero."},"Upgraded(address)":{"details":"Emitted when the implementation is upgraded."}},"kind":"dev","methods":{"allowance(address,address)":{"details":"See {IERC20-allowance}."},"approve(address,uint256)":{"details":"See {IERC20-approve}. NOTE: If `value` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address."},"balanceOf(address)":{"details":"See {IERC20-balanceOf}."},"claim()":{"details":"   - Harvest logic accounts for all newly minted tokens since the last update.   - Sends the owed amount of VVV directly to the caller."},"claimAndStake()":{"details":"This requires venice approvals are in place ahead fo the call"},"constructor":{"custom:oz-upgrades-unsafe-allow":"constructor"},"decimals()":{"details":"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the default value returned by this function, unless it's overridden. NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}."},"finalizeUnstake()":{"details":"   - Reverts if the cooldown period is not over or if there is no `cooldownAmount` to finalize.   - Resets the cooldown state on success."},"getDiemAmountOut(uint256)":{"details":"This is a step wise function that iterates through the diem mint curve and calculates the amount of diems that can be minted for a given amount of sVVV.","params":{"sVVVAmountToLock":"The amount of sVVV to lock."},"returns":{"_0":"diemAmountOut The amount of diems that can be minted for the given amount of sVVV."}},"getVenicePercentage()":{"details":"maintained for backwards compatibility","returns":{"_0":"The treasury percentage."}},"initiateUnstake(uint256)":{"details":"   - Accumulates and transfers any pending rewards for the user before the burn.   - Updates the user’s `cooldownStart` and `cooldownAmount`.","params":{"amount":"The amount of sVVV tokens to burn and place into cooldown."}},"mintDiem(uint256,uint256)":{"params":{"minDiemAmountOut":"The minimum amount of diems that must be minted or the call will revert.","sVVVAmountToLock":"The amount of sVVV to lock."}},"name()":{"details":"Returns the name of the token."},"owner()":{"details":"Returns the address of the current owner."},"pendingRewards(address)":{"details":"   - This function simulates what `_harvest` would do, but without transferring tokens.","params":{"user":"The address for which to compute the pending rewards."},"returns":{"_0":"The amount of unclaimed VVV rewards, in `wei`."}},"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."},"setCooldownDuration(uint256)":{"details":"Only callable by the contract owner; reverts if called by non-owner.","params":{"newDuration":"The new cooldown duration in seconds."}},"setDiemMintCurve(uint256[256],uint256[256])":{"params":{"_diemMintRates":"The mint rate for each point on the curve.","_diemSupply":"The total supply of diem at each point on the curve."}},"setEmissionRate(uint256)":{"details":"Only callable by the contract owner; reverts if called by non-owner.","params":{"newRate":"The new emission rate per second."}},"setTreasury(address)":{"details":"Only callable by the contract owner; reverts if called by non-owner.","params":{"newTreasury":"The new treasury address."}},"stake(address,uint256)":{"details":"   - User must have approved this contract to transfer `amount` of VVV beforehand.   - Accumulates and transfers any pending rewards for `recipient` before minting new sVVV.","params":{"amount":"The amount of VVV tokens to stake.","recipient":"The address that will receive the newly minted sVVV."}},"symbol()":{"details":"Returns the symbol of the token, usually a shorter version of the name."},"totalSupply()":{"details":"See {IERC20-totalSupply}."},"transfer(address,uint256)":{"details":"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `value`."},"transferFrom(address,address,uint256)":{"details":"See {IERC20-transferFrom}. Skips emitting an {Approval} event indicating an allowance update. This is not required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve]. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `value`. - the caller must have allowance for ``from``'s tokens of at least `value`."},"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":{"accRewardPerShare()":{"notice":"The accumulated rewards per share, scaled by 1e18 for fixed-point precision."},"accRewardPerShareLocked()":{"notice":"Tracks the accumulated reward per share for locked stakes"},"balanceOfUnlocked(address)":{"notice":"Returns the balance of the user excluding their locked sVVV"},"burnDiem(uint256)":{"notice":"Burns diems from user and unlocks the corresponding amount of sVVV"},"claim()":{"notice":"Claims all pending VVV rewards for the caller."},"claimAndStake()":{"notice":"Convenience function to claim rewards and stake them in one transaction and no dust."},"cooldownDuration()":{"notice":"The duration (in seconds) a user must wait after initiating an unstake before they can finalize."},"diem()":{"notice":"Diem token"},"diemMintRates(uint256)":{"notice":"Array of diem mint rates for each diem supply point. This is expressed as sVVV per diem."},"diemSupply(uint256)":{"notice":"Array of diem total supply points for each diem mint rate"},"emissionRatePerSecond()":{"notice":"Emission rate of rewards, expressed in `wei`-denominated VVV per second."},"finalizeUnstake()":{"notice":"Completes the unstaking process by sending the user the equivalent amount of VVV tokens          after the cooldown period has elapsed."},"getDiemAmountOut(uint256)":{"notice":"Returns the amount of diems that can be minted for a given amount of sVVV."},"getVenicePercentage()":{"notice":"Returns the percentage of newly minted rewards that goes to the treasury, as a fraction of 1e18."},"initiateUnstake(uint256)":{"notice":"Initiates the unstaking process: the user burns the specified `amount` of sVVV immediately,          but must wait `cooldownDuration` seconds before calling `finalizeUnstake` to redeem VVV tokens.         After `initiateUnstake` is called, all functions called on that user’s stake will revert, including         claiming, staking and unstaking."},"lastRewardTimestamp()":{"notice":"The timestamp of the most recent rewards update."},"lockedStakes(address)":{"notice":"Mapping of user addresses to their locked stake information"},"mintDiem(uint256,uint256)":{"notice":"Burns sVVV from user and mints diems"},"oracle()":{"notice":"Returns the address of the Oracle used to determine the utilization rate,          which affects how newly minted rewards are split between the treasury and stakers."},"pendingRewards(address)":{"notice":"Returns the pending rewards for a given user, including any rewards that haven’t yet been          fully distributed in `accRewardPerShare`."},"setCooldownDuration(uint256)":{"notice":"Updates the cooldown duration for unstaking, in seconds."},"setDiemMintCurve(uint256[256],uint256[256])":{"notice":"Sets the diem mint curve and therefore the total possible supply of diem is represented as _diemSupply[255]."},"setEmissionRate(uint256)":{"notice":"Updates the emission rate of rewards, expressed in `wei`-denominated VVV per second."},"setTreasury(address)":{"notice":"Updates the treasury address where a portion of new tokens are minted based on utilization rate."},"setVeniceEmissionsPercentage(uint256)":{"notice":"Sets the percentage of emissions that go to venice before considering staking."},"setVeniceEmissionsPercentageWhenLocked(uint256)":{"notice":"Sets the percentage of emissions that go to venice from locked stakes. This is in addition to the percentage that goes to venice from the total emissions. and calculated after. Setting this to 20% (2e17) means that 20% of the rewards from locked stakes go to venice, not 20% of the total rewards."},"stake(address,uint256)":{"notice":"Allows a user to stake `amount` of VVV tokens on behalf of `recipient`,          receiving an equivalent amount of sVVV in return."},"stakes(address)":{"notice":"Represents the staking information for each user."},"totalLockedStakedVVV()":{"notice":"Total amount of sVVV that is currently locked"},"treasury()":{"notice":"Returns the address of the treasury that receives a portion of newly minted rewards."},"venice()":{"notice":"Returns the address of the Venice (VVV) token contract."},"veniceEmissionsPercentage()":{"notice":"Percentage of total emissions that go to venice"},"veniceEmissionsPercentageWhenLocked()":{"notice":"Percentage of emissions that go to venice from users have locked their sVVV"}},"version":1}},"settings":{"compilationTarget":{"src/StakingV2.sol":"StakingV2"},"evmVersion":"cancun","libraries":{},"metadata":{"bytecodeHash":"ipfs"},"optimizer":{"enabled":true,"runs":200},"remappings":[":@openzeppelin-contracts-5.2.0-rc.1/=dependencies/@openzeppelin-contracts-5.2.0-rc.1/",":@openzeppelin-contracts-upgradeable-5.2.0-rc.1/=dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/",":@openzeppelin-contracts-upgradeable/=dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/",":@openzeppelin/contracts/=dependencies/@openzeppelin-contracts-5.2.0-rc.1/",":ds-test/=dependencies/openzeppelin-foundry-upgrades-0.3.6/lib/solidity-stringutils/lib/ds-test/src/",":forge-std-1.9.5/=dependencies/forge-std-1.9.5/src/",":forge-std/=dependencies/forge-std-1.9.5/src/",":openzeppelin-foundry-upgrades-0.3.6/=dependencies/openzeppelin-foundry-upgrades-0.3.6/src/",":openzeppelin-foundry-upgrades/=dependencies/openzeppelin-foundry-upgrades-0.3.6/",":solidity-stringutils/=dependencies/openzeppelin-foundry-upgrades-0.3.6/lib/solidity-stringutils/",":solmate-6.8.0/=dependencies/solmate-6.8.0/src/",":solmate/=dependencies/solmate-6.8.0/"],"viaIR":true},"sources":{"dependencies/@openzeppelin-contracts-5.2.0-rc.1/access/AccessControl.sol":{"keccak256":"0xa0e92d42942f4f57c5be50568dac11e9d00c93efcb458026e18d2d9b9b2e7308","license":"MIT","urls":["bzz-raw://46326c0bb1e296b67185e81c918e0b40501b8b6386165855df0a3f3c634b6a80","dweb:/ipfs/QmTwyrDYtsxsk6pymJTK94PnEpzsmkpUxFuzEiakDopy4Z"]},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/access/IAccessControl.sol":{"keccak256":"0xc1c2a7f1563b77050dc6d507db9f4ada5d042c1f6a9ddbffdc49c77cdc0a1606","license":"MIT","urls":["bzz-raw://fd54abb96a6156d9a761f6fdad1d3004bc48d2d4fce47f40a3f91a7ae83fc3a1","dweb:/ipfs/QmUrFSGkTDJ7WaZ6qPVVe3Gn5uN2viPb7x7QQ35UX4DofX"]},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/interfaces/IERC1967.sol":{"keccak256":"0xb25a4f11fa80c702bf5cd85adec90e6f6f507f32f4a8e6f5dbc31e8c10029486","license":"MIT","urls":["bzz-raw://6917f8a323e7811f041aecd4d9fd6e92455a6fba38a797ac6f6e208c7912b79d","dweb:/ipfs/QmShuYv55wYHGi4EFkDB8QfF7ZCHoKk2efyz3AWY1ExSq7"]},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/interfaces/draft-IERC1822.sol":{"keccak256":"0xc42facb5094f2f35f066a7155bda23545e39a3156faef3ddc00185544443ba7d","license":"MIT","urls":["bzz-raw://d3b36282ab029b46bd082619a308a2ea11c309967b9425b7b7a6eb0b0c1c3196","dweb:/ipfs/QmP2YVfDB2FoREax3vJu7QhDnyYRMw52WPrCD4vdT2kuDA"]},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/interfaces/draft-IERC6093.sol":{"keccak256":"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b","license":"MIT","urls":["bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b","dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz"]},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/proxy/ERC1967/ERC1967Utils.sol":{"keccak256":"0x5d411c014f3f43ee088c1944b7b2f4723f26c7438d2dbfda7cd052d9a2eb3883","license":"MIT","urls":["bzz-raw://93cfe60d44e48430b30b0a125fd9c740f585ebedb6eadcd927d480af5bdd1b20","dweb:/ipfs/QmaRGJVsa9X8iwqvLijdyHa3E9vQLGixcku43FWmCp3kbh"]},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/proxy/beacon/IBeacon.sol":{"keccak256":"0xc59a78b07b44b2cf2e8ab4175fca91e8eca1eee2df7357b8d2a8833e5ea1f64c","license":"MIT","urls":["bzz-raw://5aa4f07e65444784c29cd7bfcc2341b34381e4e5b5da9f0c5bd00d7f430e66fa","dweb:/ipfs/QmWRMh4Q9DpaU9GvsiXmDdoNYMyyece9if7hnfLz7uqzWM"]},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/token/ERC20/ERC20.sol":{"keccak256":"0x0a94ddd82d8129870fc73f885a7f01569e495ab71bfbb72cf0de10b464b1d7c7","license":"MIT","urls":["bzz-raw://57e82916452addf4d6331221d3bbbdc441767bb7cc767726a51f9864ef56a427","dweb:/ipfs/QmNNR4HmWSfXEihAX5ZNxzQwKyS7xVQBU7j2vuS1G1K26K"]},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/token/ERC20/IERC20.sol":{"keccak256":"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7","license":"MIT","urls":["bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db","dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9"]},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x70f2f713b13b7ce4610bcd0ac9fec0f3cc43693b043abcb8dc40a42a726eb330","license":"MIT","urls":["bzz-raw://c13d13304ac79a83ab1c30168967d19e2203342ebbd6a9bbce4db7550522dcbf","dweb:/ipfs/QmeN5jKMN2vw5bhacr6tkg78afbTTZUeaacNHqjWt4Ew1r"]},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/Address.sol":{"keccak256":"0x9d8da059267bac779a2dbbb9a26c2acf00ca83085e105d62d5d4ef96054a47f5","license":"MIT","urls":["bzz-raw://c78e2aa4313323cecd1ef12a8d6265b96beee1a199923abf55d9a2a9e291ad23","dweb:/ipfs/QmUTs2KStXucZezzFo3EYeqYu47utu56qrF7jj1Gue65vb"]},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/Context.sol":{"keccak256":"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2","license":"MIT","urls":["bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12","dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF"]},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/Errors.sol":{"keccak256":"0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123","license":"MIT","urls":["bzz-raw://ba1d02f4847670a1b83dec9f7d37f0b0418d6043447b69f3a29a5f9efc547fcf","dweb:/ipfs/QmQ7iH2keLNUKgq2xSWcRmuBE5eZ3F5whYAkAGzCNNoEWB"]},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/StorageSlot.sol":{"keccak256":"0xcf74f855663ce2ae00ed8352666b7935f6cddea2932fdf2c3ecd30a9b1cd0e97","license":"MIT","urls":["bzz-raw://9f660b1f351b757dfe01438e59888f31f33ded3afcf5cb5b0d9bf9aa6f320a8b","dweb:/ipfs/QmarDJ5hZEgBtCmmrVzEZWjub9769eD686jmzb2XpSU1cM"]},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/introspection/ERC165.sol":{"keccak256":"0xddce8e17e3d3f9ed818b4f4c4478a8262aab8b11ed322f1bf5ed705bb4bd97fa","license":"MIT","urls":["bzz-raw://8084aa71a4cc7d2980972412a88fe4f114869faea3fefa5436431644eb5c0287","dweb:/ipfs/Qmbqfs5dRdPvHVKY8kTaeyc65NdqXRQwRK7h9s5UJEhD1p"]},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/introspection/IERC165.sol":{"keccak256":"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8","license":"MIT","urls":["bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621","dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL"]},"dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/access/OwnableUpgradeable.sol":{"keccak256":"0xc163fcf9bb10138631a9ba5564df1fa25db9adff73bd9ee868a8ae1858fe093a","license":"MIT","urls":["bzz-raw://9706d43a0124053d9880f6e31a59f31bc0a6a3dc1acd66ce0a16e1111658c5f6","dweb:/ipfs/QmUFmfowzkRwGtDu36cXV9SPTBHJ3n7dG9xQiK5B28jTf2"]},"dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/proxy/utils/Initializable.sol":{"keccak256":"0x631188737069917d2f909d29ce62c4d48611d326686ba6683e26b72a23bfac0b","license":"MIT","urls":["bzz-raw://7a61054ae84cd6c4d04c0c4450ba1d6de41e27e0a2c4f1bcdf58f796b401c609","dweb:/ipfs/QmUvtdp7X1mRVyC3CsHrtPbgoqWaXHp3S1ZR24tpAQYJWM"]},"dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/proxy/utils/UUPSUpgradeable.sol":{"keccak256":"0x6b64099c3e3ed0ebe5346b99f3dba8af62f0d683f80c48c0dfbd840608d0edc7","license":"MIT","urls":["bzz-raw://f363a46c2545416e82d41600368173c228389a7d1419fa7b035c701dbc03f4f8","dweb:/ipfs/QmXuKQaL5ecee4738qbXpnTfwRUq5p37MpiJMRk6iMgyGz"]},"dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/token/ERC20/ERC20Upgradeable.sol":{"keccak256":"0xdeb60ecec07d21349408b883dd026a8e676e8303cd6b3327df5daf5f98f017e6","license":"MIT","urls":["bzz-raw://5a3a29e119b5c1ad7a5cd84e6d8410e4b1b273ed1f91511eaba78bf0d14ae1b6","dweb:/ipfs/QmVagSBRBWY4DyNgdABQKVC1zUA75vYnMU6xZZqo9EFi4h"]},"dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/utils/ContextUpgradeable.sol":{"keccak256":"0xdbef5f0c787055227243a7318ef74c8a5a1108ca3a07f2b3a00ef67769e1e397","license":"MIT","urls":["bzz-raw://08e39f23d5b4692f9a40803e53a8156b72b4c1f9902a88cd65ba964db103dab9","dweb:/ipfs/QmPKn6EYDgpga7KtpkA8wV2yJCYGMtc9K4LkJfhKX2RVSV"]},"dependencies/solmate-6.8.0/src/auth/Owned.sol":{"keccak256":"0xfedb27d14c508342c33eb067c9a02eabcdb0f9dcf93b04ded1001f580d12d0ea","license":"AGPL-3.0-only","urls":["bzz-raw://1ff52bbee698b9cf9e4574615e6550be0887ccf355f6571e23d6f25b332e79b4","dweb:/ipfs/QmVorA2apojVRStzS7h8aFccR3Uv32G6HVtBtFHZrE7YXx"]},"dependencies/solmate-6.8.0/src/tokens/ERC20.sol":{"keccak256":"0xcdfd8db76b2a3415620e4d18cc5545f3d50de792dbf2c3dd5adb40cbe6f94b10","license":"AGPL-3.0-only","urls":["bzz-raw://57b3ab70cde374af1cf2c9888636e8de6cf660f087b1c9abd805e9271e19fa35","dweb:/ipfs/QmNrLDBAHYFjpjSd12jerm1AdBkDqEYUUaXgnT854BUZ97"]},"interface/IStaking.sol":{"keccak256":"0xb02efc1a18ad3624edc60a7a383da905dde0f3f3a23fe056a56a39de7aa2a6f5","license":"MIT","urls":["bzz-raw://c39265ed235e38ae6c59e26ee7034c9fc52fd965aac4bd57b5f475616bfbe27e","dweb:/ipfs/QmaHu8cKarxkUuoyPUYCUTC3keXfiiqJByjCe6q9obvLtK"]},"interface/IStakingV2.sol":{"keccak256":"0xe2db3b6e87014e4a16c5c1ea3e4573a10c6b7f24af4b77b498625c0296d431d9","license":"MIT","urls":["bzz-raw://e3dc8bece4a6413f6dad3c6d543affd6fbd45ec2caa07d352378e655e76f9949","dweb:/ipfs/QmV5G5uG9eM7cJYT1WbnkYNJr8r5dPrFL9kYysUuQSd1dk"]},"lib/Errors.sol":{"keccak256":"0x206bf245fd5a93955356e2a95e2657cc982b397a0926333d2b376a5706c3970b","license":"MIT","urls":["bzz-raw://6eba57b4416a5d8b9a5fe9a0c66614fa46d977670834573964e48553dd3af337","dweb:/ipfs/QmSdyDgigBPrsiuBD5VMJoSjobqtXmpP1URqQ5kxsYULgD"]},"src/Diem.sol":{"keccak256":"0xd4d52fc88aaac7a4f03cdf855f450cff8122334b13f521ad52d676dbb0299fd3","license":"MIT","urls":["bzz-raw://a159cd7f9f5ca2263a72e80b9483136fca38250f17cf7acd8ddbfaede373004d","dweb:/ipfs/QmQWs5StKbM63JaW4V2tjPCWCqpFyotbBa1L5ZJXyc4QzX"]},"src/Oracle.sol":{"keccak256":"0x992152c903dd4b3da7a6faea918ba3c75f406682645524c9d8cd15a865032687","license":"MIT","urls":["bzz-raw://2bcc9bd38784a124b2e67fe01c910a61f9126b10f1ad5bd324509fc546a2a148","dweb:/ipfs/QmUgWjMf47gm3Uf29VUyjS1rhv53Hgd5YFn4r7vuFZkhvM"]},"src/Staking.sol":{"keccak256":"0xa9cd37f1520d638d6a7ad34cef1dd34ca7a4b4a2a7c4fd754fbb024845f87315","license":"MIT","urls":["bzz-raw://c9a58e58b95d3747466f0110f4f44350dd047fe14a84842ad27132408535e9e8","dweb:/ipfs/QmdxaC8WZrobgrktH5mZJzC9WuMMgQzPK1Mm2o5czFLeD1"]},"src/StakingV2.sol":{"keccak256":"0x4c75185eb330041c948bbdc2a71331e9ecc6b14237330c2e5754448c9ac3e3d9","license":"MIT","urls":["bzz-raw://b200241286378c040693a6726afc00dd732cd64b357d11fe8bb85dd6ff28837d","dweb:/ipfs/QmUQgdyDMky11uNoX1oBiwNo3zZ7tBADHRDZAZwvULf6rE"]},"src/Venice.sol":{"keccak256":"0x0987d938e2ff2e4853d8a28ce993a4a81efb05355322ea40f9ac68ad5ceab1a9","license":"MIT","urls":["bzz-raw://5211839d2f6aef90606b3d55d936c04e98309b0004d42bb21623489b55cc9398","dweb:/ipfs/QmTCwH1oRQNceyZ6tjtm1NRM9KgLVy8MdFNqxV1aKTbnix"]}},"version":1},"storageLayout":{"types":{"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_contract(Diem)4238":{"label":"contract Diem","encoding":"inplace","numberOfBytes":"20"},"t_contract(Oracle)4359":{"label":"contract Oracle","encoding":"inplace","numberOfBytes":"20"},"t_contract(Venice)6288":{"label":"contract Venice","encoding":"inplace","numberOfBytes":"20"},"t_array(t_uint256)256_storage":{"base":"t_uint256","label":"uint256[256]","encoding":"inplace","numberOfBytes":"8192"},"t_struct(StakeInfo)4405_storage":{"label":"struct Staking.StakeInfo","members":[{"slot":"0","type":"t_uint256","astId":4400,"label":"rewardDebt","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"1","type":"t_uint256","astId":4402,"label":"cooldownEnd","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"2","type":"t_uint256","astId":4404,"label":"cooldownAmount","offset":0,"contract":"src/StakingV2.sol:StakingV2"}],"encoding":"inplace","numberOfBytes":"96"},"t_struct(LockedStakeInfo)5123_storage":{"label":"struct StakingV2.LockedStakeInfo","members":[{"slot":"0","type":"t_uint256","astId":5120,"label":"sVVVLockedAmount","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"1","type":"t_uint256","astId":5122,"label":"outstandingDiemAmount","offset":0,"contract":"src/StakingV2.sol:StakingV2"}],"encoding":"inplace","numberOfBytes":"64"},"t_mapping(t_address,t_struct(StakeInfo)4405_storage)":{"key":"t_address","label":"mapping(address => struct Staking.StakeInfo)","value":"t_struct(StakeInfo)4405_storage","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_address,t_struct(LockedStakeInfo)5123_storage)":{"key":"t_address","label":"mapping(address => struct StakingV2.LockedStakeInfo)","value":"t_struct(LockedStakeInfo)5123_storage","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_contract(Venice)6288","astId":4389,"label":"venice","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"1","type":"t_contract(Oracle)4359","astId":4392,"label":"oracle","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"2","type":"t_address","astId":4394,"label":"treasury","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"3","type":"t_uint256","astId":4396,"label":"emissionRatePerSecond","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"4","type":"t_uint256","astId":4398,"label":"cooldownDuration","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"5","type":"t_mapping(t_address,t_struct(StakeInfo)4405_storage)","astId":4410,"label":"stakes","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"6","type":"t_uint256","astId":4412,"label":"accRewardPerShare","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"7","type":"t_uint256","astId":4414,"label":"lastRewardTimestamp","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"8","type":"t_uint256","astId":5095,"label":"accRewardPerShareLocked","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"9","type":"t_uint256","astId":5098,"label":"veniceEmissionsPercentage","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"10","type":"t_uint256","astId":5101,"label":"veniceEmissionsPercentageWhenLocked","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"11","type":"t_uint256","astId":5104,"label":"totalLockedStakedVVV","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"12","type":"t_contract(Diem)4238","astId":5108,"label":"diem","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"13","type":"t_array(t_uint256)256_storage","astId":5113,"label":"diemSupply","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"269","type":"t_array(t_uint256)256_storage","astId":5118,"label":"diemMintRates","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"525","type":"t_mapping(t_address,t_struct(LockedStakeInfo)5123_storage)","astId":5129,"label":"lockedStakes","offset":0,"contract":"src/StakingV2.sol:StakingV2"}]},"transientStorageLayout":null,"userdoc":{"kind":"user","methods":{"diem()":{"notice":"Diem token"},"claim()":{"notice":"Claims all pending VVV rewards for the caller."},"oracle()":{"notice":"Returns the address of the Oracle used to determine the utilization rate,          which affects how newly minted rewards are split between the treasury and stakers."},"venice()":{"notice":"Returns the address of the Venice (VVV) token contract."},"treasury()":{"notice":"Returns the address of the treasury that receives a portion of newly minted rewards."},"claimAndStake()":{"notice":"Convenience function to claim rewards and stake them in one transaction and no dust."},"stakes(address)":{"notice":"Represents the staking information for each user."},"burnDiem(uint256)":{"notice":"Burns diems from user and unlocks the corresponding amount of sVVV"},"finalizeUnstake()":{"notice":"Completes the unstaking process by sending the user the equivalent amount of VVV tokens          after the cooldown period has elapsed."},"cooldownDuration()":{"notice":"The duration (in seconds) a user must wait after initiating an unstake before they can finalize."},"accRewardPerShare()":{"notice":"The accumulated rewards per share, scaled by 1e18 for fixed-point precision."},"diemSupply(uint256)":{"notice":"Array of diem total supply points for each diem mint rate"},"setTreasury(address)":{"notice":"Updates the treasury address where a portion of new tokens are minted based on utilization rate."},"getVenicePercentage()":{"notice":"Returns the percentage of newly minted rewards that goes to the treasury, as a fraction of 1e18."},"lastRewardTimestamp()":{"notice":"The timestamp of the most recent rewards update."},"lockedStakes(address)":{"notice":"Mapping of user addresses to their locked stake information"},"diemMintRates(uint256)":{"notice":"Array of diem mint rates for each diem supply point. This is expressed as sVVV per diem."},"stake(address,uint256)":{"notice":"Allows a user to stake `amount` of VVV tokens on behalf of `recipient`,          receiving an equivalent amount of sVVV in return."},"totalLockedStakedVVV()":{"notice":"Total amount of sVVV that is currently locked"},"emissionRatePerSecond()":{"notice":"Emission rate of rewards, expressed in `wei`-denominated VVV per second."},"pendingRewards(address)":{"notice":"Returns the pending rewards for a given user, including any rewards that haven’t yet been          fully distributed in `accRewardPerShare`."},"initiateUnstake(uint256)":{"notice":"Initiates the unstaking process: the user burns the specified `amount` of sVVV immediately,          but must wait `cooldownDuration` seconds before calling `finalizeUnstake` to redeem VVV tokens.         After `initiateUnstake` is called, all functions called on that user’s stake will revert, including         claiming, staking and unstaking."},"setEmissionRate(uint256)":{"notice":"Updates the emission rate of rewards, expressed in `wei`-denominated VVV per second."},"accRewardPerShareLocked()":{"notice":"Tracks the accumulated reward per share for locked stakes"},"getDiemAmountOut(uint256)":{"notice":"Returns the amount of diems that can be minted for a given amount of sVVV."},"mintDiem(uint256,uint256)":{"notice":"Burns sVVV from user and mints diems"},"balanceOfUnlocked(address)":{"notice":"Returns the balance of the user excluding their locked sVVV"},"veniceEmissionsPercentage()":{"notice":"Percentage of total emissions that go to venice"},"setCooldownDuration(uint256)":{"notice":"Updates the cooldown duration for unstaking, in seconds."},"setVeniceEmissionsPercentage(uint256)":{"notice":"Sets the percentage of emissions that go to venice before considering staking."},"veniceEmissionsPercentageWhenLocked()":{"notice":"Percentage of emissions that go to venice from users have locked their sVVV"},"setDiemMintCurve(uint256[256],uint256[256])":{"notice":"Sets the diem mint curve and therefore the total possible supply of diem is represented as _diemSupply[255]."},"setVeniceEmissionsPercentageWhenLocked(uint256)":{"notice":"Sets the percentage of emissions that go to venice from locked stakes. This is in addition to the percentage that goes to venice from the total emissions. and calculated after. Setting this to 20% (2e17) means that 20% of the rewards from locked stakes go to venice, not 20% of the total rewards."}},"version":1},"devdoc":{"kind":"dev","errors":{"FailedCall()":[{"details":"A call to an address target failed. The target may have reverted."}],"NotInitializing()":[{"details":"The contract is not initializing."}],"ERC1967NonPayable()":[{"details":"An upgrade function sees `msg.value > 0` that may be lost."}],"InvalidInitialization()":[{"details":"The contract is already initialized."}],"AddressEmptyCode(address)":[{"details":"There's no code at `target` (it is not a contract)."}],"ERC20InvalidSender(address)":[{"params":{"sender":"Address whose tokens are being transferred."},"details":"Indicates a failure with the token `sender`. Used in transfers."}],"ERC20InvalidSpender(address)":[{"params":{"spender":"Address that may be allowed to operate on tokens without being their owner."},"details":"Indicates a failure with the `spender` to be approved. Used in approvals."}],"OwnableInvalidOwner(address)":[{"details":"The owner is not a valid owner account. (eg. `address(0)`)"}],"ERC20InvalidApprover(address)":[{"params":{"approver":"Address initiating an approval operation."},"details":"Indicates a failure with the `approver` of a token to be approved. Used in approvals."}],"ERC20InvalidReceiver(address)":[{"params":{"receiver":"Address to which tokens are being transferred."},"details":"Indicates a failure with the token `receiver`. Used in transfers."}],"UUPSUnauthorizedCallContext()":[{"details":"The call is from an unauthorized context."}],"OwnableUnauthorizedAccount(address)":[{"details":"The caller account is not authorized to perform an operation."}],"ERC1967InvalidImplementation(address)":[{"details":"The `implementation` of the proxy is invalid."}],"UUPSUnsupportedProxiableUUID(bytes32)":[{"details":"The storage `slot` is unsupported as a UUID."}],"ERC20InsufficientBalance(address,uint256,uint256)":[{"params":{"needed":"Minimum amount required to perform a transfer.","sender":"Address whose tokens are being transferred.","balance":"Current balance for the interacting account."},"details":"Indicates an error related to the current `balance` of a `sender`. Used in transfers."}],"ERC20InsufficientAllowance(address,uint256,uint256)":[{"params":{"needed":"Minimum amount required to perform a transfer.","spender":"Address that may be allowed to operate on tokens without being their owner.","allowance":"Amount of tokens a `spender` is allowed to operate with."},"details":"Indicates a failure with the `spender`’s `allowance`. Used in transfers."}]},"events":{"Upgraded(address)":{"details":"Emitted when the implementation is upgraded."},"Initialized(uint64)":{"details":"Triggered when the contract has been initialized or reinitialized."},"Approval(address,address,uint256)":{"details":"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance."},"Transfer(address,address,uint256)":{"details":"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero."}},"methods":{"name()":{"details":"Returns the name of the token."},"claim()":{"details":"   - Harvest logic accounts for all newly minted tokens since the last update.   - Sends the owed amount of VVV directly to the caller."},"owner()":{"details":"Returns the address of the current owner."},"symbol()":{"details":"Returns the symbol of the token, usually a shorter version of the name."},"decimals()":{"details":"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the default value returned by this function, unless it's overridden. NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}."},"constructor":{"custom:oz-upgrades-unsafe-allow":"constructor"},"totalSupply()":{"details":"See {IERC20-totalSupply}."},"claimAndStake()":{"details":"This requires venice approvals are in place ahead fo the call"},"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."},"finalizeUnstake()":{"details":"   - Reverts if the cooldown period is not over or if there is no `cooldownAmount` to finalize.   - Resets the cooldown state on success."},"balanceOf(address)":{"details":"See {IERC20-balanceOf}."},"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."},"setTreasury(address)":{"params":{"newTreasury":"The new treasury address."},"details":"Only callable by the contract owner; reverts if called by non-owner."},"getVenicePercentage()":{"details":"maintained for backwards compatibility","returns":{"_0":"The treasury percentage."}},"stake(address,uint256)":{"params":{"amount":"The amount of VVV tokens to stake.","recipient":"The address that will receive the newly minted sVVV."},"details":"   - User must have approved this contract to transfer `amount` of VVV beforehand.   - Accumulates and transfers any pending rewards for `recipient` before minting new sVVV."},"pendingRewards(address)":{"params":{"user":"The address for which to compute the pending rewards."},"details":"   - This function simulates what `_harvest` would do, but without transferring tokens.","returns":{"_0":"The amount of unclaimed VVV rewards, in `wei`."}},"approve(address,uint256)":{"details":"See {IERC20-approve}. NOTE: If `value` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address."},"initiateUnstake(uint256)":{"params":{"amount":"The amount of sVVV tokens to burn and place into cooldown."},"details":"   - Accumulates and transfers any pending rewards for the user before the burn.   - Updates the user’s `cooldownStart` and `cooldownAmount`."},"setEmissionRate(uint256)":{"params":{"newRate":"The new emission rate per second."},"details":"Only callable by the contract owner; reverts if called by non-owner."},"getDiemAmountOut(uint256)":{"params":{"sVVVAmountToLock":"The amount of sVVV to lock."},"details":"This is a step wise function that iterates through the diem mint curve and calculates the amount of diems that can be minted for a given amount of sVVV.","returns":{"_0":"diemAmountOut The amount of diems that can be minted for the given amount of sVVV."}},"mintDiem(uint256,uint256)":{"params":{"minDiemAmountOut":"The minimum amount of diems that must be minted or the call will revert.","sVVVAmountToLock":"The amount of sVVV to lock."}},"transfer(address,uint256)":{"details":"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `value`."},"allowance(address,address)":{"details":"See {IERC20-allowance}."},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"setCooldownDuration(uint256)":{"params":{"newDuration":"The new cooldown duration in seconds."},"details":"Only callable by the contract owner; reverts if called by non-owner."},"upgradeToAndCall(address,bytes)":{"details":"Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call encoded in `data`. Calls {_authorizeUpgrade}. Emits an {Upgraded} event.","custom:oz-upgrades-unsafe-allow-reachable":"delegatecall"},"transferFrom(address,address,uint256)":{"details":"See {IERC20-transferFrom}. Skips emitting an {Approval} event indicating an allowance update. This is not required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve]. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `value`. - the caller must have allowance for ``from``'s tokens of at least `value`."},"setDiemMintCurve(uint256[256],uint256[256])":{"params":{"_diemSupply":"The total supply of diem at each point on the curve.","_diemMintRates":"The mint rate for each point on the curve."}}},"version":1,"custom:oz-upgrades-from":"Staking"},"sourceIds":{"src/Diem.sol":{"id":26},"lib/Errors.sol":{"id":25},"src/Oracle.sol":{"id":27},"src/Venice.sol":{"id":30},"src/Staking.sol":{"id":28},"src/StakingV2.sol":{"id":29},"interface/IStaking.sol":{"id":23},"interface/IStakingV2.sol":{"id":24},"dependencies/solmate-6.8.0/src/auth/Owned.sol":{"id":21},"dependencies/solmate-6.8.0/src/tokens/ERC20.sol":{"id":22},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/Errors.sol":{"id":12},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/Address.sol":{"id":10},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/Context.sol":{"id":11},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/token/ERC20/ERC20.sol":{"id":7},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/StorageSlot.sol":{"id":13},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/token/ERC20/IERC20.sol":{"id":8},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/interfaces/IERC1967.sol":{"id":2},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/access/AccessControl.sol":{"id":0},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/proxy/beacon/IBeacon.sol":{"id":6},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/access/IAccessControl.sol":{"id":1},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/interfaces/draft-IERC1822.sol":{"id":3},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/interfaces/draft-IERC6093.sol":{"id":4},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/proxy/ERC1967/ERC1967Utils.sol":{"id":5},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/introspection/ERC165.sol":{"id":14},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/introspection/IERC165.sol":{"id":15},"dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/utils/ContextUpgradeable.sol":{"id":20},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/token/ERC20/extensions/IERC20Metadata.sol":{"id":9},"dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/access/OwnableUpgradeable.sol":{"id":16},"dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/proxy/utils/Initializable.sol":{"id":17},"dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/proxy/utils/UUPSUpgradeable.sol":{"id":18},"dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/token/ERC20/ERC20Upgradeable.sol":{"id":19}},"additionalInput":null,"stdJsonInput":{"sources":{"src/Diem.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity =0.8.26;\n\nimport {ERC20} from \"@openzeppelin/contracts/token/ERC20/ERC20.sol\";\nimport {AccessControl} from \"@openzeppelin/contracts/access/AccessControl.sol\";\nimport {Errors} from \"../lib/Errors.sol\";\n\n/// @title Diem\n/// @notice ERC20 token created by StakingV2 contract by staking sVVV.\n/// user who would like to access VeniceAI API services must stake Diem in this contract\n/// and request withdrawals that will be delayed by a cooldown period.\ncontract Diem is ERC20, AccessControl {\n    bytes32 public constant MINTER_BURNER_ROLE = keccak256(\"MINTER_BURNER_ROLE\");\n\n    event Staked(address indexed user, uint256 amount);\n    event Unstaked(address indexed user, uint256 amount);\n    event UnstakeInitiated(address indexed user, uint256 amount);\n    event CooldownDurationUpdated(uint256 cooldownDuration);\n\n    /// @notice Cooldown period for withdrawals\n    uint256 public cooldownDuration = 1 days;\n\n    /// @notice Total amount of Diem staked in the contract\n    uint256 public totalStaked;\n\n    struct StakedInfo {\n        uint256 amountStaked;\n        uint256 coolDownEnd;\n        uint256 coolDownAmount;\n    }\n\n    mapping(address => StakedInfo) public stakedInfos;\n\n    constructor() ERC20(\"Diem\", \"DIEM\") {\n        _grantRole(DEFAULT_ADMIN_ROLE, msg.sender); // has the ability to add minter/burner roles\n    }\n\n    /// @notice Mints new Diem tokens - only callable by minter role (StakingV2)\n    /// @param to The address to mint the tokens to\n    /// @param amount The amount of tokens to mint\n    function mint(address to, uint256 amount) external onlyRole(MINTER_BURNER_ROLE) {\n        _mint(to, amount);\n    }\n\n    /// @notice Burns Diem tokens - only callable by minter role (StakingV2)\n    /// @param from The address to burn the tokens from\n    /// @param amount The amount of tokens to burn\n    function burn(address from, uint256 amount) external onlyRole(MINTER_BURNER_ROLE) {\n        _burn(from, amount);\n    }\n\n    /// @notice Sets the cooldown duration for withdrawals - only callable by default admin role\n    /// @param _cooldownDuration The new cooldown duration\n    function setCooldownDuration(uint256 _cooldownDuration) external onlyRole(DEFAULT_ADMIN_ROLE) {\n        cooldownDuration = _cooldownDuration;\n        emit CooldownDurationUpdated(_cooldownDuration);\n    }\n\n    /// @notice Stakes Diem tokens for use within the VeniceAI ecosystem\n    /// @param amount The amount of tokens to stake\n    function stake(uint256 amount) external {\n        require(amount > 0, Errors.STAKE_ZERO);\n        require(balanceOf(msg.sender) >= amount, Errors.INSUFFICIENT_BALANCE);\n\n        totalStaked += amount;\n        stakedInfos[msg.sender].amountStaked += amount;\n        _update(msg.sender, address(this), amount); // avoid approvals\n        emit Staked(msg.sender, amount);\n    }\n\n    /// @notice Initiates a cooldown period for unstaking Diem tokens\n    /// @param amount The amount of tokens to initiate the cooldown for\n    function initiateUnstake(uint256 amount) external {\n        require(amount > 0, Errors.UNSTAKE_ZERO);\n        require(stakedInfos[msg.sender].amountStaked >= amount, Errors.INSUFFICIENT_STAKED_BALANCE);\n        StakedInfo storage stakedInfo = stakedInfos[msg.sender];\n        stakedInfo.coolDownEnd = block.timestamp + cooldownDuration;\n        stakedInfo.coolDownAmount += amount; // users can increase amount in cooldown, but have to wait again.\n        stakedInfo.amountStaked -= amount;\n        emit UnstakeInitiated(msg.sender, amount);\n    }\n\n    /// @notice Unstakes Diem tokens after the cooldown period has ended transferring them to the user\n    function unstake() external {\n        StakedInfo storage stakedInfo = stakedInfos[msg.sender];\n        require(stakedInfo.coolDownAmount > 0, Errors.NO_COOLDOWN);\n        require(block.timestamp >= stakedInfo.coolDownEnd, Errors.COOLDOWN_NOT_OVER);\n        uint256 amountToUnstake = stakedInfo.coolDownAmount;\n        totalStaked -= amountToUnstake;\n        stakedInfo.coolDownAmount = 0; // critical to reset this to 0!\n        stakedInfo.coolDownEnd = 0;\n        _update(address(this), msg.sender, amountToUnstake);\n        emit Unstaked(msg.sender, amountToUnstake);\n    }\n}\n"},"lib/Errors.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity =0.8.26;\n\nlibrary Errors {\n    string constant STAKE_ZERO               = \"STAKE_ZERO\";\n    string constant UNSTAKE_ZERO             = \"UNSTAKE_ZERO\";\n    string constant LOCK_ZERO                = \"LOCK_ZERO\";\n    string constant NO_COOLDOWN              = \"NO_COOLDOWN\";\n    string constant COOLDOWN_NOT_OVER        = \"COOLDOWN_NOT_OVER\";\n    string constant NOT_TRANSFERRABLE        = \"NOT_TRANSFERRABLE\";\n    string constant NOT_RELAYER              = \"NOT_RELAYER\";\n    string constant INVALID_UTILIZATION_RATE = \"INVALID_UTILIZATION_RATE\";\n    string constant INSUFFICIENT_SUPPLY      = \"INSUFFICIENT_SUPPLY\";\n    string constant ALREADY_INITIALIZED            = \"ALREADY_INITIALIZED\";\n    string constant INSUFFICIENT_BALANCE           = \"INSUFFICIENT_BALANCE\";\n    string constant INSUFFICIENT_STAKED_BALANCE    = \"INSUFFICIENT_STAKED_BALANCE\";\n    string constant INSUFFICIENT_LOCKED_BALANCE    = \"INSUFFICIENT_LOCKED_BALANCE\";\n    string constant INSUFFICIENT_OUTSTANDING_DIEMS = \"INSUFFICIENT_OUTSTANDING_DIEMS\";\n    string constant BURN_ZERO                      = \"BURN_ZERO\";\n    string constant INVALID_EMISSIONS_PERCENTAGE   = \"INVALID_EMISSIONS_PERCENTAGE\";\n    string constant MIN_AMOUNT_OUT                 = \"BELOW_MIN_DIEM_AMOUNT_OUT\";\n    string constant COOLDOWN_IN_PROGRESS           = \"COOLDOWN_IN_PROGRESS\";\n}"},"src/Oracle.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity =0.8.26;\n\nimport {Owned} from \"solmate/src/auth/Owned.sol\";\nimport {Errors} from \"../lib/Errors.sol\";\n\ncontract Oracle is Owned(msg.sender) {\n    uint256 public utilizationRate;\n    uint256 public updatedAt;\n\n    mapping(address => bool) public isRelayer;\n\n    modifier onlyRelayer() {\n        require(isRelayer[msg.sender], Errors.NOT_RELAYER);\n        _;\n    }\n\n    event UtilizationRateUpdated(uint256 newRate, uint256 timestamp);\n    event RelayerAdded(address relayer);\n    event RelayerRemoved(address relayer);\n\n    function setUtilizationRate(uint256 _utilizationRate) external onlyRelayer {\n        require(_utilizationRate >= 0 && _utilizationRate <= 1 * 10 ** 18, Errors.INVALID_UTILIZATION_RATE);\n        utilizationRate = _utilizationRate;\n        updatedAt = block.timestamp;\n        emit UtilizationRateUpdated(_utilizationRate, block.timestamp);\n    }\n\n    function addRelayer(address _relayer) external onlyOwner {\n        isRelayer[_relayer] = true;\n        emit RelayerAdded(_relayer);\n    }\n\n    function removeRelayer(address _relayer) external onlyOwner {\n        isRelayer[_relayer] = false;\n        emit RelayerRemoved(_relayer);\n    }\n}\n"},"src/Venice.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity =0.8.26;\n\nimport {ERC20} from \"solmate/src/tokens/ERC20.sol\";\nimport {Owned} from \"solmate/src/auth/Owned.sol\";\n\ncontract Venice is ERC20, Owned {\n    constructor(address treasury) ERC20(\"Venice Token\", \"VVV\", 18) Owned(msg.sender) {\n        _mint(treasury, 100_000_000 * 10 ** decimals);\n    }\n\n    function mint(address to, uint256 amount) external onlyOwner {\n        _mint(to, amount);\n    }\n}\n"},"src/Staking.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity =0.8.26;\n\nimport {UUPSUpgradeable} from \"@openzeppelin-contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol\";\nimport {ERC20Upgradeable} from \"@openzeppelin-contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol\";\nimport {OwnableUpgradeable} from \"@openzeppelin-contracts-upgradeable/access/OwnableUpgradeable.sol\";\n\nimport {Errors} from \"../lib/Errors.sol\";\nimport {Venice} from \"./Venice.sol\";\nimport {Oracle} from \"./Oracle.sol\";\nimport {IStaking} from \"../interface/IStaking.sol\";\n\ncontract Staking is IStaking, UUPSUpgradeable, ERC20Upgradeable, OwnableUpgradeable {\n    uint256 public constant ACC_REWARD_SCALE = 1e36;\n\n    Venice public venice;\n    Oracle public oracle;\n\n    address public treasury;\n    uint256 public emissionRatePerSecond;\n    uint256 public cooldownDuration;\n\n    struct StakeInfo {\n        uint256 rewardDebt;\n        uint256 cooldownEnd;\n        uint256 cooldownAmount;\n    }\n\n    mapping(address => StakeInfo) public stakes;\n\n    uint256 public accRewardPerShare;\n    uint256 public lastRewardTimestamp;\n\n    /// @custom:oz-upgrades-unsafe-allow constructor\n    constructor() {\n        _disableInitializers();\n    }\n\n    function initialize(address _venice, address _oracle, address _treasury) public initializer {\n        __ERC20_init(\"Staked Venice Token\", \"sVVV\");\n        __Ownable_init(msg.sender);\n        __UUPSUpgradeable_init();\n\n        venice = Venice(_venice);\n        oracle = Oracle(_oracle);\n        treasury = _treasury;\n        emissionRatePerSecond = 14_000_000 * 10 ** 18 / uint256(365 days); // approx. 14M/Year\n        cooldownDuration = 7 days;\n        lastRewardTimestamp = block.timestamp;\n\n        _mint(address(this), 1e18); // Initial supply to mitigate inflation attack\n    }\n\n    /// @inheritdoc IStaking\n    function setTreasury(address _treasury) external onlyOwner {\n        treasury = _treasury;\n        emit TreasuryUpdated(_treasury);\n    }\n\n    /// @inheritdoc IStaking\n    function setEmissionRate(uint256 _emissionRate) external onlyOwner {\n        _updateGlobalReward();\n        emissionRatePerSecond = _emissionRate;\n        emit EmissionRateUpdated(_emissionRate);\n    }\n\n    /// @inheritdoc IStaking\n    function setCooldownDuration(uint256 _cooldownDuration) external onlyOwner {\n        cooldownDuration = _cooldownDuration;\n        emit CooldownDurationUpdated(_cooldownDuration);\n    }\n\n    function _update(address from, address to, uint256 value) internal virtual override {\n        if (from != address(0) && to != address(0)) revert(Errors.NOT_TRANSFERRABLE);\n        super._update(from, to, value);\n    }\n\n    function _authorizeUpgrade(address newImplementation) internal override onlyOwner {}\n\n    /*//////////////////////////////////////////////////////////////\n                          CORE STAKING LOGIC\n    //////////////////////////////////////////////////////////////*/\n    /// @inheritdoc IStaking\n    function stake(address recipient, uint256 amount) external virtual {\n        require(amount > 0, Errors.STAKE_ZERO);\n        _claim(recipient);\n        _mint(recipient, amount);\n\n        venice.transferFrom(msg.sender, address(this), amount);\n        stakes[recipient].rewardDebt = (balanceOf(recipient) * accRewardPerShare) / ACC_REWARD_SCALE;\n        emit Staked(recipient, amount);\n    }\n\n    /// @inheritdoc IStaking\n    function initiateUnstake(uint256 amount) external virtual {\n        require(amount > 0, Errors.UNSTAKE_ZERO);\n        _claim(msg.sender);\n        _burn(msg.sender, amount);\n\n        StakeInfo storage stakeInfo = stakes[msg.sender];\n        stakeInfo.cooldownEnd = block.timestamp + cooldownDuration;\n        stakeInfo.cooldownAmount = amount;\n        stakeInfo.rewardDebt = (balanceOf(msg.sender) * accRewardPerShare) / ACC_REWARD_SCALE;\n\n        emit UnstakeInitiated(msg.sender, amount);\n    }\n\n    /// @inheritdoc IStaking\n    function finalizeUnstake() external {\n        StakeInfo storage stakeInfo = stakes[msg.sender];\n        require(stakeInfo.cooldownAmount > 0, Errors.NO_COOLDOWN);\n        require(block.timestamp >= stakeInfo.cooldownEnd, Errors.COOLDOWN_NOT_OVER);\n\n        uint256 amount = stakeInfo.cooldownAmount;\n        stakeInfo.cooldownEnd = 0;\n        stakeInfo.cooldownAmount = 0;\n\n        venice.transfer(msg.sender, amount);\n\n        emit UnstakeFinalized(msg.sender, amount);\n    }\n\n    /// @inheritdoc IStaking\n    function claim() external virtual {\n        _claim(msg.sender);\n        stakes[msg.sender].rewardDebt = (balanceOf(msg.sender) * accRewardPerShare) / ACC_REWARD_SCALE;\n    }\n\n    /// @inheritdoc IStaking\n    function pendingRewards(address _user) public view virtual returns (uint256) {\n        uint256 _accRewardPerShare = accRewardPerShare;\n        uint256 currentTime = block.timestamp;\n\n        if (currentTime > lastRewardTimestamp) {\n            // _updateGlobalReward() was not called\n            uint256 timeElapsed = currentTime - lastRewardTimestamp;\n            uint256 minted = timeElapsed * emissionRatePerSecond;\n            uint256 venicePortion = (minted * getVenicePercentage()) / 1e18;\n            uint256 stakerPortion = minted - venicePortion;\n\n            _accRewardPerShare += (stakerPortion * ACC_REWARD_SCALE) / totalSupply();\n        }\n\n        uint256 userAccumulated = (balanceOf(_user) * _accRewardPerShare) / ACC_REWARD_SCALE;\n        return userAccumulated - stakes[_user].rewardDebt;\n    }\n\n    /// @inheritdoc IStaking\n    function getVenicePercentage() public view virtual returns (uint256) {\n        uint256 utilization = oracle.utilizationRate();\n        return utilization <= 5e17 // 5e17 = 50%\n            ? 2e17 + (12e17 * utilization) / 1e18\n            : 14e17 - (12e17 * utilization) / 1e18;\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                               INTERNALS\n    //////////////////////////////////////////////////////////////*/\n    function _claim(address user) internal virtual {\n        require(stakes[user].cooldownAmount == 0, Errors.COOLDOWN_NOT_OVER);\n        _updateGlobalReward();\n        uint256 pending = pendingRewards(user);\n        if (pending > 0) {\n            venice.transfer(user, pending);\n            emit Claimed(user, pending);\n        }\n    }\n\n    function _updateGlobalReward() internal virtual {\n        uint256 currentTime = block.timestamp;\n        if (currentTime <= lastRewardTimestamp) return;\n\n        uint256 timeElapsed = currentTime - lastRewardTimestamp;\n        lastRewardTimestamp = currentTime;\n\n        uint256 minted = timeElapsed * emissionRatePerSecond;\n        if (minted == 0) return;\n\n        uint256 venicePortion = (minted * getVenicePercentage()) / 1e18;\n        uint256 rawStakerPortion = minted - venicePortion;\n\n        if (venicePortion > 0) {\n            venice.mint(treasury, venicePortion);\n        }\n\n        uint256 _totalSupply = totalSupply();\n        if (rawStakerPortion > 0) {\n            uint256 stakerRewardDelta = (rawStakerPortion * ACC_REWARD_SCALE) / totalSupply();\n            if (stakerRewardDelta > 0) {\n                uint256 distributed = (stakerRewardDelta * _totalSupply) / ACC_REWARD_SCALE;\n                venice.mint(address(this), distributed);\n                accRewardPerShare += stakerRewardDelta;\n            }\n        }\n    }\n}\n"},"src/StakingV2.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity =0.8.26;\n\nimport {Errors} from \"../lib/Errors.sol\";\nimport {Diem} from \"./Diem.sol\";\nimport {IStakingV2} from \"../interface/IStakingV2.sol\";\nimport {Staking} from \"./Staking.sol\";\n\n/// @custom:oz-upgrades-from Staking\ncontract StakingV2 is Staking, IStakingV2 {\n    /// @notice Tracks the accumulated reward per share for locked stakes\n    uint256 public accRewardPerShareLocked;\n\n    /// @notice Percentage of total emissions that go to venice\n    uint256 public veniceEmissionsPercentage; // initially 0, expressed as a fraction of 1e18.\n\n    /// @notice Percentage of emissions that go to venice from users have locked their sVVV\n    uint256 public veniceEmissionsPercentageWhenLocked;\n\n    /// @notice Total amount of sVVV that is currently locked\n    uint256 public totalLockedStakedVVV;\n\n    /// @notice Diem token\n    Diem public diem;\n\n    // The below variables define a step wise curve for diem minting.\n    // As the total supply of diem increases, the mint rate increases.\n\n    /// @notice Array of diem total supply points for each diem mint rate\n    uint256[256] public diemSupply;\n    /// @notice Array of diem mint rates for each diem supply point. This is expressed as sVVV per diem.\n    uint256[256] public diemMintRates;\n\n    struct LockedStakeInfo {\n        uint256 sVVVLockedAmount; // total amount of locked sVVV from user\n        uint256 outstandingDiemAmount; // amount of diems that have been minted to user (debt).\n    }\n    /// @notice Mapping of user addresses to their locked stake information\n\n    mapping(address => LockedStakeInfo) public lockedStakes;\n\n    /// @custom:oz-upgrades-unsafe-allow constructor\n    constructor() {\n        _disableInitializers();\n    }\n\n    // NOTE: if we add any modules be sure to add reinitializer(2) here\n    function upgradeInitialize(address _diem) external onlyOwner {\n        require(address(diem) == address(0), Errors.ALREADY_INITIALIZED);\n        veniceEmissionsPercentageWhenLocked = 2e17; // 20% on upgrade.\n        diem = Diem(_diem);\n    }\n\n    /// @notice Sets the percentage of emissions that go to venice before considering staking.\n    function setVeniceEmissionsPercentage(uint256 _veniceEmissionsPercentage) external onlyOwner {\n        _updateGlobalReward(); // ensure rewards are up to date - avoids retroactive changes\n        require(_veniceEmissionsPercentage <= 1e18, Errors.INVALID_EMISSIONS_PERCENTAGE);\n        veniceEmissionsPercentage = _veniceEmissionsPercentage;\n        emit VeniceEmissionsPercentageUpdated(_veniceEmissionsPercentage);\n    }\n\n    /// @notice Sets the percentage of emissions that go to venice from locked stakes.\n    /// This is in addition to the percentage that goes to venice from the total emissions.\n    /// and calculated after. Setting this to 20% (2e17) means that 20% of the rewards from locked stakes\n    /// go to venice, not 20% of the total rewards.\n    function setVeniceEmissionsPercentageWhenLocked(uint256 _veniceEmissionsPercentage) external onlyOwner {\n        _updateGlobalReward(); // ensure rewards are up to date - avoids retroactive changes\n        require(_veniceEmissionsPercentage <= 1e18, Errors.INVALID_EMISSIONS_PERCENTAGE);\n        veniceEmissionsPercentageWhenLocked = _veniceEmissionsPercentage;\n        emit VeniceEmissionsPercentageWhenLockedUpdated(_veniceEmissionsPercentage);\n    }\n\n    /// @notice Sets the diem mint curve and therefore the total possible supply of diem is represented as _diemSupply[255].\n    /// @param _diemSupply The total supply of diem at each point on the curve.\n    /// @param _diemMintRates The mint rate for each point on the curve.\n    function setDiemMintCurve(uint256[256] calldata _diemSupply, uint256[256] calldata _diemMintRates)\n        external\n        onlyOwner\n    {\n        for (uint256 i = 0; i < _diemSupply.length; i++) {\n            diemSupply[i] = _diemSupply[i];\n            diemMintRates[i] = _diemMintRates[i];\n        }\n\n        emit DiemMintRatesUpdated(_diemSupply, _diemMintRates);\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                          CORE STAKING LOGIC\n    //////////////////////////////////////////////////////////////*/\n    /// @inheritdoc Staking\n    function stake(address recipient, uint256 amount) public virtual override {\n        require(amount > 0, Errors.STAKE_ZERO);\n        _claim(recipient);\n        _mint(recipient, amount);\n\n        venice.transferFrom(msg.sender, address(this), amount);\n        stakes[recipient].rewardDebt = getRewardDebt(recipient);\n        emit Staked(recipient, amount);\n    }\n\n    /// @inheritdoc Staking\n    function initiateUnstake(uint256 amount) external virtual override {\n        require(amount > 0, Errors.UNSTAKE_ZERO);\n        StakeInfo storage stakeInfo = stakes[msg.sender];\n        require(stakeInfo.cooldownAmount == 0, Errors.COOLDOWN_IN_PROGRESS);\n        require(balanceOfUnlocked(msg.sender) >= amount, Errors.INSUFFICIENT_BALANCE);\n\n        _claim(msg.sender);\n        _burn(msg.sender, amount);\n\n        stakeInfo.cooldownEnd = block.timestamp + cooldownDuration;\n        stakeInfo.cooldownAmount = amount;\n        stakeInfo.rewardDebt = getRewardDebt(msg.sender);\n\n        emit UnstakeInitiated(msg.sender, amount);\n    }\n\n    /// @inheritdoc Staking\n    function claim() public override {\n        _claim(msg.sender);\n        stakes[msg.sender].rewardDebt = getRewardDebt(msg.sender);\n    }\n\n    /// @notice Convenience function to claim rewards and stake them in one transaction and no dust.\n    /// @dev This requires venice approvals are in place ahead fo the call\n    function claimAndStake() external {\n        uint256 pendingRewardsForUser = pendingRewards(msg.sender);\n        stake(msg.sender, pendingRewardsForUser);\n    }\n\n    /// @inheritdoc Staking\n    function pendingRewards(address _user) public view override returns (uint256) {\n        uint256 _accRewardPerShare = accRewardPerShare;\n        uint256 _accRewardPerShareLocked = accRewardPerShareLocked;\n        uint256 currentTime = block.timestamp;\n\n        if (currentTime > lastRewardTimestamp) {\n            // _updateGlobalReward() was not called\n            uint256 timeElapsed = currentTime - lastRewardTimestamp;\n            uint256 minted = timeElapsed * emissionRatePerSecond;\n\n            // there are 2 venice portions here.\n            // 1. the portion that goes to venice from the total supply\n            // 2. the portion that goes to venice from the locked stakes\n\n            uint256 venicePortion = (minted * getVenicePercentage()) / 1e18;\n            uint256 rawStakerPortion = minted - venicePortion;\n            // staker portion is divided between locked and unlocked stakes.\n            uint256 stakerPortionLocked = (rawStakerPortion * totalLockedStakedVVV) / totalSupply();\n            uint256 stakerPortionUnlocked = rawStakerPortion - stakerPortionLocked;\n\n            // from the stakerPortionLocked, we need to remove the % that goes to venice\n            uint256 venicePortionLocked = (stakerPortionLocked * veniceEmissionsPercentageWhenLocked) / 1e18;\n            uint256 stakerPortionLockedForRewards = stakerPortionLocked - venicePortionLocked;\n\n            //NOTE: due to the locked mint to this address in v1, totalSupply has to be always greater than totalLockedStakedVVV\n            // so this should never end up with a division by 0.\n            _accRewardPerShare += (stakerPortionUnlocked * ACC_REWARD_SCALE) / (totalSupply() - totalLockedStakedVVV);\n            if (totalLockedStakedVVV > 0) {\n                // avoid division by 0\n                _accRewardPerShareLocked += (stakerPortionLockedForRewards * ACC_REWARD_SCALE) / totalLockedStakedVVV;\n            }\n        }\n\n        uint256 userAccumulated = (balanceOfUnlocked(_user) * _accRewardPerShare) / ACC_REWARD_SCALE;\n        uint256 userAccumulatedLocked =\n            (lockedStakes[_user].sVVVLockedAmount * _accRewardPerShareLocked) / ACC_REWARD_SCALE;\n        return userAccumulated + userAccumulatedLocked - stakes[_user].rewardDebt;\n    }\n\n    /// @inheritdoc Staking\n    /// @dev maintained for backwards compatibility\n    function getVenicePercentage() public view override returns (uint256) {\n        return veniceEmissionsPercentage;\n    }\n\n    /// @notice Returns the reward \"debt for a user. Concept is carried over from V1 and provides a waypoint to track reward changes.\n    function getRewardDebt(address _user) private view returns (uint256) {\n        uint256 userAccumulated = (balanceOfUnlocked(_user) * accRewardPerShare) / ACC_REWARD_SCALE;\n        uint256 userAccumulatedLocked =\n            (lockedStakes[_user].sVVVLockedAmount * accRewardPerShareLocked) / ACC_REWARD_SCALE;\n        return userAccumulated + userAccumulatedLocked;\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                       LOCKED STAKE AND DIEM LOGIC\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Returns the amount of diems that can be minted for a given amount of sVVV.\n    /// @dev This is a step wise function that iterates through the diem mint curve and calculates the amount of diems that can be minted for a given amount of sVVV.\n    /// @param sVVVAmountToLock The amount of sVVV to lock.\n    /// @return diemAmountOut The amount of diems that can be minted for the given amount of sVVV.\n    function getDiemAmountOut(uint256 sVVVAmountToLock) public view returns (uint256) {\n        uint256 currentDiemSupply = diem.totalSupply();\n        uint256 diemAmountOut = 0;\n        uint256 sVVVRemainingToLock = sVVVAmountToLock;\n\n        // Iterate through the curve points\n        for (uint256 i = 0; i < 256; i++) {\n            // if the current Diem supply is greater than this bucket, we need to advance\n            if (currentDiemSupply >= diemSupply[i]) {\n                continue;\n            }\n\n            uint256 supplyUpperBound = diemSupply[i];\n            uint256 bucketMintRate = diemMintRates[i]; // sVVV / diem\n\n            // we are now in a bucket that has additional supply, calculate how much we can lock in this bucket.\n            uint256 diemsAvailableInBucket = supplyUpperBound - currentDiemSupply;\n            // round sVVVAvailableInBucket up in favor of protocol\n            uint256 sVVVAvailableInBucket = ((bucketMintRate * diemsAvailableInBucket) + (1e18 - 1)) / 1e18;\n\n            if (sVVVAvailableInBucket >= sVVVRemainingToLock) {\n                // this bucket has all the supply we need - no need to advance.\n                diemAmountOut += sVVVRemainingToLock * 1e18 / bucketMintRate;\n                sVVVRemainingToLock = 0;\n                break;\n            } else {\n                // we will consume this whole bucket and need to advance.\n                diemAmountOut += diemsAvailableInBucket;\n                sVVVRemainingToLock -= sVVVAvailableInBucket;\n                currentDiemSupply += diemsAvailableInBucket;\n            }\n        }\n\n        if (sVVVRemainingToLock > 0) {\n            // we haven't been able to consume all the sVVV - we cannot process this request.\n            revert(Errors.INSUFFICIENT_SUPPLY);\n        }\n\n        return diemAmountOut;\n    }\n\n    /// @notice Burns sVVV from user and mints diems\n    /// @param sVVVAmountToLock The amount of sVVV to lock.\n    /// @param minDiemAmountOut The minimum amount of diems that must be minted or the call will revert.\n    function mintDiem(uint256 sVVVAmountToLock, uint256 minDiemAmountOut) external {\n        require(sVVVAmountToLock > 0, Errors.LOCK_ZERO);\n        _claim(msg.sender); // ensure rewards are up to date\n        uint256 unlockedBalance = balanceOfUnlocked(msg.sender);\n        require(unlockedBalance >= sVVVAmountToLock, Errors.INSUFFICIENT_BALANCE);\n\n        LockedStakeInfo storage lockedStake = lockedStakes[msg.sender];\n        uint256 diemAmountOut = getDiemAmountOut(sVVVAmountToLock);\n        require(diemAmountOut >= minDiemAmountOut, Errors.MIN_AMOUNT_OUT);\n\n        // Update user's locked stake info\n        lockedStake.outstandingDiemAmount += diemAmountOut;\n        lockedStake.sVVVLockedAmount += sVVVAmountToLock;\n        totalLockedStakedVVV += sVVVAmountToLock;\n\n        diem.mint(msg.sender, diemAmountOut);\n        emit DiemMinted(sVVVAmountToLock, diemAmountOut);\n        stakes[msg.sender].rewardDebt = getRewardDebt(msg.sender);\n    }\n\n    /// @notice Burns diems from user and unlocks the corresponding amount of sVVV\n    function burnDiem(uint256 diemAmountToBurn) external {\n        require(diemAmountToBurn > 0, Errors.BURN_ZERO);\n        uint256 userDiemBalance = diem.balanceOf(msg.sender);\n        require(userDiemBalance >= diemAmountToBurn, Errors.INSUFFICIENT_BALANCE);\n        require(lockedStakes[msg.sender].outstandingDiemAmount > 0, Errors.INSUFFICIENT_OUTSTANDING_DIEMS);\n\n        _claim(msg.sender);\n        LockedStakeInfo storage lockedStake = lockedStakes[msg.sender];\n\n        // NOTE: we unlock diem at the average mint rate of the user across all their locked sVVV\n        uint256 sVVVToUnlock = diemAmountToBurn * lockedStake.sVVVLockedAmount / lockedStake.outstandingDiemAmount;\n        require(lockedStake.sVVVLockedAmount >= sVVVToUnlock, Errors.INSUFFICIENT_LOCKED_BALANCE);\n\n        // update locked stake info\n        lockedStake.sVVVLockedAmount -= sVVVToUnlock;\n        require(lockedStake.outstandingDiemAmount >= diemAmountToBurn, Errors.INSUFFICIENT_OUTSTANDING_DIEMS);\n        lockedStake.outstandingDiemAmount -= diemAmountToBurn;\n        totalLockedStakedVVV -= sVVVToUnlock;\n\n        // burn diem from user\n        diem.burn(msg.sender, diemAmountToBurn);\n\n        // this should now allow their sVVV to be unstaked if desired.\n        emit DiemBurned(sVVVToUnlock, diemAmountToBurn);\n        stakes[msg.sender].rewardDebt = getRewardDebt(msg.sender);\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                               ERC20-like Logic\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Returns the balance of the user excluding their locked sVVV\n    function balanceOfUnlocked(address user) public view returns (uint256) {\n        return balanceOf(user) - lockedStakes[user].sVVVLockedAmount;\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                               INTERNALS\n    //////////////////////////////////////////////////////////////*/\n    function _claim(address user) internal virtual override {\n        _updateGlobalReward();\n        uint256 pending = pendingRewards(user);\n        if (pending > 0) {\n            venice.transfer(user, pending);\n            emit Claimed(user, pending);\n        }\n    }\n\n    function _updateGlobalReward() internal virtual override {\n        uint256 currentTime = block.timestamp;\n        if (currentTime <= lastRewardTimestamp) return;\n\n        uint256 timeElapsed = currentTime - lastRewardTimestamp;\n        lastRewardTimestamp = currentTime;\n\n        uint256 minted = timeElapsed * emissionRatePerSecond;\n        if (minted == 0) return;\n\n        uint256 venicePortion = (minted * getVenicePercentage()) / 1e18;\n        uint256 rawStakerPortion = minted - venicePortion;\n\n        // the raw starker portion is divided into three buckets:\n        // 1. rewards to stakers\n        // 2. rewards to locked stakes\n        // 3. rewards to venice (from locked stakes)\n\n        uint256 _totalSupply = totalSupply(); // NOTE: this cannot be 0 due to minting to this address in v1.\n        uint256 totalUnlockedSupply = _totalSupply - totalLockedStakedVVV;\n        uint256 stakerPortionLocked = (rawStakerPortion * totalLockedStakedVVV) / _totalSupply;\n        uint256 stakerPortionUnlocked = rawStakerPortion - stakerPortionLocked;\n        uint256 veniceToMintToAllStakers = 0;\n\n        if (stakerPortionUnlocked > 0) {\n            uint256 stakerRewardDelta = (stakerPortionUnlocked * ACC_REWARD_SCALE) / totalUnlockedSupply;\n            if (stakerRewardDelta > 0) {\n                uint256 distributed = (stakerRewardDelta * totalUnlockedSupply) / ACC_REWARD_SCALE;\n                veniceToMintToAllStakers += distributed;\n                accRewardPerShare += stakerRewardDelta;\n            }\n        }\n\n        if (stakerPortionLocked > 0) {\n            // we have rewards for locked stakers and also to venice!\n            uint256 venicePortionLocked = (stakerPortionLocked * veniceEmissionsPercentageWhenLocked) / 1e18;\n            uint256 stakerPortionLockedForRewards = stakerPortionLocked - venicePortionLocked;\n            uint256 lockedStakerRewardDelta = (stakerPortionLockedForRewards * ACC_REWARD_SCALE) / totalLockedStakedVVV;\n            if (lockedStakerRewardDelta > 0) {\n                uint256 distributedToLockedStakers = (lockedStakerRewardDelta * totalLockedStakedVVV) / ACC_REWARD_SCALE;\n                accRewardPerShareLocked += lockedStakerRewardDelta;\n                veniceToMintToAllStakers += distributedToLockedStakers;\n            }\n            venicePortion += venicePortionLocked;\n        }\n\n        if (venicePortion > 0) {\n            venice.mint(treasury, venicePortion);\n        }\n\n        if (veniceToMintToAllStakers > 0) {\n            venice.mint(address(this), veniceToMintToAllStakers);\n        }\n    }\n}\n"},"interface/IStaking.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity =0.8.26;\n\nimport {Venice} from \"../src/Venice.sol\";\nimport {Oracle} from \"../src/Oracle.sol\";\n\n/**\n * @title IStaking\n * @author shafu\n * @notice Interface for the Venice Staking functionality. \n *         This interface describes a staking mechanism where users stake Venice (VVV) tokens to receive\n *         a liquid, representation token (sVVV). The user accrues rewards over time, distributed at a \n *         constant emission rate, and must respect a cooldown period for unstaking.\n * @dev \n *   - The interface outlines the essential external calls without revealing internal implementation details.\n *   - See the main `Staking` contract for specifics about `_harvest` logic, event emissions, etc.\n */\ninterface IStaking {\n    event TreasuryUpdated        (address newTreasury);\n    event EmissionRateUpdated    (uint newRate);\n    event CooldownDurationUpdated(uint newDuration);\n    event Staked                 (address indexed user, uint amount);\n    event UnstakeInitiated       (address indexed user, uint amount);\n    event UnstakeFinalized       (address indexed user, uint amount);\n    event Claimed                (address indexed user, uint amount);\n\n    /**\n     * @notice Emission rate of rewards, expressed in `wei`-denominated VVV per second.\n     * @return The emission rate per second.\n     */\n    function emissionRatePerSecond() external view returns (uint);\n\n    /**\n     * @notice The duration (in seconds) a user must wait after initiating an unstake before they can finalize.\n     * @return The cooldown period in seconds.\n     */\n    function cooldownDuration() external view returns (uint);\n\n    /**\n     * @notice Returns the address of the Venice (VVV) token contract.\n     * @return The `Venice` contract address.\n     */\n    function venice() external view returns (Venice);\n\n    /**\n     * @notice Returns the address of the Oracle used to determine the utilization rate, \n     *         which affects how newly minted rewards are split between the treasury and stakers.\n     * @return The `Oracle` contract address.\n     */\n    function oracle() external view returns (Oracle);\n\n    /**\n     * @notice Returns the address of the treasury that receives a portion of newly minted rewards.\n     * @return The current treasury address.\n     */\n    function treasury() external view returns (address);\n\n    /**\n     * @notice Represents the staking information for each user.\n     * @dev \n     *  - `rewardDebt` tracks how many rewards have been accounted for the user thus far.\n     *  - `cooldownStart` is the timestamp when the user initiated unstaking.\n     *  - `cooldownAmount` is how many tokens are currently waiting to be unstaked (in cooldown).\n     * @param user The address of the user in question.\n     * @return rewardDebt The user’s already-accounted rewards at the last checkpoint.\n     * @return cooldownStart The timestamp when the user initiated an unstake.\n     * @return cooldownAmount The amount of tokens locked in cooldown.\n     */\n    function stakes(address user) external view returns (\n        uint rewardDebt,\n        uint cooldownStart,\n        uint cooldownAmount\n    );\n\n    /**\n     * @notice The accumulated rewards per share, scaled by 1e18 for fixed-point precision.\n     * @return The current `accRewardPerShare`.\n     */\n    function accRewardPerShare() external view returns (uint);\n\n    /**\n     * @notice The timestamp of the most recent rewards update.\n     * @dev Used internally to calculate how many rewards should be minted since the last update.\n     * @return The `lastRewardTimestamp`.\n     */\n    function lastRewardTimestamp() external view returns (uint);\n\n    /**\n     * @notice Updates the treasury address where a portion of new tokens are minted based on utilization rate.\n     * @dev Only callable by the contract owner; reverts if called by non-owner.\n     * @param newTreasury The new treasury address.\n     */\n    function setTreasury(address newTreasury) external;\n\n    /**\n     * @notice Updates the emission rate of rewards, expressed in `wei`-denominated VVV per second.\n     * @dev Only callable by the contract owner; reverts if called by non-owner.\n     * @param newRate The new emission rate per second.\n     */\n    function setEmissionRate(uint newRate) external;\n\n    /**\n     * @notice Updates the cooldown duration for unstaking, in seconds.\n     * @dev Only callable by the contract owner; reverts if called by non-owner.\n     * @param newDuration The new cooldown duration in seconds.\n     */\n    function setCooldownDuration(uint newDuration) external;\n\n    /**\n     * @notice Allows a user to stake `amount` of VVV tokens on behalf of `recipient`, \n     *         receiving an equivalent amount of sVVV in return.\n     * @dev \n     *   - User must have approved this contract to transfer `amount` of VVV beforehand.\n     *   - Accumulates and transfers any pending rewards for `recipient` before minting new sVVV.\n     * @param recipient The address that will receive the newly minted sVVV.\n     * @param amount The amount of VVV tokens to stake.\n     */\n    function stake(address recipient, uint amount) external;\n\n    /**\n     * @notice Initiates the unstaking process: the user burns the specified `amount` of sVVV immediately, \n     *         but must wait `cooldownDuration` seconds before calling `finalizeUnstake` to redeem VVV tokens.\n     *         After `initiateUnstake` is called, all functions called on that user’s stake will revert, including\n     *         claiming, staking and unstaking.\n     * @dev \n     *   - Accumulates and transfers any pending rewards for the user before the burn.\n     *   - Updates the user’s `cooldownStart` and `cooldownAmount`.\n     * @param amount The amount of sVVV tokens to burn and place into cooldown.\n     */\n    function initiateUnstake(uint amount) external;\n\n    /**\n     * @notice Completes the unstaking process by sending the user the equivalent amount of VVV tokens \n     *         after the cooldown period has elapsed.\n     * @dev \n     *   - Reverts if the cooldown period is not over or if there is no `cooldownAmount` to finalize.\n     *   - Resets the cooldown state on success.\n     */\n    function finalizeUnstake() external;\n\n    /**\n     * @notice Claims all pending VVV rewards for the caller.\n     * @dev \n     *   - Harvest logic accounts for all newly minted tokens since the last update.\n     *   - Sends the owed amount of VVV directly to the caller.\n     */\n    function claim() external;\n\n    /**\n     * @notice Returns the pending rewards for a given user, including any rewards that haven’t yet been \n     *         fully distributed in `accRewardPerShare`.\n     * @dev \n     *   - This function simulates what `_harvest` would do, but without transferring tokens.\n     * @param user The address for which to compute the pending rewards.\n     * @return The amount of unclaimed VVV rewards, in `wei`.\n     */\n    function pendingRewards(address user) external view returns (uint);\n\n    /**\n     * @notice Returns the percentage of newly minted rewards that goes to the treasury, as a fraction of 1e18.\n     * @return The treasury percentage.\n     */\n    function getVenicePercentage() external view returns (uint);\n}"},"interface/IStakingV2.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity =0.8.26;\n\n/**\n * @title IStakingV2\n * @notice Interface for the Venice StakingV2 functionality.\n *         This interface extends the IStaking interface to include new functionality\n */\ninterface IStakingV2 {\n    event VeniceEmissionsPercentageUpdated(uint newPercentage);\n    event VeniceEmissionsPercentageWhenLockedUpdated(uint newPercentage);\n    event DiemMintRatesUpdated(uint[256] diemSupply, uint[256] diemMintRates);\n    event DiemMinted(uint svvvLocked, uint diemMinted);\n    event DiemBurned(uint svvvUnlocked, uint diemBurned);\n}\n\n"},"dependencies/solmate-6.8.0/src/auth/Owned.sol":{"content":"// SPDX-License-Identifier: AGPL-3.0-only\npragma solidity >=0.8.0;\n\n/// @notice Simple single owner authorization mixin.\n/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/auth/Owned.sol)\nabstract contract Owned {\n    /*//////////////////////////////////////////////////////////////\n                                 EVENTS\n    //////////////////////////////////////////////////////////////*/\n\n    event OwnershipTransferred(address indexed user, address indexed newOwner);\n\n    /*//////////////////////////////////////////////////////////////\n                            OWNERSHIP STORAGE\n    //////////////////////////////////////////////////////////////*/\n\n    address public owner;\n\n    modifier onlyOwner() virtual {\n        require(msg.sender == owner, \"UNAUTHORIZED\");\n\n        _;\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                               CONSTRUCTOR\n    //////////////////////////////////////////////////////////////*/\n\n    constructor(address _owner) {\n        owner = _owner;\n\n        emit OwnershipTransferred(address(0), _owner);\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                             OWNERSHIP LOGIC\n    //////////////////////////////////////////////////////////////*/\n\n    function transferOwnership(address newOwner) public virtual onlyOwner {\n        owner = newOwner;\n\n        emit OwnershipTransferred(msg.sender, newOwner);\n    }\n}\n"},"dependencies/solmate-6.8.0/src/tokens/ERC20.sol":{"content":"// SPDX-License-Identifier: AGPL-3.0-only\npragma solidity >=0.8.0;\n\n/// @notice Modern and gas efficient ERC20 + EIP-2612 implementation.\n/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol)\n/// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol)\n/// @dev Do not manually set balances without updating totalSupply, as the sum of all user balances must not exceed it.\nabstract contract ERC20 {\n    /*//////////////////////////////////////////////////////////////\n                                 EVENTS\n    //////////////////////////////////////////////////////////////*/\n\n    event Transfer(address indexed from, address indexed to, uint256 amount);\n\n    event Approval(address indexed owner, address indexed spender, uint256 amount);\n\n    /*//////////////////////////////////////////////////////////////\n                            METADATA STORAGE\n    //////////////////////////////////////////////////////////////*/\n\n    string public name;\n\n    string public symbol;\n\n    uint8 public immutable decimals;\n\n    /*//////////////////////////////////////////////////////////////\n                              ERC20 STORAGE\n    //////////////////////////////////////////////////////////////*/\n\n    uint256 public totalSupply;\n\n    mapping(address => uint256) public balanceOf;\n\n    mapping(address => mapping(address => uint256)) public allowance;\n\n    /*//////////////////////////////////////////////////////////////\n                            EIP-2612 STORAGE\n    //////////////////////////////////////////////////////////////*/\n\n    uint256 internal immutable INITIAL_CHAIN_ID;\n\n    bytes32 internal immutable INITIAL_DOMAIN_SEPARATOR;\n\n    mapping(address => uint256) public nonces;\n\n    /*//////////////////////////////////////////////////////////////\n                               CONSTRUCTOR\n    //////////////////////////////////////////////////////////////*/\n\n    constructor(\n        string memory _name,\n        string memory _symbol,\n        uint8 _decimals\n    ) {\n        name = _name;\n        symbol = _symbol;\n        decimals = _decimals;\n\n        INITIAL_CHAIN_ID = block.chainid;\n        INITIAL_DOMAIN_SEPARATOR = computeDomainSeparator();\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                               ERC20 LOGIC\n    //////////////////////////////////////////////////////////////*/\n\n    function approve(address spender, uint256 amount) public virtual returns (bool) {\n        allowance[msg.sender][spender] = amount;\n\n        emit Approval(msg.sender, spender, amount);\n\n        return true;\n    }\n\n    function transfer(address to, uint256 amount) public virtual returns (bool) {\n        balanceOf[msg.sender] -= amount;\n\n        // Cannot overflow because the sum of all user\n        // balances can't exceed the max uint256 value.\n        unchecked {\n            balanceOf[to] += amount;\n        }\n\n        emit Transfer(msg.sender, to, amount);\n\n        return true;\n    }\n\n    function transferFrom(\n        address from,\n        address to,\n        uint256 amount\n    ) public virtual returns (bool) {\n        uint256 allowed = allowance[from][msg.sender]; // Saves gas for limited approvals.\n\n        if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amount;\n\n        balanceOf[from] -= amount;\n\n        // Cannot overflow because the sum of all user\n        // balances can't exceed the max uint256 value.\n        unchecked {\n            balanceOf[to] += amount;\n        }\n\n        emit Transfer(from, to, amount);\n\n        return true;\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                             EIP-2612 LOGIC\n    //////////////////////////////////////////////////////////////*/\n\n    function permit(\n        address owner,\n        address spender,\n        uint256 value,\n        uint256 deadline,\n        uint8 v,\n        bytes32 r,\n        bytes32 s\n    ) public virtual {\n        require(deadline >= block.timestamp, \"PERMIT_DEADLINE_EXPIRED\");\n\n        // Unchecked because the only math done is incrementing\n        // the owner's nonce which cannot realistically overflow.\n        unchecked {\n            address recoveredAddress = ecrecover(\n                keccak256(\n                    abi.encodePacked(\n                        \"\\x19\\x01\",\n                        DOMAIN_SEPARATOR(),\n                        keccak256(\n                            abi.encode(\n                                keccak256(\n                                    \"Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)\"\n                                ),\n                                owner,\n                                spender,\n                                value,\n                                nonces[owner]++,\n                                deadline\n                            )\n                        )\n                    )\n                ),\n                v,\n                r,\n                s\n            );\n\n            require(recoveredAddress != address(0) && recoveredAddress == owner, \"INVALID_SIGNER\");\n\n            allowance[recoveredAddress][spender] = value;\n        }\n\n        emit Approval(owner, spender, value);\n    }\n\n    function DOMAIN_SEPARATOR() public view virtual returns (bytes32) {\n        return block.chainid == INITIAL_CHAIN_ID ? INITIAL_DOMAIN_SEPARATOR : computeDomainSeparator();\n    }\n\n    function computeDomainSeparator() internal view virtual returns (bytes32) {\n        return\n            keccak256(\n                abi.encode(\n                    keccak256(\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\"),\n                    keccak256(bytes(name)),\n                    keccak256(\"1\"),\n                    block.chainid,\n                    address(this)\n                )\n            );\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                        INTERNAL MINT/BURN LOGIC\n    //////////////////////////////////////////////////////////////*/\n\n    function _mint(address to, uint256 amount) internal virtual {\n        totalSupply += amount;\n\n        // Cannot overflow because the sum of all user\n        // balances can't exceed the max uint256 value.\n        unchecked {\n            balanceOf[to] += amount;\n        }\n\n        emit Transfer(address(0), to, amount);\n    }\n\n    function _burn(address from, uint256 amount) internal virtual {\n        balanceOf[from] -= amount;\n\n        // Cannot underflow because a user's balance\n        // will never be larger than the total supply.\n        unchecked {\n            totalSupply -= amount;\n        }\n\n        emit Transfer(from, address(0), amount);\n    }\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/Errors.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Errors.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Collection of common custom errors used in multiple contracts\n *\n * IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library.\n * It is recommended to avoid relying on the error API for critical functionality.\n *\n * _Available since v5.1._\n */\nlibrary Errors {\n    /**\n     * @dev The ETH balance of the account is not enough to perform the operation.\n     */\n    error InsufficientBalance(uint256 balance, uint256 needed);\n\n    /**\n     * @dev A call to an address target failed. The target may have reverted.\n     */\n    error FailedCall();\n\n    /**\n     * @dev The deployment failed.\n     */\n    error FailedDeployment();\n\n    /**\n     * @dev A necessary precompile is missing.\n     */\n    error MissingPrecompile(address);\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/Address.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Address.sol)\n\npragma solidity ^0.8.20;\n\nimport {Errors} from \"./Errors.sol\";\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n    /**\n     * @dev There's no code at `target` (it is not a contract).\n     */\n    error AddressEmptyCode(address target);\n\n    /**\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n     * `recipient`, forwarding all available gas and reverting on errors.\n     *\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\n     * imposed by `transfer`, making them unable to receive funds via\n     * `transfer`. {sendValue} removes this limitation.\n     *\n     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n     *\n     * IMPORTANT: because control is transferred to `recipient`, care must be\n     * taken to not create reentrancy vulnerabilities. Consider using\n     * {ReentrancyGuard} or the\n     * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n     */\n    function sendValue(address payable recipient, uint256 amount) internal {\n        if (address(this).balance < amount) {\n            revert Errors.InsufficientBalance(address(this).balance, amount);\n        }\n\n        (bool success, ) = recipient.call{value: amount}(\"\");\n        if (!success) {\n            revert Errors.FailedCall();\n        }\n    }\n\n    /**\n     * @dev Performs a Solidity function call using a low level `call`. A\n     * plain `call` is an unsafe replacement for a function call: use this\n     * function instead.\n     *\n     * If `target` reverts with a revert reason or custom error, it is bubbled\n     * up by this function (like regular Solidity function calls). However, if\n     * the call reverted with no returned reason, this function reverts with a\n     * {Errors.FailedCall} error.\n     *\n     * Returns the raw returned data. To convert to the expected return value,\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n     *\n     * Requirements:\n     *\n     * - `target` must be a contract.\n     * - calling `target` with `data` must not revert.\n     */\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, 0);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but also transferring `value` wei to `target`.\n     *\n     * Requirements:\n     *\n     * - the calling contract must have an ETH balance of at least `value`.\n     * - the called Solidity function must be `payable`.\n     */\n    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n        if (address(this).balance < value) {\n            revert Errors.InsufficientBalance(address(this).balance, value);\n        }\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\n        return verifyCallResultFromTarget(target, success, returndata);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a static call.\n     */\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.staticcall(data);\n        return verifyCallResultFromTarget(target, success, returndata);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a delegate call.\n     */\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.delegatecall(data);\n        return verifyCallResultFromTarget(target, success, returndata);\n    }\n\n    /**\n     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target\n     * was not a contract or bubbling up the revert reason (falling back to {Errors.FailedCall}) in case\n     * of an unsuccessful call.\n     */\n    function verifyCallResultFromTarget(\n        address target,\n        bool success,\n        bytes memory returndata\n    ) internal view returns (bytes memory) {\n        if (!success) {\n            _revert(returndata);\n        } else {\n            // only check if target is a contract if the call was successful and the return data is empty\n            // otherwise we already know that it was a contract\n            if (returndata.length == 0 && target.code.length == 0) {\n                revert AddressEmptyCode(target);\n            }\n            return returndata;\n        }\n    }\n\n    /**\n     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the\n     * revert reason or with a default {Errors.FailedCall} error.\n     */\n    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {\n        if (!success) {\n            _revert(returndata);\n        } else {\n            return returndata;\n        }\n    }\n\n    /**\n     * @dev Reverts with returndata if present. Otherwise reverts with {Errors.FailedCall}.\n     */\n    function _revert(bytes memory returndata) private pure {\n        // Look for revert reason and bubble it up if present\n        if (returndata.length > 0) {\n            // The easiest way to bubble the revert reason is using memory via assembly\n            assembly (\"memory-safe\") {\n                let returndata_size := mload(returndata)\n                revert(add(32, returndata), returndata_size)\n            }\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/Context.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n    function _msgSender() internal view virtual returns (address) {\n        return msg.sender;\n    }\n\n    function _msgData() internal view virtual returns (bytes calldata) {\n        return msg.data;\n    }\n\n    function _contextSuffixLength() internal view virtual returns (uint256) {\n        return 0;\n    }\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/token/ERC20/ERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.2.0-rc.0) (token/ERC20/ERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"./IERC20.sol\";\nimport {IERC20Metadata} from \"./extensions/IERC20Metadata.sol\";\nimport {Context} from \"../../utils/Context.sol\";\nimport {IERC20Errors} from \"../../interfaces/draft-IERC6093.sol\";\n\n/**\n * @dev Implementation of the {IERC20} interface.\n *\n * This implementation is agnostic to the way tokens are created. This means\n * that a supply mechanism has to be added in a derived contract using {_mint}.\n *\n * TIP: For a detailed writeup see our guide\n * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How\n * to implement supply mechanisms].\n *\n * The default value of {decimals} is 18. To change this, you should override\n * this function so it returns a different value.\n *\n * We have followed general OpenZeppelin Contracts guidelines: functions revert\n * instead returning `false` on failure. This behavior is nonetheless\n * conventional and does not conflict with the expectations of ERC-20\n * applications.\n */\nabstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {\n    mapping(address account => uint256) private _balances;\n\n    mapping(address account => mapping(address spender => uint256)) private _allowances;\n\n    uint256 private _totalSupply;\n\n    string private _name;\n    string private _symbol;\n\n    /**\n     * @dev Sets the values for {name} and {symbol}.\n     *\n     * All two of these values are immutable: they can only be set once during\n     * construction.\n     */\n    constructor(string memory name_, string memory symbol_) {\n        _name = name_;\n        _symbol = symbol_;\n    }\n\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() public view virtual returns (string memory) {\n        return _name;\n    }\n\n    /**\n     * @dev Returns the symbol of the token, usually a shorter version of the\n     * name.\n     */\n    function symbol() public view virtual returns (string memory) {\n        return _symbol;\n    }\n\n    /**\n     * @dev Returns the number of decimals used to get its user representation.\n     * For example, if `decimals` equals `2`, a balance of `505` tokens should\n     * be displayed to a user as `5.05` (`505 / 10 ** 2`).\n     *\n     * Tokens usually opt for a value of 18, imitating the relationship between\n     * Ether and Wei. This is the default value returned by this function, unless\n     * it's overridden.\n     *\n     * NOTE: This information is only used for _display_ purposes: it in\n     * no way affects any of the arithmetic of the contract, including\n     * {IERC20-balanceOf} and {IERC20-transfer}.\n     */\n    function decimals() public view virtual returns (uint8) {\n        return 18;\n    }\n\n    /**\n     * @dev See {IERC20-totalSupply}.\n     */\n    function totalSupply() public view virtual returns (uint256) {\n        return _totalSupply;\n    }\n\n    /**\n     * @dev See {IERC20-balanceOf}.\n     */\n    function balanceOf(address account) public view virtual returns (uint256) {\n        return _balances[account];\n    }\n\n    /**\n     * @dev See {IERC20-transfer}.\n     *\n     * Requirements:\n     *\n     * - `to` cannot be the zero address.\n     * - the caller must have a balance of at least `value`.\n     */\n    function transfer(address to, uint256 value) public virtual returns (bool) {\n        address owner = _msgSender();\n        _transfer(owner, to, value);\n        return true;\n    }\n\n    /**\n     * @dev See {IERC20-allowance}.\n     */\n    function allowance(address owner, address spender) public view virtual returns (uint256) {\n        return _allowances[owner][spender];\n    }\n\n    /**\n     * @dev See {IERC20-approve}.\n     *\n     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on\n     * `transferFrom`. This is semantically equivalent to an infinite approval.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     */\n    function approve(address spender, uint256 value) public virtual returns (bool) {\n        address owner = _msgSender();\n        _approve(owner, spender, value);\n        return true;\n    }\n\n    /**\n     * @dev See {IERC20-transferFrom}.\n     *\n     * Skips emitting an {Approval} event indicating an allowance update. This is not\n     * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].\n     *\n     * NOTE: Does not update the allowance if the current allowance\n     * is the maximum `uint256`.\n     *\n     * Requirements:\n     *\n     * - `from` and `to` cannot be the zero address.\n     * - `from` must have a balance of at least `value`.\n     * - the caller must have allowance for ``from``'s tokens of at least\n     * `value`.\n     */\n    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {\n        address spender = _msgSender();\n        _spendAllowance(from, spender, value);\n        _transfer(from, to, value);\n        return true;\n    }\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to`.\n     *\n     * This internal function is equivalent to {transfer}, and can be used to\n     * e.g. implement automatic token fees, slashing mechanisms, etc.\n     *\n     * Emits a {Transfer} event.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _transfer(address from, address to, uint256 value) internal {\n        if (from == address(0)) {\n            revert ERC20InvalidSender(address(0));\n        }\n        if (to == address(0)) {\n            revert ERC20InvalidReceiver(address(0));\n        }\n        _update(from, to, value);\n    }\n\n    /**\n     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`\n     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding\n     * this function.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _update(address from, address to, uint256 value) internal virtual {\n        if (from == address(0)) {\n            // Overflow check required: The rest of the code assumes that totalSupply never overflows\n            _totalSupply += value;\n        } else {\n            uint256 fromBalance = _balances[from];\n            if (fromBalance < value) {\n                revert ERC20InsufficientBalance(from, fromBalance, value);\n            }\n            unchecked {\n                // Overflow not possible: value <= fromBalance <= totalSupply.\n                _balances[from] = fromBalance - value;\n            }\n        }\n\n        if (to == address(0)) {\n            unchecked {\n                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.\n                _totalSupply -= value;\n            }\n        } else {\n            unchecked {\n                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.\n                _balances[to] += value;\n            }\n        }\n\n        emit Transfer(from, to, value);\n    }\n\n    /**\n     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).\n     * Relies on the `_update` mechanism\n     *\n     * Emits a {Transfer} event with `from` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _mint(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert ERC20InvalidReceiver(address(0));\n        }\n        _update(address(0), account, value);\n    }\n\n    /**\n     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.\n     * Relies on the `_update` mechanism.\n     *\n     * Emits a {Transfer} event with `to` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead\n     */\n    function _burn(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert ERC20InvalidSender(address(0));\n        }\n        _update(account, address(0), value);\n    }\n\n    /**\n     * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.\n     *\n     * This internal function is equivalent to `approve`, and can be used to\n     * e.g. set automatic allowances for certain subsystems, etc.\n     *\n     * Emits an {Approval} event.\n     *\n     * Requirements:\n     *\n     * - `owner` cannot be the zero address.\n     * - `spender` cannot be the zero address.\n     *\n     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.\n     */\n    function _approve(address owner, address spender, uint256 value) internal {\n        _approve(owner, spender, value, true);\n    }\n\n    /**\n     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.\n     *\n     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by\n     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any\n     * `Approval` event during `transferFrom` operations.\n     *\n     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to\n     * true using the following override:\n     *\n     * ```solidity\n     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {\n     *     super._approve(owner, spender, value, true);\n     * }\n     * ```\n     *\n     * Requirements are the same as {_approve}.\n     */\n    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {\n        if (owner == address(0)) {\n            revert ERC20InvalidApprover(address(0));\n        }\n        if (spender == address(0)) {\n            revert ERC20InvalidSpender(address(0));\n        }\n        _allowances[owner][spender] = value;\n        if (emitEvent) {\n            emit Approval(owner, spender, value);\n        }\n    }\n\n    /**\n     * @dev Updates `owner` s allowance for `spender` based on spent `value`.\n     *\n     * Does not update the allowance value in case of infinite allowance.\n     * Revert if not enough allowance is available.\n     *\n     * Does not emit an {Approval} event.\n     */\n    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {\n        uint256 currentAllowance = allowance(owner, spender);\n        if (currentAllowance < type(uint256).max) {\n            if (currentAllowance < value) {\n                revert ERC20InsufficientAllowance(spender, currentAllowance, value);\n            }\n            unchecked {\n                _approve(owner, spender, currentAllowance - value, false);\n            }\n        }\n    }\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/StorageSlot.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/StorageSlot.sol)\n// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library for reading and writing primitive types to specific storage slots.\n *\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\n * This library helps with reading and writing to such slots without the need for inline assembly.\n *\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\n *\n * Example usage to set ERC-1967 implementation slot:\n * ```solidity\n * contract ERC1967 {\n *     // Define the slot. Alternatively, use the SlotDerivation library to derive the slot.\n *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n *\n *     function _getImplementation() internal view returns (address) {\n *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n *     }\n *\n *     function _setImplementation(address newImplementation) internal {\n *         require(newImplementation.code.length > 0);\n *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n *     }\n * }\n * ```\n *\n * TIP: Consider using this library along with {SlotDerivation}.\n */\nlibrary StorageSlot {\n    struct AddressSlot {\n        address value;\n    }\n\n    struct BooleanSlot {\n        bool value;\n    }\n\n    struct Bytes32Slot {\n        bytes32 value;\n    }\n\n    struct Uint256Slot {\n        uint256 value;\n    }\n\n    struct Int256Slot {\n        int256 value;\n    }\n\n    struct StringSlot {\n        string value;\n    }\n\n    struct BytesSlot {\n        bytes value;\n    }\n\n    /**\n     * @dev Returns an `AddressSlot` with member `value` located at `slot`.\n     */\n    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `BooleanSlot` with member `value` located at `slot`.\n     */\n    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Bytes32Slot` with member `value` located at `slot`.\n     */\n    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Uint256Slot` with member `value` located at `slot`.\n     */\n    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Int256Slot` with member `value` located at `slot`.\n     */\n    function getInt256Slot(bytes32 slot) internal pure returns (Int256Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `StringSlot` with member `value` located at `slot`.\n     */\n    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.\n     */\n    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := store.slot\n        }\n    }\n\n    /**\n     * @dev Returns a `BytesSlot` with member `value` located at `slot`.\n     */\n    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.\n     */\n    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := store.slot\n        }\n    }\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-20 standard as defined in the ERC.\n */\ninterface IERC20 {\n    /**\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\n     * another (`to`).\n     *\n     * Note that `value` may be zero.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n     * a call to {approve}. `value` is the new allowance.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n\n    /**\n     * @dev Returns the value of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the value of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Returns the remaining number of tokens that `spender` will be\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\n     * zero by default.\n     *\n     * This value changes when {approve} or {transferFrom} are called.\n     */\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\n     * that someone may use both the old and the new allowance by unfortunate\n     * transaction ordering. One possible solution to mitigate this race\n     * condition is to first reduce the spender's allowance to 0 and set the\n     * desired value afterwards:\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the\n     * allowance mechanism. `value` is then deducted from the caller's\n     * allowance.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 value) external returns (bool);\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/interfaces/IERC1967.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC1967.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC.\n */\ninterface IERC1967 {\n    /**\n     * @dev Emitted when the implementation is upgraded.\n     */\n    event Upgraded(address indexed implementation);\n\n    /**\n     * @dev Emitted when the admin account has changed.\n     */\n    event AdminChanged(address previousAdmin, address newAdmin);\n\n    /**\n     * @dev Emitted when the beacon is changed.\n     */\n    event BeaconUpgraded(address indexed beacon);\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/access/AccessControl.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol)\n\npragma solidity ^0.8.20;\n\nimport {IAccessControl} from \"./IAccessControl.sol\";\nimport {Context} from \"../utils/Context.sol\";\nimport {ERC165} from \"../utils/introspection/ERC165.sol\";\n\n/**\n * @dev Contract module that allows children to implement role-based access\n * control mechanisms. This is a lightweight version that doesn't allow enumerating role\n * members except through off-chain means by accessing the contract event logs. Some\n * applications may benefit from on-chain enumerability, for those cases see\n * {AccessControlEnumerable}.\n *\n * Roles are referred to by their `bytes32` identifier. These should be exposed\n * in the external API and be unique. The best way to achieve this is by\n * using `public constant` hash digests:\n *\n * ```solidity\n * bytes32 public constant MY_ROLE = keccak256(\"MY_ROLE\");\n * ```\n *\n * Roles can be used to represent a set of permissions. To restrict access to a\n * function call, use {hasRole}:\n *\n * ```solidity\n * function foo() public {\n *     require(hasRole(MY_ROLE, msg.sender));\n *     ...\n * }\n * ```\n *\n * Roles can be granted and revoked dynamically via the {grantRole} and\n * {revokeRole} functions. Each role has an associated admin role, and only\n * accounts that have a role's admin role can call {grantRole} and {revokeRole}.\n *\n * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means\n * that only accounts with this role will be able to grant or revoke other\n * roles. More complex role relationships can be created by using\n * {_setRoleAdmin}.\n *\n * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to\n * grant and revoke this role. Extra precautions should be taken to secure\n * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules}\n * to enforce additional security measures for this role.\n */\nabstract contract AccessControl is Context, IAccessControl, ERC165 {\n    struct RoleData {\n        mapping(address account => bool) hasRole;\n        bytes32 adminRole;\n    }\n\n    mapping(bytes32 role => RoleData) private _roles;\n\n    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;\n\n    /**\n     * @dev Modifier that checks that an account has a specific role. Reverts\n     * with an {AccessControlUnauthorizedAccount} error including the required role.\n     */\n    modifier onlyRole(bytes32 role) {\n        _checkRole(role);\n        _;\n    }\n\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\n    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);\n    }\n\n    /**\n     * @dev Returns `true` if `account` has been granted `role`.\n     */\n    function hasRole(bytes32 role, address account) public view virtual returns (bool) {\n        return _roles[role].hasRole[account];\n    }\n\n    /**\n     * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()`\n     * is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier.\n     */\n    function _checkRole(bytes32 role) internal view virtual {\n        _checkRole(role, _msgSender());\n    }\n\n    /**\n     * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account`\n     * is missing `role`.\n     */\n    function _checkRole(bytes32 role, address account) internal view virtual {\n        if (!hasRole(role, account)) {\n            revert AccessControlUnauthorizedAccount(account, role);\n        }\n    }\n\n    /**\n     * @dev Returns the admin role that controls `role`. See {grantRole} and\n     * {revokeRole}.\n     *\n     * To change a role's admin, use {_setRoleAdmin}.\n     */\n    function getRoleAdmin(bytes32 role) public view virtual returns (bytes32) {\n        return _roles[role].adminRole;\n    }\n\n    /**\n     * @dev Grants `role` to `account`.\n     *\n     * If `account` had not been already granted `role`, emits a {RoleGranted}\n     * event.\n     *\n     * Requirements:\n     *\n     * - the caller must have ``role``'s admin role.\n     *\n     * May emit a {RoleGranted} event.\n     */\n    function grantRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {\n        _grantRole(role, account);\n    }\n\n    /**\n     * @dev Revokes `role` from `account`.\n     *\n     * If `account` had been granted `role`, emits a {RoleRevoked} event.\n     *\n     * Requirements:\n     *\n     * - the caller must have ``role``'s admin role.\n     *\n     * May emit a {RoleRevoked} event.\n     */\n    function revokeRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {\n        _revokeRole(role, account);\n    }\n\n    /**\n     * @dev Revokes `role` from the calling account.\n     *\n     * Roles are often managed via {grantRole} and {revokeRole}: this function's\n     * purpose is to provide a mechanism for accounts to lose their privileges\n     * if they are compromised (such as when a trusted device is misplaced).\n     *\n     * If the calling account had been revoked `role`, emits a {RoleRevoked}\n     * event.\n     *\n     * Requirements:\n     *\n     * - the caller must be `callerConfirmation`.\n     *\n     * May emit a {RoleRevoked} event.\n     */\n    function renounceRole(bytes32 role, address callerConfirmation) public virtual {\n        if (callerConfirmation != _msgSender()) {\n            revert AccessControlBadConfirmation();\n        }\n\n        _revokeRole(role, callerConfirmation);\n    }\n\n    /**\n     * @dev Sets `adminRole` as ``role``'s admin role.\n     *\n     * Emits a {RoleAdminChanged} event.\n     */\n    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {\n        bytes32 previousAdminRole = getRoleAdmin(role);\n        _roles[role].adminRole = adminRole;\n        emit RoleAdminChanged(role, previousAdminRole, adminRole);\n    }\n\n    /**\n     * @dev Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted.\n     *\n     * Internal function without access restriction.\n     *\n     * May emit a {RoleGranted} event.\n     */\n    function _grantRole(bytes32 role, address account) internal virtual returns (bool) {\n        if (!hasRole(role, account)) {\n            _roles[role].hasRole[account] = true;\n            emit RoleGranted(role, account, _msgSender());\n            return true;\n        } else {\n            return false;\n        }\n    }\n\n    /**\n     * @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked.\n     *\n     * Internal function without access restriction.\n     *\n     * May emit a {RoleRevoked} event.\n     */\n    function _revokeRole(bytes32 role, address account) internal virtual returns (bool) {\n        if (hasRole(role, account)) {\n            _roles[role].hasRole[account] = false;\n            emit RoleRevoked(role, account, _msgSender());\n            return true;\n        } else {\n            return false;\n        }\n    }\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/proxy/beacon/IBeacon.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/beacon/IBeacon.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev This is the interface that {BeaconProxy} expects of its beacon.\n */\ninterface IBeacon {\n    /**\n     * @dev Must return an address that can be used as a delegate call target.\n     *\n     * {UpgradeableBeacon} will check that this address is a contract.\n     */\n    function implementation() external view returns (address);\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/access/IAccessControl.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (access/IAccessControl.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev External interface of AccessControl declared to support ERC-165 detection.\n */\ninterface IAccessControl {\n    /**\n     * @dev The `account` is missing a role.\n     */\n    error AccessControlUnauthorizedAccount(address account, bytes32 neededRole);\n\n    /**\n     * @dev The caller of a function is not the expected one.\n     *\n     * NOTE: Don't confuse with {AccessControlUnauthorizedAccount}.\n     */\n    error AccessControlBadConfirmation();\n\n    /**\n     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`\n     *\n     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite\n     * {RoleAdminChanged} not being emitted signaling this.\n     */\n    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);\n\n    /**\n     * @dev Emitted when `account` is granted `role`.\n     *\n     * `sender` is the account that originated the contract call. This account bears the admin role (for the granted role).\n     * Expected in cases where the role was granted using the internal {AccessControl-_grantRole}.\n     */\n    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);\n\n    /**\n     * @dev Emitted when `account` is revoked `role`.\n     *\n     * `sender` is the account that originated the contract call:\n     *   - if using `revokeRole`, it is the admin role bearer\n     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)\n     */\n    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);\n\n    /**\n     * @dev Returns `true` if `account` has been granted `role`.\n     */\n    function hasRole(bytes32 role, address account) external view returns (bool);\n\n    /**\n     * @dev Returns the admin role that controls `role`. See {grantRole} and\n     * {revokeRole}.\n     *\n     * To change a role's admin, use {AccessControl-_setRoleAdmin}.\n     */\n    function getRoleAdmin(bytes32 role) external view returns (bytes32);\n\n    /**\n     * @dev Grants `role` to `account`.\n     *\n     * If `account` had not been already granted `role`, emits a {RoleGranted}\n     * event.\n     *\n     * Requirements:\n     *\n     * - the caller must have ``role``'s admin role.\n     */\n    function grantRole(bytes32 role, address account) external;\n\n    /**\n     * @dev Revokes `role` from `account`.\n     *\n     * If `account` had been granted `role`, emits a {RoleRevoked} event.\n     *\n     * Requirements:\n     *\n     * - the caller must have ``role``'s admin role.\n     */\n    function revokeRole(bytes32 role, address account) external;\n\n    /**\n     * @dev Revokes `role` from the calling account.\n     *\n     * Roles are often managed via {grantRole} and {revokeRole}: this function's\n     * purpose is to provide a mechanism for accounts to lose their privileges\n     * if they are compromised (such as when a trusted device is misplaced).\n     *\n     * If the calling account had been granted `role`, emits a {RoleRevoked}\n     * event.\n     *\n     * Requirements:\n     *\n     * - the caller must be `callerConfirmation`.\n     */\n    function renounceRole(bytes32 role, address callerConfirmation) external;\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/interfaces/draft-IERC1822.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC1822.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev ERC-1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified\n * proxy whose upgrades are fully controlled by the current implementation.\n */\ninterface IERC1822Proxiable {\n    /**\n     * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation\n     * address.\n     *\n     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\n     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\n     * function revert if invoked through a proxy.\n     */\n    function proxiableUUID() external view returns (bytes32);\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/interfaces/draft-IERC6093.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol)\npragma solidity ^0.8.20;\n\n/**\n * @dev Standard ERC-20 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.\n */\ninterface IERC20Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC20InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC20InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     * @param allowance Amount of tokens a `spender` is allowed to operate with.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC20InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC20InvalidSpender(address spender);\n}\n\n/**\n * @dev Standard ERC-721 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.\n */\ninterface IERC721Errors {\n    /**\n     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20.\n     * Used in balance queries.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721InvalidOwner(address owner);\n\n    /**\n     * @dev Indicates a `tokenId` whose `owner` is the zero address.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721NonexistentToken(uint256 tokenId);\n\n    /**\n     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param tokenId Identifier number of a token.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC721InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC721InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721InsufficientApproval(address operator, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC721InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC721InvalidOperator(address operator);\n}\n\n/**\n * @dev Standard ERC-1155 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.\n */\ninterface IERC1155Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC1155InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC1155InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC1155MissingApprovalForAll(address operator, address owner);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC1155InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC1155InvalidOperator(address operator);\n\n    /**\n     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.\n     * Used in batch transfers.\n     * @param idsLength Length of the array of token identifiers\n     * @param valuesLength Length of the array of token amounts\n     */\n    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/proxy/ERC1967/ERC1967Utils.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.2.0-rc.0) (proxy/ERC1967/ERC1967Utils.sol)\n\npragma solidity ^0.8.22;\n\nimport {IBeacon} from \"../beacon/IBeacon.sol\";\nimport {IERC1967} from \"../../interfaces/IERC1967.sol\";\nimport {Address} from \"../../utils/Address.sol\";\nimport {StorageSlot} from \"../../utils/StorageSlot.sol\";\n\n/**\n * @dev This library provides getters and event emitting update functions for\n * https://eips.ethereum.org/EIPS/eip-1967[ERC-1967] slots.\n */\nlibrary ERC1967Utils {\n    /**\n     * @dev Storage slot with the address of the current implementation.\n     * This is the keccak-256 hash of \"eip1967.proxy.implementation\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n\n    /**\n     * @dev The `implementation` of the proxy is invalid.\n     */\n    error ERC1967InvalidImplementation(address implementation);\n\n    /**\n     * @dev The `admin` of the proxy is invalid.\n     */\n    error ERC1967InvalidAdmin(address admin);\n\n    /**\n     * @dev The `beacon` of the proxy is invalid.\n     */\n    error ERC1967InvalidBeacon(address beacon);\n\n    /**\n     * @dev An upgrade function sees `msg.value > 0` that may be lost.\n     */\n    error ERC1967NonPayable();\n\n    /**\n     * @dev Returns the current implementation address.\n     */\n    function getImplementation() internal view returns (address) {\n        return StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new address in the ERC-1967 implementation slot.\n     */\n    function _setImplementation(address newImplementation) private {\n        if (newImplementation.code.length == 0) {\n            revert ERC1967InvalidImplementation(newImplementation);\n        }\n        StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value = newImplementation;\n    }\n\n    /**\n     * @dev Performs implementation upgrade with additional setup call if data is nonempty.\n     * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\n     * to avoid stuck value in the contract.\n     *\n     * Emits an {IERC1967-Upgraded} event.\n     */\n    function upgradeToAndCall(address newImplementation, bytes memory data) internal {\n        _setImplementation(newImplementation);\n        emit IERC1967.Upgraded(newImplementation);\n\n        if (data.length > 0) {\n            Address.functionDelegateCall(newImplementation, data);\n        } else {\n            _checkNonPayable();\n        }\n    }\n\n    /**\n     * @dev Storage slot with the admin of the contract.\n     * This is the keccak-256 hash of \"eip1967.proxy.admin\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\n\n    /**\n     * @dev Returns the current admin.\n     *\n     * TIP: To get this value clients can read directly from the storage slot shown below (specified by ERC-1967) using\n     * the https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\n     * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`\n     */\n    function getAdmin() internal view returns (address) {\n        return StorageSlot.getAddressSlot(ADMIN_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new address in the ERC-1967 admin slot.\n     */\n    function _setAdmin(address newAdmin) private {\n        if (newAdmin == address(0)) {\n            revert ERC1967InvalidAdmin(address(0));\n        }\n        StorageSlot.getAddressSlot(ADMIN_SLOT).value = newAdmin;\n    }\n\n    /**\n     * @dev Changes the admin of the proxy.\n     *\n     * Emits an {IERC1967-AdminChanged} event.\n     */\n    function changeAdmin(address newAdmin) internal {\n        emit IERC1967.AdminChanged(getAdmin(), newAdmin);\n        _setAdmin(newAdmin);\n    }\n\n    /**\n     * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\n     * This is the keccak-256 hash of \"eip1967.proxy.beacon\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;\n\n    /**\n     * @dev Returns the current beacon.\n     */\n    function getBeacon() internal view returns (address) {\n        return StorageSlot.getAddressSlot(BEACON_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new beacon in the ERC-1967 beacon slot.\n     */\n    function _setBeacon(address newBeacon) private {\n        if (newBeacon.code.length == 0) {\n            revert ERC1967InvalidBeacon(newBeacon);\n        }\n\n        StorageSlot.getAddressSlot(BEACON_SLOT).value = newBeacon;\n\n        address beaconImplementation = IBeacon(newBeacon).implementation();\n        if (beaconImplementation.code.length == 0) {\n            revert ERC1967InvalidImplementation(beaconImplementation);\n        }\n    }\n\n    /**\n     * @dev Change the beacon and trigger a setup call if data is nonempty.\n     * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\n     * to avoid stuck value in the contract.\n     *\n     * Emits an {IERC1967-BeaconUpgraded} event.\n     *\n     * CAUTION: Invoking this function has no effect on an instance of {BeaconProxy} since v5, since\n     * it uses an immutable beacon without looking at the value of the ERC-1967 beacon slot for\n     * efficiency.\n     */\n    function upgradeBeaconToAndCall(address newBeacon, bytes memory data) internal {\n        _setBeacon(newBeacon);\n        emit IERC1967.BeaconUpgraded(newBeacon);\n\n        if (data.length > 0) {\n            Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);\n        } else {\n            _checkNonPayable();\n        }\n    }\n\n    /**\n     * @dev Reverts if `msg.value` is not zero. It can be used to avoid `msg.value` stuck in the contract\n     * if an upgrade doesn't perform an initialization call.\n     */\n    function _checkNonPayable() private {\n        if (msg.value > 0) {\n            revert ERC1967NonPayable();\n        }\n    }\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/introspection/ERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/ERC165.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC165} from \"./IERC165.sol\";\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts that want to implement ERC-165 should inherit from this contract and override {supportsInterface} to check\n * for the additional interface id that will be supported. For example:\n *\n * ```solidity\n * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);\n * }\n * ```\n */\nabstract contract ERC165 is IERC165 {\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\n    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {\n        return interfaceId == type(IERC165).interfaceId;\n    }\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/introspection/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[ERC].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n    /**\n     * @dev Returns true if this contract implements the interface defined by\n     * `interfaceId`. See the corresponding\n     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]\n     * to learn more about how these ids are created.\n     *\n     * This function call must use less than 30 000 gas.\n     */\n    function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n"},"dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/utils/ContextUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\n\npragma solidity ^0.8.20;\nimport {Initializable} from \"../proxy/utils/Initializable.sol\";\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract ContextUpgradeable is Initializable {\n    function __Context_init() internal onlyInitializing {\n    }\n\n    function __Context_init_unchained() internal onlyInitializing {\n    }\n    function _msgSender() internal view virtual returns (address) {\n        return msg.sender;\n    }\n\n    function _msgData() internal view virtual returns (bytes calldata) {\n        return msg.data;\n    }\n\n    function _contextSuffixLength() internal view virtual returns (uint256) {\n        return 0;\n    }\n}\n"},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/token/ERC20/extensions/IERC20Metadata.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Metadata.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../IERC20.sol\";\n\n/**\n * @dev Interface for the optional metadata functions from the ERC-20 standard.\n */\ninterface IERC20Metadata is IERC20 {\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() external view returns (string memory);\n\n    /**\n     * @dev Returns the symbol of the token.\n     */\n    function symbol() external view returns (string memory);\n\n    /**\n     * @dev Returns the decimals places of the token.\n     */\n    function decimals() external view returns (uint8);\n}\n"},"dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/access/OwnableUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)\n\npragma solidity ^0.8.20;\n\nimport {ContextUpgradeable} from \"../utils/ContextUpgradeable.sol\";\nimport {Initializable} from \"../proxy/utils/Initializable.sol\";\n\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * The initial owner is set to the address provided by the deployer. This can\n * later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {\n    /// @custom:storage-location erc7201:openzeppelin.storage.Ownable\n    struct OwnableStorage {\n        address _owner;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.Ownable\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant OwnableStorageLocation = 0x9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300;\n\n    function _getOwnableStorage() private pure returns (OwnableStorage storage $) {\n        assembly {\n            $.slot := OwnableStorageLocation\n        }\n    }\n\n    /**\n     * @dev The caller account is not authorized to perform an operation.\n     */\n    error OwnableUnauthorizedAccount(address account);\n\n    /**\n     * @dev The owner is not a valid owner account. (eg. `address(0)`)\n     */\n    error OwnableInvalidOwner(address owner);\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.\n     */\n    function __Ownable_init(address initialOwner) internal onlyInitializing {\n        __Ownable_init_unchained(initialOwner);\n    }\n\n    function __Ownable_init_unchained(address initialOwner) internal onlyInitializing {\n        if (initialOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(initialOwner);\n    }\n\n    /**\n     * @dev Throws if called by any account other than the owner.\n     */\n    modifier onlyOwner() {\n        _checkOwner();\n        _;\n    }\n\n    /**\n     * @dev Returns the address of the current owner.\n     */\n    function owner() public view virtual returns (address) {\n        OwnableStorage storage $ = _getOwnableStorage();\n        return $._owner;\n    }\n\n    /**\n     * @dev Throws if the sender is not the owner.\n     */\n    function _checkOwner() internal view virtual {\n        if (owner() != _msgSender()) {\n            revert OwnableUnauthorizedAccount(_msgSender());\n        }\n    }\n\n    /**\n     * @dev Leaves the contract without owner. It will not be possible to call\n     * `onlyOwner` functions. Can only be called by the current owner.\n     *\n     * NOTE: Renouncing ownership will leave the contract without an owner,\n     * thereby disabling any functionality that is only available to the owner.\n     */\n    function renounceOwnership() public virtual onlyOwner {\n        _transferOwnership(address(0));\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Can only be called by the current owner.\n     */\n    function transferOwnership(address newOwner) public virtual onlyOwner {\n        if (newOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(newOwner);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Internal function without access restriction.\n     */\n    function _transferOwnership(address newOwner) internal virtual {\n        OwnableStorage storage $ = _getOwnableStorage();\n        address oldOwner = $._owner;\n        $._owner = newOwner;\n        emit OwnershipTransferred(oldOwner, newOwner);\n    }\n}\n"},"dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/proxy/utils/Initializable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/utils/Initializable.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\n * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\n *\n * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\n * reused. This mechanism prevents re-execution of each \"step\" but allows the creation of new initialization steps in\n * case an upgrade adds a module that needs to be initialized.\n *\n * For example:\n *\n * [.hljs-theme-light.nopadding]\n * ```solidity\n * contract MyToken is ERC20Upgradeable {\n *     function initialize() initializer public {\n *         __ERC20_init(\"MyToken\", \"MTK\");\n *     }\n * }\n *\n * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\n *     function initializeV2() reinitializer(2) public {\n *         __ERC20Permit_init(\"MyToken\");\n *     }\n * }\n * ```\n *\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\n * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\n *\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\n *\n * [CAUTION]\n * ====\n * Avoid leaving a contract uninitialized.\n *\n * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\n * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\n * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\n *\n * [.hljs-theme-light.nopadding]\n * ```\n * /// @custom:oz-upgrades-unsafe-allow constructor\n * constructor() {\n *     _disableInitializers();\n * }\n * ```\n * ====\n */\nabstract contract Initializable {\n    /**\n     * @dev Storage of the initializable contract.\n     *\n     * It's implemented on a custom ERC-7201 namespace to reduce the risk of storage collisions\n     * when using with upgradeable contracts.\n     *\n     * @custom:storage-location erc7201:openzeppelin.storage.Initializable\n     */\n    struct InitializableStorage {\n        /**\n         * @dev Indicates that the contract has been initialized.\n         */\n        uint64 _initialized;\n        /**\n         * @dev Indicates that the contract is in the process of being initialized.\n         */\n        bool _initializing;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.Initializable\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant INITIALIZABLE_STORAGE = 0xf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00;\n\n    /**\n     * @dev The contract is already initialized.\n     */\n    error InvalidInitialization();\n\n    /**\n     * @dev The contract is not initializing.\n     */\n    error NotInitializing();\n\n    /**\n     * @dev Triggered when the contract has been initialized or reinitialized.\n     */\n    event Initialized(uint64 version);\n\n    /**\n     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\n     * `onlyInitializing` functions can be used to initialize parent contracts.\n     *\n     * Similar to `reinitializer(1)`, except that in the context of a constructor an `initializer` may be invoked any\n     * number of times. This behavior in the constructor can be useful during testing and is not expected to be used in\n     * production.\n     *\n     * Emits an {Initialized} event.\n     */\n    modifier initializer() {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        // Cache values to avoid duplicated sloads\n        bool isTopLevelCall = !$._initializing;\n        uint64 initialized = $._initialized;\n\n        // Allowed calls:\n        // - initialSetup: the contract is not in the initializing state and no previous version was\n        //                 initialized\n        // - construction: the contract is initialized at version 1 (no reininitialization) and the\n        //                 current contract is just being deployed\n        bool initialSetup = initialized == 0 && isTopLevelCall;\n        bool construction = initialized == 1 && address(this).code.length == 0;\n\n        if (!initialSetup && !construction) {\n            revert InvalidInitialization();\n        }\n        $._initialized = 1;\n        if (isTopLevelCall) {\n            $._initializing = true;\n        }\n        _;\n        if (isTopLevelCall) {\n            $._initializing = false;\n            emit Initialized(1);\n        }\n    }\n\n    /**\n     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\n     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\n     * used to initialize parent contracts.\n     *\n     * A reinitializer may be used after the original initialization step. This is essential to configure modules that\n     * are added through upgrades and that require initialization.\n     *\n     * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`\n     * cannot be nested. If one is invoked in the context of another, execution will revert.\n     *\n     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\n     * a contract, executing them in the right order is up to the developer or operator.\n     *\n     * WARNING: Setting the version to 2**64 - 1 will prevent any future reinitialization.\n     *\n     * Emits an {Initialized} event.\n     */\n    modifier reinitializer(uint64 version) {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        if ($._initializing || $._initialized >= version) {\n            revert InvalidInitialization();\n        }\n        $._initialized = version;\n        $._initializing = true;\n        _;\n        $._initializing = false;\n        emit Initialized(version);\n    }\n\n    /**\n     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\n     * {initializer} and {reinitializer} modifiers, directly or indirectly.\n     */\n    modifier onlyInitializing() {\n        _checkInitializing();\n        _;\n    }\n\n    /**\n     * @dev Reverts if the contract is not in an initializing state. See {onlyInitializing}.\n     */\n    function _checkInitializing() internal view virtual {\n        if (!_isInitializing()) {\n            revert NotInitializing();\n        }\n    }\n\n    /**\n     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\n     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\n     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called\n     * through proxies.\n     *\n     * Emits an {Initialized} event the first time it is successfully executed.\n     */\n    function _disableInitializers() internal virtual {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        if ($._initializing) {\n            revert InvalidInitialization();\n        }\n        if ($._initialized != type(uint64).max) {\n            $._initialized = type(uint64).max;\n            emit Initialized(type(uint64).max);\n        }\n    }\n\n    /**\n     * @dev Returns the highest version that has been initialized. See {reinitializer}.\n     */\n    function _getInitializedVersion() internal view returns (uint64) {\n        return _getInitializableStorage()._initialized;\n    }\n\n    /**\n     * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.\n     */\n    function _isInitializing() internal view returns (bool) {\n        return _getInitializableStorage()._initializing;\n    }\n\n    /**\n     * @dev Returns a pointer to the storage namespace.\n     */\n    // solhint-disable-next-line var-name-mixedcase\n    function _getInitializableStorage() private pure returns (InitializableStorage storage $) {\n        assembly {\n            $.slot := INITIALIZABLE_STORAGE\n        }\n    }\n}\n"},"dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/proxy/utils/UUPSUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.2.0-rc.0) (proxy/utils/UUPSUpgradeable.sol)\n\npragma solidity ^0.8.22;\n\nimport {IERC1822Proxiable} from \"@openzeppelin/contracts/interfaces/draft-IERC1822.sol\";\nimport {ERC1967Utils} from \"@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol\";\nimport {Initializable} from \"./Initializable.sol\";\n\n/**\n * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an\n * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy.\n *\n * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is\n * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing\n * `UUPSUpgradeable` with a custom implementation of upgrades.\n *\n * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism.\n */\nabstract contract UUPSUpgradeable is Initializable, IERC1822Proxiable {\n    /// @custom:oz-upgrades-unsafe-allow state-variable-immutable\n    address private immutable __self = address(this);\n\n    /**\n     * @dev The version of the upgrade interface of the contract. If this getter is missing, both `upgradeTo(address)`\n     * and `upgradeToAndCall(address,bytes)` are present, and `upgradeTo` must be used if no function should be called,\n     * while `upgradeToAndCall` will invoke the `receive` function if the second argument is the empty byte string.\n     * If the getter returns `\"5.0.0\"`, only `upgradeToAndCall(address,bytes)` is present, and the second argument must\n     * be the empty byte string if no function should be called, making it impossible to invoke the `receive` function\n     * during an upgrade.\n     */\n    string public constant UPGRADE_INTERFACE_VERSION = \"5.0.0\";\n\n    /**\n     * @dev The call is from an unauthorized context.\n     */\n    error UUPSUnauthorizedCallContext();\n\n    /**\n     * @dev The storage `slot` is unsupported as a UUID.\n     */\n    error UUPSUnsupportedProxiableUUID(bytes32 slot);\n\n    /**\n     * @dev Check that the execution is being performed through a delegatecall call and that the execution context is\n     * a proxy contract with an implementation (as defined in ERC-1967) pointing to self. This should only be the case\n     * for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a\n     * function through ERC-1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to\n     * fail.\n     */\n    modifier onlyProxy() {\n        _checkProxy();\n        _;\n    }\n\n    /**\n     * @dev Check that the execution is not being performed through a delegate call. This allows a function to be\n     * callable on the implementing contract but not through proxies.\n     */\n    modifier notDelegated() {\n        _checkNotDelegated();\n        _;\n    }\n\n    function __UUPSUpgradeable_init() internal onlyInitializing {\n    }\n\n    function __UUPSUpgradeable_init_unchained() internal onlyInitializing {\n    }\n    /**\n     * @dev Implementation of the ERC-1822 {proxiableUUID} function. This returns the storage slot used by the\n     * implementation. It is used to validate the implementation's compatibility when performing an upgrade.\n     *\n     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\n     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\n     * function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier.\n     */\n    function proxiableUUID() external view virtual notDelegated returns (bytes32) {\n        return ERC1967Utils.IMPLEMENTATION_SLOT;\n    }\n\n    /**\n     * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call\n     * encoded in `data`.\n     *\n     * Calls {_authorizeUpgrade}.\n     *\n     * Emits an {Upgraded} event.\n     *\n     * @custom:oz-upgrades-unsafe-allow-reachable delegatecall\n     */\n    function upgradeToAndCall(address newImplementation, bytes memory data) public payable virtual onlyProxy {\n        _authorizeUpgrade(newImplementation);\n        _upgradeToAndCallUUPS(newImplementation, data);\n    }\n\n    /**\n     * @dev Reverts if the execution is not performed via delegatecall or the execution\n     * context is not of a proxy with an ERC-1967 compliant implementation pointing to self.\n     * See {_onlyProxy}.\n     */\n    function _checkProxy() internal view virtual {\n        if (\n            address(this) == __self || // Must be called through delegatecall\n            ERC1967Utils.getImplementation() != __self // Must be called through an active proxy\n        ) {\n            revert UUPSUnauthorizedCallContext();\n        }\n    }\n\n    /**\n     * @dev Reverts if the execution is performed via delegatecall.\n     * See {notDelegated}.\n     */\n    function _checkNotDelegated() internal view virtual {\n        if (address(this) != __self) {\n            // Must not be called through delegatecall\n            revert UUPSUnauthorizedCallContext();\n        }\n    }\n\n    /**\n     * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by\n     * {upgradeToAndCall}.\n     *\n     * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}.\n     *\n     * ```solidity\n     * function _authorizeUpgrade(address) internal onlyOwner {}\n     * ```\n     */\n    function _authorizeUpgrade(address newImplementation) internal virtual;\n\n    /**\n     * @dev Performs an implementation upgrade with a security check for UUPS proxies, and additional setup call.\n     *\n     * As a security check, {proxiableUUID} is invoked in the new implementation, and the return value\n     * is expected to be the implementation slot in ERC-1967.\n     *\n     * Emits an {IERC1967-Upgraded} event.\n     */\n    function _upgradeToAndCallUUPS(address newImplementation, bytes memory data) private {\n        try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {\n            if (slot != ERC1967Utils.IMPLEMENTATION_SLOT) {\n                revert UUPSUnsupportedProxiableUUID(slot);\n            }\n            ERC1967Utils.upgradeToAndCall(newImplementation, data);\n        } catch {\n            // The implementation is not UUPS\n            revert ERC1967Utils.ERC1967InvalidImplementation(newImplementation);\n        }\n    }\n}\n"},"dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/token/ERC20/ERC20Upgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.2.0-rc.0) (token/ERC20/ERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {IERC20Metadata} from \"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\";\nimport {ContextUpgradeable} from \"../../utils/ContextUpgradeable.sol\";\nimport {IERC20Errors} from \"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\";\nimport {Initializable} from \"../../proxy/utils/Initializable.sol\";\n\n/**\n * @dev Implementation of the {IERC20} interface.\n *\n * This implementation is agnostic to the way tokens are created. This means\n * that a supply mechanism has to be added in a derived contract using {_mint}.\n *\n * TIP: For a detailed writeup see our guide\n * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How\n * to implement supply mechanisms].\n *\n * The default value of {decimals} is 18. To change this, you should override\n * this function so it returns a different value.\n *\n * We have followed general OpenZeppelin Contracts guidelines: functions revert\n * instead returning `false` on failure. This behavior is nonetheless\n * conventional and does not conflict with the expectations of ERC-20\n * applications.\n */\nabstract contract ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20, IERC20Metadata, IERC20Errors {\n    /// @custom:storage-location erc7201:openzeppelin.storage.ERC20\n    struct ERC20Storage {\n        mapping(address account => uint256) _balances;\n\n        mapping(address account => mapping(address spender => uint256)) _allowances;\n\n        uint256 _totalSupply;\n\n        string _name;\n        string _symbol;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ERC20\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant ERC20StorageLocation = 0x52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00;\n\n    function _getERC20Storage() private pure returns (ERC20Storage storage $) {\n        assembly {\n            $.slot := ERC20StorageLocation\n        }\n    }\n\n    /**\n     * @dev Sets the values for {name} and {symbol}.\n     *\n     * All two of these values are immutable: they can only be set once during\n     * construction.\n     */\n    function __ERC20_init(string memory name_, string memory symbol_) internal onlyInitializing {\n        __ERC20_init_unchained(name_, symbol_);\n    }\n\n    function __ERC20_init_unchained(string memory name_, string memory symbol_) internal onlyInitializing {\n        ERC20Storage storage $ = _getERC20Storage();\n        $._name = name_;\n        $._symbol = symbol_;\n    }\n\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() public view virtual returns (string memory) {\n        ERC20Storage storage $ = _getERC20Storage();\n        return $._name;\n    }\n\n    /**\n     * @dev Returns the symbol of the token, usually a shorter version of the\n     * name.\n     */\n    function symbol() public view virtual returns (string memory) {\n        ERC20Storage storage $ = _getERC20Storage();\n        return $._symbol;\n    }\n\n    /**\n     * @dev Returns the number of decimals used to get its user representation.\n     * For example, if `decimals` equals `2`, a balance of `505` tokens should\n     * be displayed to a user as `5.05` (`505 / 10 ** 2`).\n     *\n     * Tokens usually opt for a value of 18, imitating the relationship between\n     * Ether and Wei. This is the default value returned by this function, unless\n     * it's overridden.\n     *\n     * NOTE: This information is only used for _display_ purposes: it in\n     * no way affects any of the arithmetic of the contract, including\n     * {IERC20-balanceOf} and {IERC20-transfer}.\n     */\n    function decimals() public view virtual returns (uint8) {\n        return 18;\n    }\n\n    /**\n     * @dev See {IERC20-totalSupply}.\n     */\n    function totalSupply() public view virtual returns (uint256) {\n        ERC20Storage storage $ = _getERC20Storage();\n        return $._totalSupply;\n    }\n\n    /**\n     * @dev See {IERC20-balanceOf}.\n     */\n    function balanceOf(address account) public view virtual returns (uint256) {\n        ERC20Storage storage $ = _getERC20Storage();\n        return $._balances[account];\n    }\n\n    /**\n     * @dev See {IERC20-transfer}.\n     *\n     * Requirements:\n     *\n     * - `to` cannot be the zero address.\n     * - the caller must have a balance of at least `value`.\n     */\n    function transfer(address to, uint256 value) public virtual returns (bool) {\n        address owner = _msgSender();\n        _transfer(owner, to, value);\n        return true;\n    }\n\n    /**\n     * @dev See {IERC20-allowance}.\n     */\n    function allowance(address owner, address spender) public view virtual returns (uint256) {\n        ERC20Storage storage $ = _getERC20Storage();\n        return $._allowances[owner][spender];\n    }\n\n    /**\n     * @dev See {IERC20-approve}.\n     *\n     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on\n     * `transferFrom`. This is semantically equivalent to an infinite approval.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     */\n    function approve(address spender, uint256 value) public virtual returns (bool) {\n        address owner = _msgSender();\n        _approve(owner, spender, value);\n        return true;\n    }\n\n    /**\n     * @dev See {IERC20-transferFrom}.\n     *\n     * Skips emitting an {Approval} event indicating an allowance update. This is not\n     * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].\n     *\n     * NOTE: Does not update the allowance if the current allowance\n     * is the maximum `uint256`.\n     *\n     * Requirements:\n     *\n     * - `from` and `to` cannot be the zero address.\n     * - `from` must have a balance of at least `value`.\n     * - the caller must have allowance for ``from``'s tokens of at least\n     * `value`.\n     */\n    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {\n        address spender = _msgSender();\n        _spendAllowance(from, spender, value);\n        _transfer(from, to, value);\n        return true;\n    }\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to`.\n     *\n     * This internal function is equivalent to {transfer}, and can be used to\n     * e.g. implement automatic token fees, slashing mechanisms, etc.\n     *\n     * Emits a {Transfer} event.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _transfer(address from, address to, uint256 value) internal {\n        if (from == address(0)) {\n            revert ERC20InvalidSender(address(0));\n        }\n        if (to == address(0)) {\n            revert ERC20InvalidReceiver(address(0));\n        }\n        _update(from, to, value);\n    }\n\n    /**\n     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`\n     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding\n     * this function.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _update(address from, address to, uint256 value) internal virtual {\n        ERC20Storage storage $ = _getERC20Storage();\n        if (from == address(0)) {\n            // Overflow check required: The rest of the code assumes that totalSupply never overflows\n            $._totalSupply += value;\n        } else {\n            uint256 fromBalance = $._balances[from];\n            if (fromBalance < value) {\n                revert ERC20InsufficientBalance(from, fromBalance, value);\n            }\n            unchecked {\n                // Overflow not possible: value <= fromBalance <= totalSupply.\n                $._balances[from] = fromBalance - value;\n            }\n        }\n\n        if (to == address(0)) {\n            unchecked {\n                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.\n                $._totalSupply -= value;\n            }\n        } else {\n            unchecked {\n                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.\n                $._balances[to] += value;\n            }\n        }\n\n        emit Transfer(from, to, value);\n    }\n\n    /**\n     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).\n     * Relies on the `_update` mechanism\n     *\n     * Emits a {Transfer} event with `from` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _mint(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert ERC20InvalidReceiver(address(0));\n        }\n        _update(address(0), account, value);\n    }\n\n    /**\n     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.\n     * Relies on the `_update` mechanism.\n     *\n     * Emits a {Transfer} event with `to` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead\n     */\n    function _burn(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert ERC20InvalidSender(address(0));\n        }\n        _update(account, address(0), value);\n    }\n\n    /**\n     * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.\n     *\n     * This internal function is equivalent to `approve`, and can be used to\n     * e.g. set automatic allowances for certain subsystems, etc.\n     *\n     * Emits an {Approval} event.\n     *\n     * Requirements:\n     *\n     * - `owner` cannot be the zero address.\n     * - `spender` cannot be the zero address.\n     *\n     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.\n     */\n    function _approve(address owner, address spender, uint256 value) internal {\n        _approve(owner, spender, value, true);\n    }\n\n    /**\n     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.\n     *\n     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by\n     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any\n     * `Approval` event during `transferFrom` operations.\n     *\n     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to\n     * true using the following override:\n     *\n     * ```solidity\n     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {\n     *     super._approve(owner, spender, value, true);\n     * }\n     * ```\n     *\n     * Requirements are the same as {_approve}.\n     */\n    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {\n        ERC20Storage storage $ = _getERC20Storage();\n        if (owner == address(0)) {\n            revert ERC20InvalidApprover(address(0));\n        }\n        if (spender == address(0)) {\n            revert ERC20InvalidSpender(address(0));\n        }\n        $._allowances[owner][spender] = value;\n        if (emitEvent) {\n            emit Approval(owner, spender, value);\n        }\n    }\n\n    /**\n     * @dev Updates `owner` s allowance for `spender` based on spent `value`.\n     *\n     * Does not update the allowance value in case of infinite allowance.\n     * Revert if not enough allowance is available.\n     *\n     * Does not emit an {Approval} event.\n     */\n    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {\n        uint256 currentAllowance = allowance(owner, spender);\n        if (currentAllowance < type(uint256).max) {\n            if (currentAllowance < value) {\n                revert ERC20InsufficientAllowance(spender, currentAllowance, value);\n            }\n            unchecked {\n                _approve(owner, spender, currentAllowance - value, false);\n            }\n        }\n    }\n}\n"}},"language":"Solidity","settings":{"viaIR":true,"metadata":{"appendCBOR":true,"bytecodeHash":"ipfs","useLiteralContent":false},"optimizer":{"runs":200,"enabled":true},"evmVersion":"cancun","remappings":["@openzeppelin-contracts-upgradeable/=dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/","@openzeppelin/contracts/=dependencies/@openzeppelin-contracts-5.2.0-rc.1/","forge-std/=dependencies/forge-std-1.9.5/src/","openzeppelin-foundry-upgrades/=dependencies/openzeppelin-foundry-upgrades-0.3.6/","solmate/=dependencies/solmate-6.8.0/","@openzeppelin-contracts-5.2.0-rc.1/=dependencies/@openzeppelin-contracts-5.2.0-rc.1/","@openzeppelin-contracts-upgradeable-5.2.0-rc.1/=dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/","ds-test/=dependencies/openzeppelin-foundry-upgrades-0.3.6/lib/solidity-stringutils/lib/ds-test/src/","forge-std-1.9.5/=dependencies/forge-std-1.9.5/src/","openzeppelin-foundry-upgrades-0.3.6/=dependencies/openzeppelin-foundry-upgrades-0.3.6/src/","solidity-stringutils/=dependencies/openzeppelin-foundry-upgrades-0.3.6/lib/solidity-stringutils/","solmate-6.8.0/=dependencies/solmate-6.8.0/src/"]}},"stdJsonOutput":{"sources":{"src/Diem.sol":{"id":26},"lib/Errors.sol":{"id":25},"src/Oracle.sol":{"id":27},"src/Venice.sol":{"id":30},"src/Staking.sol":{"id":28},"src/StakingV2.sol":{"id":29},"interface/IStaking.sol":{"id":23},"interface/IStakingV2.sol":{"id":24},"dependencies/solmate-6.8.0/src/auth/Owned.sol":{"id":21},"dependencies/solmate-6.8.0/src/tokens/ERC20.sol":{"id":22},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/Errors.sol":{"id":12},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/Address.sol":{"id":10},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/Context.sol":{"id":11},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/token/ERC20/ERC20.sol":{"id":7},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/StorageSlot.sol":{"id":13},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/token/ERC20/IERC20.sol":{"id":8},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/interfaces/IERC1967.sol":{"id":2},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/access/AccessControl.sol":{"id":0},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/proxy/beacon/IBeacon.sol":{"id":6},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/access/IAccessControl.sol":{"id":1},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/interfaces/draft-IERC1822.sol":{"id":3},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/interfaces/draft-IERC6093.sol":{"id":4},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/proxy/ERC1967/ERC1967Utils.sol":{"id":5},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/introspection/ERC165.sol":{"id":14},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/introspection/IERC165.sol":{"id":15},"dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/utils/ContextUpgradeable.sol":{"id":20},"dependencies/@openzeppelin-contracts-5.2.0-rc.1/token/ERC20/extensions/IERC20Metadata.sol":{"id":9},"dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/access/OwnableUpgradeable.sol":{"id":16},"dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/proxy/utils/Initializable.sol":{"id":17},"dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/proxy/utils/UUPSUpgradeable.sol":{"id":18},"dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/token/ERC20/ERC20Upgradeable.sol":{"id":19}},"contracts":{"src/StakingV2.sol":{"StakingV2":{"abi":[{"type":"constructor","inputs":[],"stateMutability":"nonpayable"},{"name":"AddressEmptyCode","type":"error","inputs":[{"name":"target","type":"address","internalType":"address"}]},{"name":"ERC1967InvalidImplementation","type":"error","inputs":[{"name":"implementation","type":"address","internalType":"address"}]},{"name":"ERC1967NonPayable","type":"error","inputs":[]},{"name":"ERC20InsufficientAllowance","type":"error","inputs":[{"name":"spender","type":"address","internalType":"address"},{"name":"allowance","type":"uint256","internalType":"uint256"},{"name":"needed","type":"uint256","internalType":"uint256"}]},{"name":"ERC20InsufficientBalance","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"},{"name":"balance","type":"uint256","internalType":"uint256"},{"name":"needed","type":"uint256","internalType":"uint256"}]},{"name":"ERC20InvalidApprover","type":"error","inputs":[{"name":"approver","type":"address","internalType":"address"}]},{"name":"ERC20InvalidReceiver","type":"error","inputs":[{"name":"receiver","type":"address","internalType":"address"}]},{"name":"ERC20InvalidSender","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"}]},{"name":"ERC20InvalidSpender","type":"error","inputs":[{"name":"spender","type":"address","internalType":"address"}]},{"name":"FailedCall","type":"error","inputs":[]},{"name":"InvalidInitialization","type":"error","inputs":[]},{"name":"NotInitializing","type":"error","inputs":[]},{"name":"OwnableInvalidOwner","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"name":"OwnableUnauthorizedAccount","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"UUPSUnauthorizedCallContext","type":"error","inputs":[]},{"name":"UUPSUnsupportedProxiableUUID","type":"error","inputs":[{"name":"slot","type":"bytes32","internalType":"bytes32"}]},{"name":"Approval","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"spender","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Claimed","type":"event","inputs":[{"name":"user","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"CooldownDurationUpdated","type":"event","inputs":[{"name":"newDuration","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"DiemBurned","type":"event","inputs":[{"name":"svvvUnlocked","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"diemBurned","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"DiemMintRatesUpdated","type":"event","inputs":[{"name":"diemSupply","type":"uint256[256]","indexed":false,"internalType":"uint256[256]"},{"name":"diemMintRates","type":"uint256[256]","indexed":false,"internalType":"uint256[256]"}],"anonymous":false},{"name":"DiemMinted","type":"event","inputs":[{"name":"svvvLocked","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"diemMinted","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"EmissionRateUpdated","type":"event","inputs":[{"name":"newRate","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Initialized","type":"event","inputs":[{"name":"version","type":"uint64","indexed":false,"internalType":"uint64"}],"anonymous":false},{"name":"OwnershipTransferred","type":"event","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"Staked","type":"event","inputs":[{"name":"user","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Transfer","type":"event","inputs":[{"name":"from","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"TreasuryUpdated","type":"event","inputs":[{"name":"newTreasury","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"UnstakeFinalized","type":"event","inputs":[{"name":"user","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"UnstakeInitiated","type":"event","inputs":[{"name":"user","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Upgraded","type":"event","inputs":[{"name":"implementation","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"VeniceEmissionsPercentageUpdated","type":"event","inputs":[{"name":"newPercentage","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"VeniceEmissionsPercentageWhenLockedUpdated","type":"event","inputs":[{"name":"newPercentage","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"ACC_REWARD_SCALE","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"UPGRADE_INTERFACE_VERSION","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"accRewardPerShare","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"accRewardPerShareLocked","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"allowance","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"spender","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"approve","type":"function","inputs":[{"name":"spender","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"balanceOf","type":"function","inputs":[{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"balanceOfUnlocked","type":"function","inputs":[{"name":"user","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"burnDiem","type":"function","inputs":[{"name":"diemAmountToBurn","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"claim","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"claimAndStake","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"cooldownDuration","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"decimals","type":"function","inputs":[],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"diem","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract Diem"}],"stateMutability":"view"},{"name":"diemMintRates","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"diemSupply","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"emissionRatePerSecond","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"finalizeUnstake","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"getDiemAmountOut","type":"function","inputs":[{"name":"sVVVAmountToLock","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getVenicePercentage","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"initialize","type":"function","inputs":[{"name":"_venice","type":"address","internalType":"address"},{"name":"_oracle","type":"address","internalType":"address"},{"name":"_treasury","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"initiateUnstake","type":"function","inputs":[{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"lastRewardTimestamp","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"lockedStakes","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"sVVVLockedAmount","type":"uint256","internalType":"uint256"},{"name":"outstandingDiemAmount","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"mintDiem","type":"function","inputs":[{"name":"sVVVAmountToLock","type":"uint256","internalType":"uint256"},{"name":"minDiemAmountOut","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"name","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"oracle","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract Oracle"}],"stateMutability":"view"},{"name":"owner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"pendingRewards","type":"function","inputs":[{"name":"_user","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"proxiableUUID","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"renounceOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"setCooldownDuration","type":"function","inputs":[{"name":"_cooldownDuration","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setDiemMintCurve","type":"function","inputs":[{"name":"_diemSupply","type":"uint256[256]","internalType":"uint256[256]"},{"name":"_diemMintRates","type":"uint256[256]","internalType":"uint256[256]"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setEmissionRate","type":"function","inputs":[{"name":"_emissionRate","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setTreasury","type":"function","inputs":[{"name":"_treasury","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setVeniceEmissionsPercentage","type":"function","inputs":[{"name":"_veniceEmissionsPercentage","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setVeniceEmissionsPercentageWhenLocked","type":"function","inputs":[{"name":"_veniceEmissionsPercentage","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"stake","type":"function","inputs":[{"name":"recipient","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"stakes","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"rewardDebt","type":"uint256","internalType":"uint256"},{"name":"cooldownEnd","type":"uint256","internalType":"uint256"},{"name":"cooldownAmount","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"symbol","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"totalLockedStakedVVV","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalSupply","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"transfer","type":"function","inputs":[{"name":"to","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"transferFrom","type":"function","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"transferOwnership","type":"function","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"treasury","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"upgradeInitialize","type":"function","inputs":[{"name":"_diem","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"upgradeToAndCall","type":"function","inputs":[{"name":"newImplementation","type":"address","internalType":"address"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"payable"},{"name":"venice","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract Venice"}],"stateMutability":"view"},{"name":"veniceEmissionsPercentage","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"veniceEmissionsPercentageWhenLocked","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"}],"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"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\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"allowance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSpender\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidInitialization\",\"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\":\"UUPSUnauthorizedCallContext\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"slot\",\"type\":\"bytes32\"}],\"name\":\"UUPSUnsupportedProxiableUUID\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Claimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newDuration\",\"type\":\"uint256\"}],\"name\":\"CooldownDurationUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"svvvUnlocked\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"diemBurned\",\"type\":\"uint256\"}],\"name\":\"DiemBurned\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256[256]\",\"name\":\"diemSupply\",\"type\":\"uint256[256]\"},{\"indexed\":false,\"internalType\":\"uint256[256]\",\"name\":\"diemMintRates\",\"type\":\"uint256[256]\"}],\"name\":\"DiemMintRatesUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"svvvLocked\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"diemMinted\",\"type\":\"uint256\"}],\"name\":\"DiemMinted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newRate\",\"type\":\"uint256\"}],\"name\":\"EmissionRateUpdated\",\"type\":\"event\"},{\"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\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Staked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newTreasury\",\"type\":\"address\"}],\"name\":\"TreasuryUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"UnstakeFinalized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"UnstakeInitiated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newPercentage\",\"type\":\"uint256\"}],\"name\":\"VeniceEmissionsPercentageUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newPercentage\",\"type\":\"uint256\"}],\"name\":\"VeniceEmissionsPercentageWhenLockedUpdated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"ACC_REWARD_SCALE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"UPGRADE_INTERFACE_VERSION\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"accRewardPerShare\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"accRewardPerShareLocked\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"balanceOfUnlocked\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"diemAmountToBurn\",\"type\":\"uint256\"}],\"name\":\"burnDiem\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"claim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"claimAndStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cooldownDuration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"diem\",\"outputs\":[{\"internalType\":\"contract Diem\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"diemMintRates\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"diemSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"emissionRatePerSecond\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"finalizeUnstake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"sVVVAmountToLock\",\"type\":\"uint256\"}],\"name\":\"getDiemAmountOut\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getVenicePercentage\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_venice\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_oracle\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_treasury\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"initiateUnstake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastRewardTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"lockedStakes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"sVVVLockedAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"outstandingDiemAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"sVVVAmountToLock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minDiemAmountOut\",\"type\":\"uint256\"}],\"name\":\"mintDiem\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"oracle\",\"outputs\":[{\"internalType\":\"contract Oracle\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"pendingRewards\",\"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\":\"_cooldownDuration\",\"type\":\"uint256\"}],\"name\":\"setCooldownDuration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[256]\",\"name\":\"_diemSupply\",\"type\":\"uint256[256]\"},{\"internalType\":\"uint256[256]\",\"name\":\"_diemMintRates\",\"type\":\"uint256[256]\"}],\"name\":\"setDiemMintCurve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_emissionRate\",\"type\":\"uint256\"}],\"name\":\"setEmissionRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_treasury\",\"type\":\"address\"}],\"name\":\"setTreasury\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_veniceEmissionsPercentage\",\"type\":\"uint256\"}],\"name\":\"setVeniceEmissionsPercentage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_veniceEmissionsPercentage\",\"type\":\"uint256\"}],\"name\":\"setVeniceEmissionsPercentageWhenLocked\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"stake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"stakes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"rewardDebt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"cooldownEnd\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"cooldownAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalLockedStakedVVV\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"treasury\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_diem\",\"type\":\"address\"}],\"name\":\"upgradeInitialize\",\"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\":\"venice\",\"outputs\":[{\"internalType\":\"contract Venice\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"veniceEmissionsPercentage\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"veniceEmissionsPercentageWhenLocked\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"custom:oz-upgrades-from\":\"Staking\",\"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.\"}],\"ERC20InsufficientAllowance(address,uint256,uint256)\":[{\"details\":\"Indicates a failure with the `spender`’s `allowance`. Used in transfers.\",\"params\":{\"allowance\":\"Amount of tokens a `spender` is allowed to operate with.\",\"needed\":\"Minimum amount required to perform a transfer.\",\"spender\":\"Address that may be allowed to operate on tokens without being their owner.\"}}],\"ERC20InsufficientBalance(address,uint256,uint256)\":[{\"details\":\"Indicates an error related to the current `balance` of a `sender`. Used in transfers.\",\"params\":{\"balance\":\"Current balance for the interacting account.\",\"needed\":\"Minimum amount required to perform a transfer.\",\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC20InvalidApprover(address)\":[{\"details\":\"Indicates a failure with the `approver` of a token to be approved. Used in approvals.\",\"params\":{\"approver\":\"Address initiating an approval operation.\"}}],\"ERC20InvalidReceiver(address)\":[{\"details\":\"Indicates a failure with the token `receiver`. Used in transfers.\",\"params\":{\"receiver\":\"Address to which tokens are being transferred.\"}}],\"ERC20InvalidSender(address)\":[{\"details\":\"Indicates a failure with the token `sender`. Used in transfers.\",\"params\":{\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC20InvalidSpender(address)\":[{\"details\":\"Indicates a failure with the `spender` to be approved. Used in approvals.\",\"params\":{\"spender\":\"Address that may be allowed to operate on tokens without being their owner.\"}}],\"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\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance.\"},\"Initialized(uint64)\":{\"details\":\"Triggered when the contract has been initialized or reinitialized.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero.\"},\"Upgraded(address)\":{\"details\":\"Emitted when the implementation is upgraded.\"}},\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"details\":\"See {IERC20-allowance}.\"},\"approve(address,uint256)\":{\"details\":\"See {IERC20-approve}. NOTE: If `value` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address.\"},\"balanceOf(address)\":{\"details\":\"See {IERC20-balanceOf}.\"},\"claim()\":{\"details\":\"   - Harvest logic accounts for all newly minted tokens since the last update.   - Sends the owed amount of VVV directly to the caller.\"},\"claimAndStake()\":{\"details\":\"This requires venice approvals are in place ahead fo the call\"},\"constructor\":{\"custom:oz-upgrades-unsafe-allow\":\"constructor\"},\"decimals()\":{\"details\":\"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the default value returned by this function, unless it's overridden. NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}.\"},\"finalizeUnstake()\":{\"details\":\"   - Reverts if the cooldown period is not over or if there is no `cooldownAmount` to finalize.   - Resets the cooldown state on success.\"},\"getDiemAmountOut(uint256)\":{\"details\":\"This is a step wise function that iterates through the diem mint curve and calculates the amount of diems that can be minted for a given amount of sVVV.\",\"params\":{\"sVVVAmountToLock\":\"The amount of sVVV to lock.\"},\"returns\":{\"_0\":\"diemAmountOut The amount of diems that can be minted for the given amount of sVVV.\"}},\"getVenicePercentage()\":{\"details\":\"maintained for backwards compatibility\",\"returns\":{\"_0\":\"The treasury percentage.\"}},\"initiateUnstake(uint256)\":{\"details\":\"   - Accumulates and transfers any pending rewards for the user before the burn.   - Updates the user’s `cooldownStart` and `cooldownAmount`.\",\"params\":{\"amount\":\"The amount of sVVV tokens to burn and place into cooldown.\"}},\"mintDiem(uint256,uint256)\":{\"params\":{\"minDiemAmountOut\":\"The minimum amount of diems that must be minted or the call will revert.\",\"sVVVAmountToLock\":\"The amount of sVVV to lock.\"}},\"name()\":{\"details\":\"Returns the name of the token.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"pendingRewards(address)\":{\"details\":\"   - This function simulates what `_harvest` would do, but without transferring tokens.\",\"params\":{\"user\":\"The address for which to compute the pending rewards.\"},\"returns\":{\"_0\":\"The amount of unclaimed VVV rewards, in `wei`.\"}},\"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.\"},\"setCooldownDuration(uint256)\":{\"details\":\"Only callable by the contract owner; reverts if called by non-owner.\",\"params\":{\"newDuration\":\"The new cooldown duration in seconds.\"}},\"setDiemMintCurve(uint256[256],uint256[256])\":{\"params\":{\"_diemMintRates\":\"The mint rate for each point on the curve.\",\"_diemSupply\":\"The total supply of diem at each point on the curve.\"}},\"setEmissionRate(uint256)\":{\"details\":\"Only callable by the contract owner; reverts if called by non-owner.\",\"params\":{\"newRate\":\"The new emission rate per second.\"}},\"setTreasury(address)\":{\"details\":\"Only callable by the contract owner; reverts if called by non-owner.\",\"params\":{\"newTreasury\":\"The new treasury address.\"}},\"stake(address,uint256)\":{\"details\":\"   - User must have approved this contract to transfer `amount` of VVV beforehand.   - Accumulates and transfers any pending rewards for `recipient` before minting new sVVV.\",\"params\":{\"amount\":\"The amount of VVV tokens to stake.\",\"recipient\":\"The address that will receive the newly minted sVVV.\"}},\"symbol()\":{\"details\":\"Returns the symbol of the token, usually a shorter version of the name.\"},\"totalSupply()\":{\"details\":\"See {IERC20-totalSupply}.\"},\"transfer(address,uint256)\":{\"details\":\"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `value`.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC20-transferFrom}. Skips emitting an {Approval} event indicating an allowance update. This is not required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve]. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `value`. - the caller must have allowance for ``from``'s tokens of at least `value`.\"},\"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\":{\"accRewardPerShare()\":{\"notice\":\"The accumulated rewards per share, scaled by 1e18 for fixed-point precision.\"},\"accRewardPerShareLocked()\":{\"notice\":\"Tracks the accumulated reward per share for locked stakes\"},\"balanceOfUnlocked(address)\":{\"notice\":\"Returns the balance of the user excluding their locked sVVV\"},\"burnDiem(uint256)\":{\"notice\":\"Burns diems from user and unlocks the corresponding amount of sVVV\"},\"claim()\":{\"notice\":\"Claims all pending VVV rewards for the caller.\"},\"claimAndStake()\":{\"notice\":\"Convenience function to claim rewards and stake them in one transaction and no dust.\"},\"cooldownDuration()\":{\"notice\":\"The duration (in seconds) a user must wait after initiating an unstake before they can finalize.\"},\"diem()\":{\"notice\":\"Diem token\"},\"diemMintRates(uint256)\":{\"notice\":\"Array of diem mint rates for each diem supply point. This is expressed as sVVV per diem.\"},\"diemSupply(uint256)\":{\"notice\":\"Array of diem total supply points for each diem mint rate\"},\"emissionRatePerSecond()\":{\"notice\":\"Emission rate of rewards, expressed in `wei`-denominated VVV per second.\"},\"finalizeUnstake()\":{\"notice\":\"Completes the unstaking process by sending the user the equivalent amount of VVV tokens          after the cooldown period has elapsed.\"},\"getDiemAmountOut(uint256)\":{\"notice\":\"Returns the amount of diems that can be minted for a given amount of sVVV.\"},\"getVenicePercentage()\":{\"notice\":\"Returns the percentage of newly minted rewards that goes to the treasury, as a fraction of 1e18.\"},\"initiateUnstake(uint256)\":{\"notice\":\"Initiates the unstaking process: the user burns the specified `amount` of sVVV immediately,          but must wait `cooldownDuration` seconds before calling `finalizeUnstake` to redeem VVV tokens.         After `initiateUnstake` is called, all functions called on that user’s stake will revert, including         claiming, staking and unstaking.\"},\"lastRewardTimestamp()\":{\"notice\":\"The timestamp of the most recent rewards update.\"},\"lockedStakes(address)\":{\"notice\":\"Mapping of user addresses to their locked stake information\"},\"mintDiem(uint256,uint256)\":{\"notice\":\"Burns sVVV from user and mints diems\"},\"oracle()\":{\"notice\":\"Returns the address of the Oracle used to determine the utilization rate,          which affects how newly minted rewards are split between the treasury and stakers.\"},\"pendingRewards(address)\":{\"notice\":\"Returns the pending rewards for a given user, including any rewards that haven’t yet been          fully distributed in `accRewardPerShare`.\"},\"setCooldownDuration(uint256)\":{\"notice\":\"Updates the cooldown duration for unstaking, in seconds.\"},\"setDiemMintCurve(uint256[256],uint256[256])\":{\"notice\":\"Sets the diem mint curve and therefore the total possible supply of diem is represented as _diemSupply[255].\"},\"setEmissionRate(uint256)\":{\"notice\":\"Updates the emission rate of rewards, expressed in `wei`-denominated VVV per second.\"},\"setTreasury(address)\":{\"notice\":\"Updates the treasury address where a portion of new tokens are minted based on utilization rate.\"},\"setVeniceEmissionsPercentage(uint256)\":{\"notice\":\"Sets the percentage of emissions that go to venice before considering staking.\"},\"setVeniceEmissionsPercentageWhenLocked(uint256)\":{\"notice\":\"Sets the percentage of emissions that go to venice from locked stakes. This is in addition to the percentage that goes to venice from the total emissions. and calculated after. Setting this to 20% (2e17) means that 20% of the rewards from locked stakes go to venice, not 20% of the total rewards.\"},\"stake(address,uint256)\":{\"notice\":\"Allows a user to stake `amount` of VVV tokens on behalf of `recipient`,          receiving an equivalent amount of sVVV in return.\"},\"stakes(address)\":{\"notice\":\"Represents the staking information for each user.\"},\"totalLockedStakedVVV()\":{\"notice\":\"Total amount of sVVV that is currently locked\"},\"treasury()\":{\"notice\":\"Returns the address of the treasury that receives a portion of newly minted rewards.\"},\"venice()\":{\"notice\":\"Returns the address of the Venice (VVV) token contract.\"},\"veniceEmissionsPercentage()\":{\"notice\":\"Percentage of total emissions that go to venice\"},\"veniceEmissionsPercentageWhenLocked()\":{\"notice\":\"Percentage of emissions that go to venice from users have locked their sVVV\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/StakingV2.sol\":\"StakingV2\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@openzeppelin-contracts-5.2.0-rc.1/=dependencies/@openzeppelin-contracts-5.2.0-rc.1/\",\":@openzeppelin-contracts-upgradeable-5.2.0-rc.1/=dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/\",\":@openzeppelin-contracts-upgradeable/=dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/\",\":@openzeppelin/contracts/=dependencies/@openzeppelin-contracts-5.2.0-rc.1/\",\":ds-test/=dependencies/openzeppelin-foundry-upgrades-0.3.6/lib/solidity-stringutils/lib/ds-test/src/\",\":forge-std-1.9.5/=dependencies/forge-std-1.9.5/src/\",\":forge-std/=dependencies/forge-std-1.9.5/src/\",\":openzeppelin-foundry-upgrades-0.3.6/=dependencies/openzeppelin-foundry-upgrades-0.3.6/src/\",\":openzeppelin-foundry-upgrades/=dependencies/openzeppelin-foundry-upgrades-0.3.6/\",\":solidity-stringutils/=dependencies/openzeppelin-foundry-upgrades-0.3.6/lib/solidity-stringutils/\",\":solmate-6.8.0/=dependencies/solmate-6.8.0/src/\",\":solmate/=dependencies/solmate-6.8.0/\"],\"viaIR\":true},\"sources\":{\"dependencies/@openzeppelin-contracts-5.2.0-rc.1/access/AccessControl.sol\":{\"keccak256\":\"0xa0e92d42942f4f57c5be50568dac11e9d00c93efcb458026e18d2d9b9b2e7308\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://46326c0bb1e296b67185e81c918e0b40501b8b6386165855df0a3f3c634b6a80\",\"dweb:/ipfs/QmTwyrDYtsxsk6pymJTK94PnEpzsmkpUxFuzEiakDopy4Z\"]},\"dependencies/@openzeppelin-contracts-5.2.0-rc.1/access/IAccessControl.sol\":{\"keccak256\":\"0xc1c2a7f1563b77050dc6d507db9f4ada5d042c1f6a9ddbffdc49c77cdc0a1606\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fd54abb96a6156d9a761f6fdad1d3004bc48d2d4fce47f40a3f91a7ae83fc3a1\",\"dweb:/ipfs/QmUrFSGkTDJ7WaZ6qPVVe3Gn5uN2viPb7x7QQ35UX4DofX\"]},\"dependencies/@openzeppelin-contracts-5.2.0-rc.1/interfaces/IERC1967.sol\":{\"keccak256\":\"0xb25a4f11fa80c702bf5cd85adec90e6f6f507f32f4a8e6f5dbc31e8c10029486\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6917f8a323e7811f041aecd4d9fd6e92455a6fba38a797ac6f6e208c7912b79d\",\"dweb:/ipfs/QmShuYv55wYHGi4EFkDB8QfF7ZCHoKk2efyz3AWY1ExSq7\"]},\"dependencies/@openzeppelin-contracts-5.2.0-rc.1/interfaces/draft-IERC1822.sol\":{\"keccak256\":\"0xc42facb5094f2f35f066a7155bda23545e39a3156faef3ddc00185544443ba7d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d3b36282ab029b46bd082619a308a2ea11c309967b9425b7b7a6eb0b0c1c3196\",\"dweb:/ipfs/QmP2YVfDB2FoREax3vJu7QhDnyYRMw52WPrCD4vdT2kuDA\"]},\"dependencies/@openzeppelin-contracts-5.2.0-rc.1/interfaces/draft-IERC6093.sol\":{\"keccak256\":\"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b\",\"dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz\"]},\"dependencies/@openzeppelin-contracts-5.2.0-rc.1/proxy/ERC1967/ERC1967Utils.sol\":{\"keccak256\":\"0x5d411c014f3f43ee088c1944b7b2f4723f26c7438d2dbfda7cd052d9a2eb3883\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://93cfe60d44e48430b30b0a125fd9c740f585ebedb6eadcd927d480af5bdd1b20\",\"dweb:/ipfs/QmaRGJVsa9X8iwqvLijdyHa3E9vQLGixcku43FWmCp3kbh\"]},\"dependencies/@openzeppelin-contracts-5.2.0-rc.1/proxy/beacon/IBeacon.sol\":{\"keccak256\":\"0xc59a78b07b44b2cf2e8ab4175fca91e8eca1eee2df7357b8d2a8833e5ea1f64c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5aa4f07e65444784c29cd7bfcc2341b34381e4e5b5da9f0c5bd00d7f430e66fa\",\"dweb:/ipfs/QmWRMh4Q9DpaU9GvsiXmDdoNYMyyece9if7hnfLz7uqzWM\"]},\"dependencies/@openzeppelin-contracts-5.2.0-rc.1/token/ERC20/ERC20.sol\":{\"keccak256\":\"0x0a94ddd82d8129870fc73f885a7f01569e495ab71bfbb72cf0de10b464b1d7c7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://57e82916452addf4d6331221d3bbbdc441767bb7cc767726a51f9864ef56a427\",\"dweb:/ipfs/QmNNR4HmWSfXEihAX5ZNxzQwKyS7xVQBU7j2vuS1G1K26K\"]},\"dependencies/@openzeppelin-contracts-5.2.0-rc.1/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"dependencies/@openzeppelin-contracts-5.2.0-rc.1/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0x70f2f713b13b7ce4610bcd0ac9fec0f3cc43693b043abcb8dc40a42a726eb330\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c13d13304ac79a83ab1c30168967d19e2203342ebbd6a9bbce4db7550522dcbf\",\"dweb:/ipfs/QmeN5jKMN2vw5bhacr6tkg78afbTTZUeaacNHqjWt4Ew1r\"]},\"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/Address.sol\":{\"keccak256\":\"0x9d8da059267bac779a2dbbb9a26c2acf00ca83085e105d62d5d4ef96054a47f5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c78e2aa4313323cecd1ef12a8d6265b96beee1a199923abf55d9a2a9e291ad23\",\"dweb:/ipfs/QmUTs2KStXucZezzFo3EYeqYu47utu56qrF7jj1Gue65vb\"]},\"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/Errors.sol\":{\"keccak256\":\"0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ba1d02f4847670a1b83dec9f7d37f0b0418d6043447b69f3a29a5f9efc547fcf\",\"dweb:/ipfs/QmQ7iH2keLNUKgq2xSWcRmuBE5eZ3F5whYAkAGzCNNoEWB\"]},\"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/StorageSlot.sol\":{\"keccak256\":\"0xcf74f855663ce2ae00ed8352666b7935f6cddea2932fdf2c3ecd30a9b1cd0e97\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9f660b1f351b757dfe01438e59888f31f33ded3afcf5cb5b0d9bf9aa6f320a8b\",\"dweb:/ipfs/QmarDJ5hZEgBtCmmrVzEZWjub9769eD686jmzb2XpSU1cM\"]},\"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xddce8e17e3d3f9ed818b4f4c4478a8262aab8b11ed322f1bf5ed705bb4bd97fa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8084aa71a4cc7d2980972412a88fe4f114869faea3fefa5436431644eb5c0287\",\"dweb:/ipfs/Qmbqfs5dRdPvHVKY8kTaeyc65NdqXRQwRK7h9s5UJEhD1p\"]},\"dependencies/@openzeppelin-contracts-5.2.0-rc.1/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]},\"dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/access/OwnableUpgradeable.sol\":{\"keccak256\":\"0xc163fcf9bb10138631a9ba5564df1fa25db9adff73bd9ee868a8ae1858fe093a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9706d43a0124053d9880f6e31a59f31bc0a6a3dc1acd66ce0a16e1111658c5f6\",\"dweb:/ipfs/QmUFmfowzkRwGtDu36cXV9SPTBHJ3n7dG9xQiK5B28jTf2\"]},\"dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/proxy/utils/Initializable.sol\":{\"keccak256\":\"0x631188737069917d2f909d29ce62c4d48611d326686ba6683e26b72a23bfac0b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7a61054ae84cd6c4d04c0c4450ba1d6de41e27e0a2c4f1bcdf58f796b401c609\",\"dweb:/ipfs/QmUvtdp7X1mRVyC3CsHrtPbgoqWaXHp3S1ZR24tpAQYJWM\"]},\"dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/proxy/utils/UUPSUpgradeable.sol\":{\"keccak256\":\"0x6b64099c3e3ed0ebe5346b99f3dba8af62f0d683f80c48c0dfbd840608d0edc7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f363a46c2545416e82d41600368173c228389a7d1419fa7b035c701dbc03f4f8\",\"dweb:/ipfs/QmXuKQaL5ecee4738qbXpnTfwRUq5p37MpiJMRk6iMgyGz\"]},\"dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/token/ERC20/ERC20Upgradeable.sol\":{\"keccak256\":\"0xdeb60ecec07d21349408b883dd026a8e676e8303cd6b3327df5daf5f98f017e6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5a3a29e119b5c1ad7a5cd84e6d8410e4b1b273ed1f91511eaba78bf0d14ae1b6\",\"dweb:/ipfs/QmVagSBRBWY4DyNgdABQKVC1zUA75vYnMU6xZZqo9EFi4h\"]},\"dependencies/@openzeppelin-contracts-upgradeable-5.2.0-rc.1/utils/ContextUpgradeable.sol\":{\"keccak256\":\"0xdbef5f0c787055227243a7318ef74c8a5a1108ca3a07f2b3a00ef67769e1e397\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://08e39f23d5b4692f9a40803e53a8156b72b4c1f9902a88cd65ba964db103dab9\",\"dweb:/ipfs/QmPKn6EYDgpga7KtpkA8wV2yJCYGMtc9K4LkJfhKX2RVSV\"]},\"dependencies/solmate-6.8.0/src/auth/Owned.sol\":{\"keccak256\":\"0xfedb27d14c508342c33eb067c9a02eabcdb0f9dcf93b04ded1001f580d12d0ea\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://1ff52bbee698b9cf9e4574615e6550be0887ccf355f6571e23d6f25b332e79b4\",\"dweb:/ipfs/QmVorA2apojVRStzS7h8aFccR3Uv32G6HVtBtFHZrE7YXx\"]},\"dependencies/solmate-6.8.0/src/tokens/ERC20.sol\":{\"keccak256\":\"0xcdfd8db76b2a3415620e4d18cc5545f3d50de792dbf2c3dd5adb40cbe6f94b10\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://57b3ab70cde374af1cf2c9888636e8de6cf660f087b1c9abd805e9271e19fa35\",\"dweb:/ipfs/QmNrLDBAHYFjpjSd12jerm1AdBkDqEYUUaXgnT854BUZ97\"]},\"interface/IStaking.sol\":{\"keccak256\":\"0xb02efc1a18ad3624edc60a7a383da905dde0f3f3a23fe056a56a39de7aa2a6f5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c39265ed235e38ae6c59e26ee7034c9fc52fd965aac4bd57b5f475616bfbe27e\",\"dweb:/ipfs/QmaHu8cKarxkUuoyPUYCUTC3keXfiiqJByjCe6q9obvLtK\"]},\"interface/IStakingV2.sol\":{\"keccak256\":\"0xe2db3b6e87014e4a16c5c1ea3e4573a10c6b7f24af4b77b498625c0296d431d9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e3dc8bece4a6413f6dad3c6d543affd6fbd45ec2caa07d352378e655e76f9949\",\"dweb:/ipfs/QmV5G5uG9eM7cJYT1WbnkYNJr8r5dPrFL9kYysUuQSd1dk\"]},\"lib/Errors.sol\":{\"keccak256\":\"0x206bf245fd5a93955356e2a95e2657cc982b397a0926333d2b376a5706c3970b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6eba57b4416a5d8b9a5fe9a0c66614fa46d977670834573964e48553dd3af337\",\"dweb:/ipfs/QmSdyDgigBPrsiuBD5VMJoSjobqtXmpP1URqQ5kxsYULgD\"]},\"src/Diem.sol\":{\"keccak256\":\"0xd4d52fc88aaac7a4f03cdf855f450cff8122334b13f521ad52d676dbb0299fd3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a159cd7f9f5ca2263a72e80b9483136fca38250f17cf7acd8ddbfaede373004d\",\"dweb:/ipfs/QmQWs5StKbM63JaW4V2tjPCWCqpFyotbBa1L5ZJXyc4QzX\"]},\"src/Oracle.sol\":{\"keccak256\":\"0x992152c903dd4b3da7a6faea918ba3c75f406682645524c9d8cd15a865032687\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2bcc9bd38784a124b2e67fe01c910a61f9126b10f1ad5bd324509fc546a2a148\",\"dweb:/ipfs/QmUgWjMf47gm3Uf29VUyjS1rhv53Hgd5YFn4r7vuFZkhvM\"]},\"src/Staking.sol\":{\"keccak256\":\"0xa9cd37f1520d638d6a7ad34cef1dd34ca7a4b4a2a7c4fd754fbb024845f87315\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9a58e58b95d3747466f0110f4f44350dd047fe14a84842ad27132408535e9e8\",\"dweb:/ipfs/QmdxaC8WZrobgrktH5mZJzC9WuMMgQzPK1Mm2o5czFLeD1\"]},\"src/StakingV2.sol\":{\"keccak256\":\"0x4c75185eb330041c948bbdc2a71331e9ecc6b14237330c2e5754448c9ac3e3d9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b200241286378c040693a6726afc00dd732cd64b357d11fe8bb85dd6ff28837d\",\"dweb:/ipfs/QmUQgdyDMky11uNoX1oBiwNo3zZ7tBADHRDZAZwvULf6rE\"]},\"src/Venice.sol\":{\"keccak256\":\"0x0987d938e2ff2e4853d8a28ce993a4a81efb05355322ea40f9ac68ad5ceab1a9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5211839d2f6aef90606b3d55d936c04e98309b0004d42bb21623489b55cc9398\",\"dweb:/ipfs/QmTCwH1oRQNceyZ6tjtm1NRM9KgLVy8MdFNqxV1aKTbnix\"]}},\"version\":1}","userdoc":{"kind":"user","methods":{"diem()":{"notice":"Diem token"},"claim()":{"notice":"Claims all pending VVV rewards for the caller."},"oracle()":{"notice":"Returns the address of the Oracle used to determine the utilization rate,          which affects how newly minted rewards are split between the treasury and stakers."},"venice()":{"notice":"Returns the address of the Venice (VVV) token contract."},"treasury()":{"notice":"Returns the address of the treasury that receives a portion of newly minted rewards."},"claimAndStake()":{"notice":"Convenience function to claim rewards and stake them in one transaction and no dust."},"stakes(address)":{"notice":"Represents the staking information for each user."},"burnDiem(uint256)":{"notice":"Burns diems from user and unlocks the corresponding amount of sVVV"},"finalizeUnstake()":{"notice":"Completes the unstaking process by sending the user the equivalent amount of VVV tokens          after the cooldown period has elapsed."},"cooldownDuration()":{"notice":"The duration (in seconds) a user must wait after initiating an unstake before they can finalize."},"accRewardPerShare()":{"notice":"The accumulated rewards per share, scaled by 1e18 for fixed-point precision."},"diemSupply(uint256)":{"notice":"Array of diem total supply points for each diem mint rate"},"setTreasury(address)":{"notice":"Updates the treasury address where a portion of new tokens are minted based on utilization rate."},"getVenicePercentage()":{"notice":"Returns the percentage of newly minted rewards that goes to the treasury, as a fraction of 1e18."},"lastRewardTimestamp()":{"notice":"The timestamp of the most recent rewards update."},"lockedStakes(address)":{"notice":"Mapping of user addresses to their locked stake information"},"diemMintRates(uint256)":{"notice":"Array of diem mint rates for each diem supply point. This is expressed as sVVV per diem."},"stake(address,uint256)":{"notice":"Allows a user to stake `amount` of VVV tokens on behalf of `recipient`,          receiving an equivalent amount of sVVV in return."},"totalLockedStakedVVV()":{"notice":"Total amount of sVVV that is currently locked"},"emissionRatePerSecond()":{"notice":"Emission rate of rewards, expressed in `wei`-denominated VVV per second."},"pendingRewards(address)":{"notice":"Returns the pending rewards for a given user, including any rewards that haven’t yet been          fully distributed in `accRewardPerShare`."},"initiateUnstake(uint256)":{"notice":"Initiates the unstaking process: the user burns the specified `amount` of sVVV immediately,          but must wait `cooldownDuration` seconds before calling `finalizeUnstake` to redeem VVV tokens.         After `initiateUnstake` is called, all functions called on that user’s stake will revert, including         claiming, staking and unstaking."},"setEmissionRate(uint256)":{"notice":"Updates the emission rate of rewards, expressed in `wei`-denominated VVV per second."},"accRewardPerShareLocked()":{"notice":"Tracks the accumulated reward per share for locked stakes"},"getDiemAmountOut(uint256)":{"notice":"Returns the amount of diems that can be minted for a given amount of sVVV."},"mintDiem(uint256,uint256)":{"notice":"Burns sVVV from user and mints diems"},"balanceOfUnlocked(address)":{"notice":"Returns the balance of the user excluding their locked sVVV"},"veniceEmissionsPercentage()":{"notice":"Percentage of total emissions that go to venice"},"setCooldownDuration(uint256)":{"notice":"Updates the cooldown duration for unstaking, in seconds."},"setVeniceEmissionsPercentage(uint256)":{"notice":"Sets the percentage of emissions that go to venice before considering staking."},"veniceEmissionsPercentageWhenLocked()":{"notice":"Percentage of emissions that go to venice from users have locked their sVVV"},"setDiemMintCurve(uint256[256],uint256[256])":{"notice":"Sets the diem mint curve and therefore the total possible supply of diem is represented as _diemSupply[255]."},"setVeniceEmissionsPercentageWhenLocked(uint256)":{"notice":"Sets the percentage of emissions that go to venice from locked stakes. This is in addition to the percentage that goes to venice from the total emissions. and calculated after. Setting this to 20% (2e17) means that 20% of the rewards from locked stakes go to venice, not 20% of the total rewards."}},"version":1},"devdoc":{"kind":"dev","errors":{"FailedCall()":[{"details":"A call to an address target failed. The target may have reverted."}],"NotInitializing()":[{"details":"The contract is not initializing."}],"ERC1967NonPayable()":[{"details":"An upgrade function sees `msg.value > 0` that may be lost."}],"InvalidInitialization()":[{"details":"The contract is already initialized."}],"AddressEmptyCode(address)":[{"details":"There's no code at `target` (it is not a contract)."}],"ERC20InvalidSender(address)":[{"params":{"sender":"Address whose tokens are being transferred."},"details":"Indicates a failure with the token `sender`. Used in transfers."}],"ERC20InvalidSpender(address)":[{"params":{"spender":"Address that may be allowed to operate on tokens without being their owner."},"details":"Indicates a failure with the `spender` to be approved. Used in approvals."}],"OwnableInvalidOwner(address)":[{"details":"The owner is not a valid owner account. (eg. `address(0)`)"}],"ERC20InvalidApprover(address)":[{"params":{"approver":"Address initiating an approval operation."},"details":"Indicates a failure with the `approver` of a token to be approved. Used in approvals."}],"ERC20InvalidReceiver(address)":[{"params":{"receiver":"Address to which tokens are being transferred."},"details":"Indicates a failure with the token `receiver`. Used in transfers."}],"UUPSUnauthorizedCallContext()":[{"details":"The call is from an unauthorized context."}],"OwnableUnauthorizedAccount(address)":[{"details":"The caller account is not authorized to perform an operation."}],"ERC1967InvalidImplementation(address)":[{"details":"The `implementation` of the proxy is invalid."}],"UUPSUnsupportedProxiableUUID(bytes32)":[{"details":"The storage `slot` is unsupported as a UUID."}],"ERC20InsufficientBalance(address,uint256,uint256)":[{"params":{"needed":"Minimum amount required to perform a transfer.","sender":"Address whose tokens are being transferred.","balance":"Current balance for the interacting account."},"details":"Indicates an error related to the current `balance` of a `sender`. Used in transfers."}],"ERC20InsufficientAllowance(address,uint256,uint256)":[{"params":{"needed":"Minimum amount required to perform a transfer.","spender":"Address that may be allowed to operate on tokens without being their owner.","allowance":"Amount of tokens a `spender` is allowed to operate with."},"details":"Indicates a failure with the `spender`’s `allowance`. Used in transfers."}]},"events":{"Upgraded(address)":{"details":"Emitted when the implementation is upgraded."},"Initialized(uint64)":{"details":"Triggered when the contract has been initialized or reinitialized."},"Approval(address,address,uint256)":{"details":"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance."},"Transfer(address,address,uint256)":{"details":"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero."}},"methods":{"name()":{"details":"Returns the name of the token."},"claim()":{"details":"   - Harvest logic accounts for all newly minted tokens since the last update.   - Sends the owed amount of VVV directly to the caller."},"owner()":{"details":"Returns the address of the current owner."},"symbol()":{"details":"Returns the symbol of the token, usually a shorter version of the name."},"decimals()":{"details":"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the default value returned by this function, unless it's overridden. NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}."},"constructor":{"custom:oz-upgrades-unsafe-allow":"constructor"},"totalSupply()":{"details":"See {IERC20-totalSupply}."},"claimAndStake()":{"details":"This requires venice approvals are in place ahead fo the call"},"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."},"finalizeUnstake()":{"details":"   - Reverts if the cooldown period is not over or if there is no `cooldownAmount` to finalize.   - Resets the cooldown state on success."},"balanceOf(address)":{"details":"See {IERC20-balanceOf}."},"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."},"setTreasury(address)":{"params":{"newTreasury":"The new treasury address."},"details":"Only callable by the contract owner; reverts if called by non-owner."},"getVenicePercentage()":{"details":"maintained for backwards compatibility","returns":{"_0":"The treasury percentage."}},"stake(address,uint256)":{"params":{"amount":"The amount of VVV tokens to stake.","recipient":"The address that will receive the newly minted sVVV."},"details":"   - User must have approved this contract to transfer `amount` of VVV beforehand.   - Accumulates and transfers any pending rewards for `recipient` before minting new sVVV."},"pendingRewards(address)":{"params":{"user":"The address for which to compute the pending rewards."},"details":"   - This function simulates what `_harvest` would do, but without transferring tokens.","returns":{"_0":"The amount of unclaimed VVV rewards, in `wei`."}},"approve(address,uint256)":{"details":"See {IERC20-approve}. NOTE: If `value` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address."},"initiateUnstake(uint256)":{"params":{"amount":"The amount of sVVV tokens to burn and place into cooldown."},"details":"   - Accumulates and transfers any pending rewards for the user before the burn.   - Updates the user’s `cooldownStart` and `cooldownAmount`."},"setEmissionRate(uint256)":{"params":{"newRate":"The new emission rate per second."},"details":"Only callable by the contract owner; reverts if called by non-owner."},"getDiemAmountOut(uint256)":{"params":{"sVVVAmountToLock":"The amount of sVVV to lock."},"details":"This is a step wise function that iterates through the diem mint curve and calculates the amount of diems that can be minted for a given amount of sVVV.","returns":{"_0":"diemAmountOut The amount of diems that can be minted for the given amount of sVVV."}},"mintDiem(uint256,uint256)":{"params":{"minDiemAmountOut":"The minimum amount of diems that must be minted or the call will revert.","sVVVAmountToLock":"The amount of sVVV to lock."}},"transfer(address,uint256)":{"details":"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `value`."},"allowance(address,address)":{"details":"See {IERC20-allowance}."},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"setCooldownDuration(uint256)":{"params":{"newDuration":"The new cooldown duration in seconds."},"details":"Only callable by the contract owner; reverts if called by non-owner."},"upgradeToAndCall(address,bytes)":{"details":"Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call encoded in `data`. Calls {_authorizeUpgrade}. Emits an {Upgraded} event.","custom:oz-upgrades-unsafe-allow-reachable":"delegatecall"},"transferFrom(address,address,uint256)":{"details":"See {IERC20-transferFrom}. Skips emitting an {Approval} event indicating an allowance update. This is not required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve]. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `value`. - the caller must have allowance for ``from``'s tokens of at least `value`."},"setDiemMintCurve(uint256[256],uint256[256])":{"params":{"_diemSupply":"The total supply of diem at each point on the curve.","_diemMintRates":"The mint rate for each point on the curve."}}},"version":1,"custom:oz-upgrades-from":"Staking"},"storageLayout":{"types":{"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_contract(Diem)4238":{"label":"contract Diem","encoding":"inplace","numberOfBytes":"20"},"t_contract(Oracle)4359":{"label":"contract Oracle","encoding":"inplace","numberOfBytes":"20"},"t_contract(Venice)6288":{"label":"contract Venice","encoding":"inplace","numberOfBytes":"20"},"t_array(t_uint256)256_storage":{"base":"t_uint256","label":"uint256[256]","encoding":"inplace","numberOfBytes":"8192"},"t_struct(StakeInfo)4405_storage":{"label":"struct Staking.StakeInfo","members":[{"slot":"0","type":"t_uint256","astId":4400,"label":"rewardDebt","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"1","type":"t_uint256","astId":4402,"label":"cooldownEnd","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"2","type":"t_uint256","astId":4404,"label":"cooldownAmount","offset":0,"contract":"src/StakingV2.sol:StakingV2"}],"encoding":"inplace","numberOfBytes":"96"},"t_struct(LockedStakeInfo)5123_storage":{"label":"struct StakingV2.LockedStakeInfo","members":[{"slot":"0","type":"t_uint256","astId":5120,"label":"sVVVLockedAmount","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"1","type":"t_uint256","astId":5122,"label":"outstandingDiemAmount","offset":0,"contract":"src/StakingV2.sol:StakingV2"}],"encoding":"inplace","numberOfBytes":"64"},"t_mapping(t_address,t_struct(StakeInfo)4405_storage)":{"key":"t_address","label":"mapping(address => struct Staking.StakeInfo)","value":"t_struct(StakeInfo)4405_storage","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_address,t_struct(LockedStakeInfo)5123_storage)":{"key":"t_address","label":"mapping(address => struct StakingV2.LockedStakeInfo)","value":"t_struct(LockedStakeInfo)5123_storage","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_contract(Venice)6288","astId":4389,"label":"venice","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"1","type":"t_contract(Oracle)4359","astId":4392,"label":"oracle","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"2","type":"t_address","astId":4394,"label":"treasury","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"3","type":"t_uint256","astId":4396,"label":"emissionRatePerSecond","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"4","type":"t_uint256","astId":4398,"label":"cooldownDuration","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"5","type":"t_mapping(t_address,t_struct(StakeInfo)4405_storage)","astId":4410,"label":"stakes","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"6","type":"t_uint256","astId":4412,"label":"accRewardPerShare","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"7","type":"t_uint256","astId":4414,"label":"lastRewardTimestamp","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"8","type":"t_uint256","astId":5095,"label":"accRewardPerShareLocked","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"9","type":"t_uint256","astId":5098,"label":"veniceEmissionsPercentage","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"10","type":"t_uint256","astId":5101,"label":"veniceEmissionsPercentageWhenLocked","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"11","type":"t_uint256","astId":5104,"label":"totalLockedStakedVVV","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"12","type":"t_contract(Diem)4238","astId":5108,"label":"diem","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"13","type":"t_array(t_uint256)256_storage","astId":5113,"label":"diemSupply","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"269","type":"t_array(t_uint256)256_storage","astId":5118,"label":"diemMintRates","offset":0,"contract":"src/StakingV2.sol:StakingV2"},{"slot":"525","type":"t_mapping(t_address,t_struct(LockedStakeInfo)5123_storage)","astId":5129,"label":"lockedStakes","offset":0,"contract":"src/StakingV2.sol:StakingV2"}]},"transientStorageLayout":null,"evm":{"bytecode":{"object":"60a06040523461003c5730608052610015610040565b61001d610040565b604051612bd390816100fd82396080518181816110bf015261118f0152f35b5f80fd5b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005460ff8160401c166100ed576002600160401b03196001600160401b038216016100885750565b6001600160401b0319166001600160401b039081177ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602090a1565b63f92ee8a960e01b5f5260045ffdfe6080806040526004361015610012575f80fd5b5f905f3560e01c9081630342063b14611daa5750806306fdde0314611cc8578063095ea7b314611c235780630caf48d314611b725780630ea9434114611a3b57806316934fc4146119ec57806318160ddd146119c35780632006efcb1461181f57806323b872dd1461174857806325bef7461461172a57806325fae12b146117015780632c74d1df1461108e578063313ce567146116e557806331d7a262146116c157806335269315146116a357806340370f1f1461161357806345af37b2146115f55780634d44f110146113985780634e71d92d146113655780634f1ef2861461111357806352d1902d146110ac5780635dea41bb1461108e57806361d027b31461106557806370a0823114611020578063715018a614610fb75780637dc0d1d014610f8e57806387716cbf14610f6f5780638da5cb5b14610f3a5780638f1f8d0c14610f1357806392417dc714610ecf578063939d623714610eb157806395d89b4114610dbe578063966be07514610d705780639b1650ed14610d0f578063a1bdb15e14610cb9578063a80152d614610c9b578063a9059cbb14610c77578063aaaff76714610c05578063ad3cb1cc14610bc0578063ad66f18214610b97578063adc9772e14610b71578063ae5ac92114610965578063b4f70f7214610936578063c0c53b8b146103d5578063cb1a4fc0146103b2578063ceddd07d14610386578063dd62ed3e1461033e578063e3a684021461030a578063f0f442601461029c578063f2fde38b1461026f5763f8077fae1461024f575f80fd5b3461026c578060031936011261026c576020600754604051908152f35b80fd5b503461026c57602036600319011261026c5761029961028c611dee565b61029461252a565b6124b9565b80f35b503461026c57602036600319011261026c577f7dae230f18360d76a040c81f050aa14eb9d6dc7901b20fc5d855e2a20fe814d160206102d9611dee565b6102e161252a565b600280546001600160a01b0319166001600160a01b03929092169182179055604051908152a180f35b503461026c57602036600319011261026c5760043561010081101561033a576020915061010d0154604051908152f35b5080fd5b503461026c57604036600319011261026c57610358611dee565b610369610363611e04565b91611e1a565b9060018060a01b03165f52602052602060405f2054604051908152f35b503461026c57602036600319011261026c5760206103aa6103a5611dee565b612480565b604051908152f35b503461026c578060031936011261026c576102996103cf33611fa9565b3361236c565b503461026c57606036600319011261026c576103ef611dee565b6103f7611e04565b6044356001600160a01b03811690819003610932575f80516020612b7e833981519152549160ff8360401c16159267ffffffffffffffff81168015908161092a575b6001149081610920575b159081610917575b506109085767ffffffffffffffff1981166001175f80516020612b7e83398151915255836108dc575b5060409384516104848682611e52565b601381527229ba30b5b2b2102b32b734b1b2902a37b5b2b760691b60208201528551906104b18783611e52565b600482526339ab2b2b60e11b60208301526104ca612a34565b6104d2612a34565b80519067ffffffffffffffff82116108c85781906104fd5f80516020612abe83398151915254611ea4565b601f811161084e575b50602090601f83116001146107d2578a926107c7575b50508160011b915f199060031b1c1916175f80516020612abe833981519152555b80519067ffffffffffffffff82116107b35781906105685f80516020612afe83398151915254611ea4565b601f8111610739575b50602090601f83116001146106bd5789926106b2575b50508160011b915f199060031b1c1916175f80516020612afe833981519152555b6105b0612a34565b6105b8612a34565b6105c1336124b9565b6105c9612a34565b60018060a01b03166001600160601b0360a01b86541617855560018060a01b03166001600160601b0360a01b60015416176001556001600160601b0360a01b60025416176002556706292e6de3503dd360035562093a8060045542600755301561069e5761063f670de0b6b3a76400003061298a565b610647575080f35b60207fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29168ff0000000000000000195f80516020612b7e83398151915254165f80516020612b7e833981519152555160018152a180f35b63ec442f0560e01b83526004839052602483fd5b015190505f80610587565b5f80516020612afe8339815191528a52818a209250601f1984168a5b8181106107215750908460019594939210610709575b505050811b015f80516020612afe833981519152556105a8565b01515f1960f88460031b161c191690555f80806106ef565b929360206001819287860151815501950193016106d9565b5f80516020612afe8339815191528a529091507f46a2803e59a4de4e7a4c574b1243f25977ac4c77d5a1a4a609b5394cebb4a2aa601f840160051c810191602085106107a9575b90601f859493920160051c01905b81811061079b5750610571565b8a815584935060010161078e565b9091508190610780565b634e487b7160e01b88526041600452602488fd5b015190505f8061051c565b5f80516020612abe8339815191528b52818b209250601f1984168b5b818110610836575090846001959493921061081e575b505050811b015f80516020612abe8339815191525561053d565b01515f1960f88460031b161c191690555f8080610804565b929360206001819287860151815501950193016107ee565b5f80516020612abe8339815191528b529091507f2ae08a8e29253f69ac5d979a101956ab8f8d9d7ded63fa7a83b16fc47648eab0601f840160051c810191602085106108be575b90601f859493920160051c01905b8181106108b05750610506565b8b81558493506001016108a3565b9091508190610895565b634e487b7160e01b89526041600452602489fd5b68ffffffffffffffffff191668010000000000000001175f80516020612b7e833981519152555f610474565b63f92ee8a960e01b8652600486fd5b9050155f61044b565b303b159150610443565b859150610439565b8380fd5b503461026c57602036600319011261026c5760043561010081101561033a5760209150600d0154604051908152f35b503461026c57602036600319011261026c57600435906040906109ae825161098d8482611e52565b600c81526b554e5354414b455f5a45524f60a01b6020820152841515611edc565b33815260056020528181209060028201906109f88254158551906109d28783611e52565b6014825273434f4f4c444f574e5f494e5f50524f475245535360601b6020830152611edc565b610a1585610a0533612480565b1015610a0f611f18565b90611edc565b610a1e3361255d565b3315610b5d57610b14578390335f525f80516020612ade833981519152602052835f2054828110610af9578290335f525f80516020612ade83398151915260205203845f2055815f80516020612b3e83398151915254035f80516020612b3e833981519152555f84518381527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60203392a3610abc60045442611f4a565b600184015555610acb33612611565b9055519081527fc606a9f55fc42cd3159fcfc8ddcd749dd21c4574cca0b68a5a65d5f984b6c42c60203392a2005b905063391434e360e21b5f523360045260245260445260645ffd5b610b5983805190610b258183611e52565b60118252704e4f545f5452414e534645525241424c4560781b60208301525162461bcd60e51b815291829160048301611dc4565b0390fd5b634b637e8f60e11b81526004819052602490fd5b503461026c57604036600319011261026c57610299610b8e611dee565b6024359061236c565b503461026c578060031936011261026c57600c546040516001600160a01b039091168152602090f35b503461026c578060031936011261026c5750610c01604051610be3604082611e52565b60058152640352e302e360dc1b602082015260405191829182611dc4565b0390f35b503461026c57602036600319011261026c577f3fa751adc7d77b89491ef674a701215e6998cd5d3d73b083cc69e15c85f0790d6020600435610c4561252a565b610c4d6126e4565b610c69610c58612331565b670de0b6b3a7640000831115611edc565b80600955604051908152a180f35b503461026c57604036600319011261026c57610c91611dee565b602435903361266b565b503461026c578060031936011261026c576020600354604051908152f35b503461026c57602036600319011261026c577fffcc630bf88a67ba7c8b27440787c31777ae923aee1e9bbd0127feea56da2cd06020600435610cf961252a565b610d016126e4565b80600355604051908152a180f35b503461026c57602036600319011261026c577f38a604e8a36592c14768cd04d016e8f0be9e11c140f1643cd8d4266f9e28e9e46020600435610d4f61252a565b610d576126e4565b610d62610c58612331565b80600a55604051908152a180f35b503461026c57602036600319011261026c577f3b919acbae27b7c60197957a5423655702d842fcc85c19c7631dc1c777f478f56020600435610db061252a565b80600455604051908152a180f35b503461026c578060031936011261026c5760405190805f80516020612afe8339815191525490610ded82611ea4565b8085529160018116908115610e8a5750600114610e21575b610c0184610e1581860382611e52565b60405191829182611dc4565b5f80516020612afe83398151915281527f46a2803e59a4de4e7a4c574b1243f25977ac4c77d5a1a4a609b5394cebb4a2aa939250905b808210610e7057509091508101602001610e1582610e05565b919260018160209254838588010152019101909291610e57565b60ff191660208087019190915292151560051b85019092019250610e159150839050610e05565b503461026c578060031936011261026c576020600654604051908152f35b503461026c57602036600319011261026c5760409081906001600160a01b03610ef6611dee565b16815261020d602052206001815491015482519182526020820152f35b503461026c578060031936011261026c57546040516001600160a01b039091168152602090f35b503461026c578060031936011261026c575f80516020612b1e833981519152546040516001600160a01b039091168152602090f35b503461026c57602036600319011261026c5760206103aa6004356121a1565b503461026c578060031936011261026c576001546040516001600160a01b039091168152602090f35b503461026c578060031936011261026c57610fd061252a565b5f80516020612b1e83398151915280546001600160a01b0319811690915581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b503461026c57602036600319011261026c576020906040906001600160a01b03611048611dee565b1681525f80516020612ade83398151915283522054604051908152f35b503461026c578060031936011261026c576002546040516001600160a01b039091168152602090f35b503461026c578060031936011261026c576020600954604051908152f35b503461026c578060031936011261026c577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031630036111045760206040515f80516020612b5e8339815191528152f35b63703e46dd60e11b8152600490fd5b50604036600319011261026c57611128611dee565b6024359067ffffffffffffffff82116113615736602383011215611361578160040135908361115683611e88565b936111646040519586611e52565b8385526020850193366024828401011161136157806024602093018637850101526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630811490811561133f575b50611330576111c761252a565b6040516352d1902d60e01b81526001600160a01b0382169390602081600481885afa8691816112f8575b5061120a57634c9c8ce360e01b86526004859052602486fd5b93845f80516020612b5e8339815191528796036112e65750823b156112d4575f80516020612b5e83398151915280546001600160a01b031916821790558491907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b8380a28051156112b9576112ad9382915190845af43d156112b1573d9161129183611e88565b9261129f6040519485611e52565b83523d85602085013e612a5f565b5080f35b606091612a5f565b50505050346112c55780f35b63b398979f60e01b8152600490fd5b634c9c8ce360e01b8552600452602484fd5b632a87526960e21b8652600452602485fd5b9091506020813d602011611328575b8161131460209383611e52565b810103126113245751905f6111f1565b8680fd5b3d9150611307565b63703e46dd60e11b8452600484fd5b5f80516020612b5e833981519152546001600160a01b0316141590505f6111ba565b8280fd5b503461026c578060031936011261026c5761137f3361255d565b61138833612611565b3382526005602052604082205580f35b503461026c57602036600319011261026c576004356040906113dd82516113bf8482611e52565b60098152684255524e5f5a45524f60b81b6020820152821515611edc565b600c5482516370a0823160e01b815233600482015290602090829060249082906001600160a01b03165afa80156115e85784906115b0575b61142b915082611423611f18565b911015611edc565b33835261020d602052611448600183852001541515610a0f612166565b6114513361255d565b33835261020d602052818320908154916114e28261146f8582611f78565b60018401936114cc61148386548094611f8b565b80986114c78b516114948d82611e52565b601b81527f494e53554646494349454e545f4c4f434b45445f42414c414e43450000000000602082015283831015611edc565b611f6b565b90556114c76114d9612166565b83831015611edc565b90556114f082600b54611f6b565b600b55600c546001600160a01b031691823b156115ac578351632770a7eb60e21b81523360048201526024810183905292849290869081908690604490829084905af180156115a057611585575b507f77e8c1608e07b1a4395fc907407d6244a50b86eead919f3ee61d8ce99e204bd6935082519182526020820152a161157633612611565b90338352600560205282205580f35b611593919350809294611e52565b610932578183918561153e565b508351903d90823e3d90fd5b8480fd5b506020813d6020116115e0575b816115ca60209383611e52565b810103126115dc5761142b9051611415565b5f80fd5b3d91506115bd565b50505051903d90823e3d90fd5b503461026c578060031936011261026c576020600a54604051908152f35b503461026c57602036600319011261026c5761162d611dee565b61163561252a565b600c549061167a60405161164a604082611e52565b60138152721053149150511657d253925512505312569151606a1b60208201526001600160a01b03841615611edc565b6702c68af0bb140000600a556001600160a01b03166001600160a01b03199190911617600c5580f35b503461026c578060031936011261026c576020600454604051908152f35b503461026c57602036600319011261026c5760206103aa6116e0611dee565b611fa9565b503461026c578060031936011261026c57602060405160128152f35b503461026c578060031936011261026c5760206040516a0c097ce7bc90715b34b9f160241b8152f35b503461026c578060031936011261026c576020600b54604051908152f35b503461026c57606036600319011261026c57611762611dee565b61176a611e04565b906044359261177882611e1a565b335f9081526020919091526040902054905f198210611799575b505061266b565b848210611805576001600160a01b038316156117f15733156117dd57506117bf82611e1a565b60018060a01b0333165f526020528360405f20910390555f80611792565b634a1406b160e11b81526004819052602490fd5b63e602df0560e01b81526004819052602490fd5b84606492637dc7a0d960e11b835233600452602452604452fd5b50346115dc5760403660031901126115dc5760043560409061186482516118468482611e52565b60098152684c4f434b5f5a45524f60b81b6020820152821515611edc565b61186d3361255d565b61187a81610a0533612480565b335f5261020d602052815f2061188f826121a1565b906118d4845161189f8682611e52565b601981527f42454c4f575f4d494e5f4449454d5f414d4f554e545f4f5554000000000000006020820152602435841015611edc565b600181016118e3838254611f4a565b90556118f0838254611f4a565b90556118fe82600b54611f4a565b600b55600c546001600160a01b0316803b156115dc5783516340c10f1960e01b815233600482015260248101839052905f908290604490829084905af180156119b95761197f575b507fd081a649ef2f9530490e16b4ff4d6e1f46460e01107d1ecf7c576cca3cf9d35791839182519182526020820152a161157633612611565b83919450916119af5f7fd081a649ef2f9530490e16b4ff4d6e1f46460e01107d1ecf7c576cca3cf9d35794611e52565b5f94915091611946565b84513d5f823e3d90fd5b346115dc575f3660031901126115dc5760205f80516020612b3e83398151915254604051908152f35b346115dc5760203660031901126115dc576001600160a01b03611a0d611dee565b165f526005602052606060405f20805490600260018201549101549060405192835260208301526040820152f35b346115dc575f3660031901126115dc57335f52600560205260405f2060028101905f825492816001604094611a958651611a758882611e52565b600b81526a2727afa1a7a7a62227aba760a91b6020820152881515611edc565b01611ace8154421015865190611aab8883611e52565b601182527021a7a7a62227aba72fa727aa2fa7ab22a960791b6020830152611edc565b55555f8054825163a9059cbb60e01b8152336004820152602481018590529160209183916044918391906001600160a01b03165af18015611b6857611b3b575b50519081527fc819022d26707b1e41f61d9adc9481024e27272d949e34a1dfec4d7abf168a3360203392a2005b611b5c9060203d602011611b61575b611b548183611e52565b810190611f00565b611b0e565b503d611b4a565b82513d5f823e3d90fd5b346115dc576140003660031901126115dc5736612004116115dc5736614004116115dc57611b9e61252a565b5f5b6101008110908115611be8578060051b91826004013582600d015515611bd45760019161200401358161010d015501611ba0565b634e487b7160e01b5f52603260045260245ffd5b7fa17dd66150b8ad4ee99c4d23c5cdbb44eaa4076e6e1d854c3005aa021511da5a6140006040516120006004823761200061200481830137a1005b346115dc5760403660031901126115dc57611c3c611dee565b602435903315611cb5576001600160a01b0316908115611ca257611c5f33611e1a565b825f526020528060405f20556040519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560203392a3602060405160018152f35b634a1406b160e11b5f525f60045260245ffd5b63e602df0560e01b5f525f60045260245ffd5b346115dc575f3660031901126115dc576040515f5f80516020612abe83398151915254611cf481611ea4565b8084529060018116908115611d865750600114611d1c575b610c0183610e1581850382611e52565b5f80516020612abe8339815191525f9081527f2ae08a8e29253f69ac5d979a101956ab8f8d9d7ded63fa7a83b16fc47648eab0939250905b808210611d6c57509091508101602001610e15611d0c565b919260018160209254838588010152019101909291611d54565b60ff191660208086019190915291151560051b84019091019150610e159050611d0c565b346115dc575f3660031901126115dc576020906008548152f35b602060409281835280519182918282860152018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b03821682036115dc57565b602435906001600160a01b03821682036115dc57565b6001600160a01b03165f9081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace016020526040902090565b90601f8019910116810190811067ffffffffffffffff821117611e7457604052565b634e487b7160e01b5f52604160045260245ffd5b67ffffffffffffffff8111611e7457601f01601f191660200190565b90600182811c92168015611ed2575b6020831014611ebe57565b634e487b7160e01b5f52602260045260245ffd5b91607f1691611eb3565b15611ee45750565b60405162461bcd60e51b8152908190610b599060048301611dc4565b908160209103126115dc575180151581036115dc5790565b60405190611f27604083611e52565b6014825273494e53554646494349454e545f42414c414e434560601b6020830152565b91908201809211611f5757565b634e487b7160e01b5f52601160045260245ffd5b91908203918211611f5757565b81810292918115918404141715611f5757565b8115611f95570490565b634e487b7160e01b5f52601260045260245ffd5b6006549060085490600754804211612024575b50806a0c097ce7bc90715b34b9f160241b61200781611fe961202197611fe461200e97612480565b611f78565b049260018060a01b031694855f5261020d60205260405f2054611f78565b0490611f4a565b905f52600560205260405f205490611f6b565b90565b61203d6120346120599242611f6b565b60035490611f78565b670de0b6b3a764000061205260095483611f78565b0490611f6b565b600b54906120678282611f78565b946120a461208e6120875f80516020612b3e833981519152548099611f8b565b8094611f6b565b92670de0b6b3a7640000612052600a5483611f78565b956a0c097ce7bc90715b34b9f160241b8302928084046a0c097ce7bc90715b34b9f160241b1490151715611f57576120ef926120e3856120e993611f6b565b90611f8b565b90611f4a565b93816120fc575b50611fbc565b6a0c097ce7bc90715b34b9f160241b81959493929502908082046a0c097ce7bc90715b34b9f160241b1490151715611f57576120076a0c097ce7bc90715b34b9f160241b611fe961215861200e966120e96120219a8597611f8b565b9697505050508192506120f6565b60405190612175604083611e52565b601e82527f494e53554646494349454e545f4f55545354414e44494e475f4449454d5300006020830152565b600c546040516318160ddd60e01b815290602090829060049082906001600160a01b03165afa908115612326575f916122f4575b50905f905f5b6101008110156122eb5780600d015493848110156122e157612203818361010d015496611f6b565b61220d8187611f78565b670de0b6b3a763ffff8101809111611f5757670de0b6b3a764000090048481106122b55750505050670de0b6b3a7640000810290808204670de0b6b3a76400001490151715611f5757612263926120e991611f8b565b5f5b61226c5790565b610b5960405161227d604082611e52565b6013815272494e53554646494349454e545f535550504c5960681b602082015260405162461bcd60e51b815291829160048301611dc4565b60019396506122d3906122cd836122d9959798611f4a565b96611f6b565b93611f4a565b935b016121db565b93506001906122db565b50909150612265565b90506020813d60201161231e575b8161230f60209383611e52565b810103126115dc57515f6121d5565b3d9150612302565b6040513d5f823e3d90fd5b60405190612340604083611e52565b601c82527f494e56414c49445f454d495353494f4e535f50455243454e54414745000000006020830152565b90604061239d815161237e8382611e52565b600a8152695354414b455f5a45524f60b01b6020820152831515611edc565b6123a68361255d565b6001600160a01b03831692831561246d576123c1838261298a565b5f805483516323b872dd60e01b8152336004820152306024820152604481018690529160209183916064918391906001600160a01b03165af18015612463577f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d94926020949261243692612448575b50612611565b855f5260058452815f205551908152a2565b61245e90863d8811611b6157611b548183611e52565b612430565b83513d5f823e3d90fd5b63ec442f0560e01b5f525f60045260245ffd5b6001600160a01b03165f9081525f80516020612ade833981519152602090815260408083205461020d9092529091205461202191611f6b565b6001600160a01b03168015612517575f80516020612b1e83398151915280546001600160a01b0319811683179091556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3565b631e4fbdf760e01b5f525f60045260245ffd5b5f80516020612b1e833981519152546001600160a01b0316330361254a57565b63118cdaa760e01b5f523360045260245ffd5b6125656126e4565b61256e81611fa9565b9081612578575050565b5f805460405163a9059cbb60e01b81526001600160a01b03848116600483015260248201869052909392602092859260449284929091165af1908115612326577fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a926020926125f6575b506040519384526001600160a01b031692a2565b61260c90833d8511611b6157611b548183611e52565b6125e2565b612021906a0c097ce7bc90715b34b9f160241b61263961263083612480565b60065490611f78565b049060018060a01b03165f5261020d6020526a0c097ce7bc90715b34b9f160241b61200760405f205460085490611f78565b9091506001600160a01b0316156126d1576001600160a01b03161561246d57610b5960405161269b604082611e52565b60118152704e4f545f5452414e534645525241424c4560781b602082015260405162461bcd60e51b815291829160048301611dc4565b634b637e8f60e11b5f525f60045260245ffd5b6007545f9080421115612790576126fe61270b9142611f6b565b4260075560035490611f78565b801561279057612731670de0b6b3a764000061272960095484611f78565b048092611f6b565b5f80516020612b3e8339815191525490600b5461276b6127646127548386611f6b565b9461275f8486611f78565b611f8b565b8093611f6b565b925f9380158015612916575b50505081612867575b505090806127fb575b5080612794575b5050565b81546001600160a01b031690813b15611361576040516340c10f1960e01b815230600482015260248101919091529082908290604490829084905af180156127f0576127de575050565b6127e9828092611e52565b61026c5750565b6040513d84823e3d90fd5b5f546002546001600160a01b0391821692911690823b156115dc576040516340c10f1960e01b81526001600160a01b039290921660048301526024820152905f908290604490829084905af1801561232657156127895761285f9192505f90611e52565b5f905f612789565b612887670de0b6b3a764000061287f600a5485611f78565b048093611f6b565b6a0c097ce7bc90715b34b9f160241b8102908082046a0c097ce7bc90715b34b9f160241b1490151715611f5757816128be91611f8b565b90816128d9575b50506128d19192611f4a565b905f80612780565b906128d1936129076a0c097ce7bc90715b34b9f160241b6128fd61290f9585611f78565b0492600854611f4a565b600855611f4a565b915f6128c5565b6a0c097ce7bc90715b34b9f160241b82029182046a0c097ce7bc90715b34b9f160241b141715611f57578161294a91611f8b565b9081612957575b80612777565b8194506129766a0c097ce7bc90715b34b9f160241b9161298093611f78565b0493600654611f4a565b6006555f80612951565b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60205f926129c7855f80516020612b3e83398151915254611f4a565b5f80516020612b3e833981519152556001600160a01b03169384158414612a1257805f80516020612b3e83398151915254035f80516020612b3e833981519152555b604051908152a3565b8484525f80516020612ade833981519152825260408420818154019055612a09565b60ff5f80516020612b7e8339815191525460401c1615612a5057565b631afcd79f60e31b5f5260045ffd5b90612a835750805115612a7457805190602001fd5b63d6bda27560e01b5f5260045ffd5b81511580612ab4575b612a94575090565b639996b31560e01b5f9081526001600160a01b0391909116600452602490fd5b50803b15612a8c56fe52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0352c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0052c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace049016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930052c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace02360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbcf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220695704119e311195d295c1502f2660e9bf456cb38a18c51c189ff67e3033794264736f6c634300081a0033","sourceMap":"266:17029:29:-:0;;;;;;1176:4:18;1168:13;;1141:53:28;;:::i;:::-;1691::29;;:::i;:::-;266:17029;;;;;;;;1168:13:18;266:17029:29;;;;;;;;;;;;;;;7711:422:17;8837:64;266:17029:29;;;;;;7896:76:17;;-1:-1:-1;;;;;;;;;;;266:17029:29;;7985:34:17;7981:146;;7711:422;:::o;7981:146::-;-1:-1:-1;;;;;;266:17029:29;-1:-1:-1;;;;;266:17029:29;;;8837:64:17;266:17029:29;;;;;;8087:29:17;;266:17029:29;;8087:29:17;7711:422::o;7896:76::-;7938:23;;;-1:-1:-1;7938:23:17;;-1:-1:-1;7938:23:17","linkReferences":{}},"deployedBytecode":{"object":"6080806040526004361015610012575f80fd5b5f905f3560e01c9081630342063b14611daa5750806306fdde0314611cc8578063095ea7b314611c235780630caf48d314611b725780630ea9434114611a3b57806316934fc4146119ec57806318160ddd146119c35780632006efcb1461181f57806323b872dd1461174857806325bef7461461172a57806325fae12b146117015780632c74d1df1461108e578063313ce567146116e557806331d7a262146116c157806335269315146116a357806340370f1f1461161357806345af37b2146115f55780634d44f110146113985780634e71d92d146113655780634f1ef2861461111357806352d1902d146110ac5780635dea41bb1461108e57806361d027b31461106557806370a0823114611020578063715018a614610fb75780637dc0d1d014610f8e57806387716cbf14610f6f5780638da5cb5b14610f3a5780638f1f8d0c14610f1357806392417dc714610ecf578063939d623714610eb157806395d89b4114610dbe578063966be07514610d705780639b1650ed14610d0f578063a1bdb15e14610cb9578063a80152d614610c9b578063a9059cbb14610c77578063aaaff76714610c05578063ad3cb1cc14610bc0578063ad66f18214610b97578063adc9772e14610b71578063ae5ac92114610965578063b4f70f7214610936578063c0c53b8b146103d5578063cb1a4fc0146103b2578063ceddd07d14610386578063dd62ed3e1461033e578063e3a684021461030a578063f0f442601461029c578063f2fde38b1461026f5763f8077fae1461024f575f80fd5b3461026c578060031936011261026c576020600754604051908152f35b80fd5b503461026c57602036600319011261026c5761029961028c611dee565b61029461252a565b6124b9565b80f35b503461026c57602036600319011261026c577f7dae230f18360d76a040c81f050aa14eb9d6dc7901b20fc5d855e2a20fe814d160206102d9611dee565b6102e161252a565b600280546001600160a01b0319166001600160a01b03929092169182179055604051908152a180f35b503461026c57602036600319011261026c5760043561010081101561033a576020915061010d0154604051908152f35b5080fd5b503461026c57604036600319011261026c57610358611dee565b610369610363611e04565b91611e1a565b9060018060a01b03165f52602052602060405f2054604051908152f35b503461026c57602036600319011261026c5760206103aa6103a5611dee565b612480565b604051908152f35b503461026c578060031936011261026c576102996103cf33611fa9565b3361236c565b503461026c57606036600319011261026c576103ef611dee565b6103f7611e04565b6044356001600160a01b03811690819003610932575f80516020612b7e833981519152549160ff8360401c16159267ffffffffffffffff81168015908161092a575b6001149081610920575b159081610917575b506109085767ffffffffffffffff1981166001175f80516020612b7e83398151915255836108dc575b5060409384516104848682611e52565b601381527229ba30b5b2b2102b32b734b1b2902a37b5b2b760691b60208201528551906104b18783611e52565b600482526339ab2b2b60e11b60208301526104ca612a34565b6104d2612a34565b80519067ffffffffffffffff82116108c85781906104fd5f80516020612abe83398151915254611ea4565b601f811161084e575b50602090601f83116001146107d2578a926107c7575b50508160011b915f199060031b1c1916175f80516020612abe833981519152555b80519067ffffffffffffffff82116107b35781906105685f80516020612afe83398151915254611ea4565b601f8111610739575b50602090601f83116001146106bd5789926106b2575b50508160011b915f199060031b1c1916175f80516020612afe833981519152555b6105b0612a34565b6105b8612a34565b6105c1336124b9565b6105c9612a34565b60018060a01b03166001600160601b0360a01b86541617855560018060a01b03166001600160601b0360a01b60015416176001556001600160601b0360a01b60025416176002556706292e6de3503dd360035562093a8060045542600755301561069e5761063f670de0b6b3a76400003061298a565b610647575080f35b60207fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29168ff0000000000000000195f80516020612b7e83398151915254165f80516020612b7e833981519152555160018152a180f35b63ec442f0560e01b83526004839052602483fd5b015190505f80610587565b5f80516020612afe8339815191528a52818a209250601f1984168a5b8181106107215750908460019594939210610709575b505050811b015f80516020612afe833981519152556105a8565b01515f1960f88460031b161c191690555f80806106ef565b929360206001819287860151815501950193016106d9565b5f80516020612afe8339815191528a529091507f46a2803e59a4de4e7a4c574b1243f25977ac4c77d5a1a4a609b5394cebb4a2aa601f840160051c810191602085106107a9575b90601f859493920160051c01905b81811061079b5750610571565b8a815584935060010161078e565b9091508190610780565b634e487b7160e01b88526041600452602488fd5b015190505f8061051c565b5f80516020612abe8339815191528b52818b209250601f1984168b5b818110610836575090846001959493921061081e575b505050811b015f80516020612abe8339815191525561053d565b01515f1960f88460031b161c191690555f8080610804565b929360206001819287860151815501950193016107ee565b5f80516020612abe8339815191528b529091507f2ae08a8e29253f69ac5d979a101956ab8f8d9d7ded63fa7a83b16fc47648eab0601f840160051c810191602085106108be575b90601f859493920160051c01905b8181106108b05750610506565b8b81558493506001016108a3565b9091508190610895565b634e487b7160e01b89526041600452602489fd5b68ffffffffffffffffff191668010000000000000001175f80516020612b7e833981519152555f610474565b63f92ee8a960e01b8652600486fd5b9050155f61044b565b303b159150610443565b859150610439565b8380fd5b503461026c57602036600319011261026c5760043561010081101561033a5760209150600d0154604051908152f35b503461026c57602036600319011261026c57600435906040906109ae825161098d8482611e52565b600c81526b554e5354414b455f5a45524f60a01b6020820152841515611edc565b33815260056020528181209060028201906109f88254158551906109d28783611e52565b6014825273434f4f4c444f574e5f494e5f50524f475245535360601b6020830152611edc565b610a1585610a0533612480565b1015610a0f611f18565b90611edc565b610a1e3361255d565b3315610b5d57610b14578390335f525f80516020612ade833981519152602052835f2054828110610af9578290335f525f80516020612ade83398151915260205203845f2055815f80516020612b3e83398151915254035f80516020612b3e833981519152555f84518381527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60203392a3610abc60045442611f4a565b600184015555610acb33612611565b9055519081527fc606a9f55fc42cd3159fcfc8ddcd749dd21c4574cca0b68a5a65d5f984b6c42c60203392a2005b905063391434e360e21b5f523360045260245260445260645ffd5b610b5983805190610b258183611e52565b60118252704e4f545f5452414e534645525241424c4560781b60208301525162461bcd60e51b815291829160048301611dc4565b0390fd5b634b637e8f60e11b81526004819052602490fd5b503461026c57604036600319011261026c57610299610b8e611dee565b6024359061236c565b503461026c578060031936011261026c57600c546040516001600160a01b039091168152602090f35b503461026c578060031936011261026c5750610c01604051610be3604082611e52565b60058152640352e302e360dc1b602082015260405191829182611dc4565b0390f35b503461026c57602036600319011261026c577f3fa751adc7d77b89491ef674a701215e6998cd5d3d73b083cc69e15c85f0790d6020600435610c4561252a565b610c4d6126e4565b610c69610c58612331565b670de0b6b3a7640000831115611edc565b80600955604051908152a180f35b503461026c57604036600319011261026c57610c91611dee565b602435903361266b565b503461026c578060031936011261026c576020600354604051908152f35b503461026c57602036600319011261026c577fffcc630bf88a67ba7c8b27440787c31777ae923aee1e9bbd0127feea56da2cd06020600435610cf961252a565b610d016126e4565b80600355604051908152a180f35b503461026c57602036600319011261026c577f38a604e8a36592c14768cd04d016e8f0be9e11c140f1643cd8d4266f9e28e9e46020600435610d4f61252a565b610d576126e4565b610d62610c58612331565b80600a55604051908152a180f35b503461026c57602036600319011261026c577f3b919acbae27b7c60197957a5423655702d842fcc85c19c7631dc1c777f478f56020600435610db061252a565b80600455604051908152a180f35b503461026c578060031936011261026c5760405190805f80516020612afe8339815191525490610ded82611ea4565b8085529160018116908115610e8a5750600114610e21575b610c0184610e1581860382611e52565b60405191829182611dc4565b5f80516020612afe83398151915281527f46a2803e59a4de4e7a4c574b1243f25977ac4c77d5a1a4a609b5394cebb4a2aa939250905b808210610e7057509091508101602001610e1582610e05565b919260018160209254838588010152019101909291610e57565b60ff191660208087019190915292151560051b85019092019250610e159150839050610e05565b503461026c578060031936011261026c576020600654604051908152f35b503461026c57602036600319011261026c5760409081906001600160a01b03610ef6611dee565b16815261020d602052206001815491015482519182526020820152f35b503461026c578060031936011261026c57546040516001600160a01b039091168152602090f35b503461026c578060031936011261026c575f80516020612b1e833981519152546040516001600160a01b039091168152602090f35b503461026c57602036600319011261026c5760206103aa6004356121a1565b503461026c578060031936011261026c576001546040516001600160a01b039091168152602090f35b503461026c578060031936011261026c57610fd061252a565b5f80516020612b1e83398151915280546001600160a01b0319811690915581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b503461026c57602036600319011261026c576020906040906001600160a01b03611048611dee565b1681525f80516020612ade83398151915283522054604051908152f35b503461026c578060031936011261026c576002546040516001600160a01b039091168152602090f35b503461026c578060031936011261026c576020600954604051908152f35b503461026c578060031936011261026c577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031630036111045760206040515f80516020612b5e8339815191528152f35b63703e46dd60e11b8152600490fd5b50604036600319011261026c57611128611dee565b6024359067ffffffffffffffff82116113615736602383011215611361578160040135908361115683611e88565b936111646040519586611e52565b8385526020850193366024828401011161136157806024602093018637850101526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630811490811561133f575b50611330576111c761252a565b6040516352d1902d60e01b81526001600160a01b0382169390602081600481885afa8691816112f8575b5061120a57634c9c8ce360e01b86526004859052602486fd5b93845f80516020612b5e8339815191528796036112e65750823b156112d4575f80516020612b5e83398151915280546001600160a01b031916821790558491907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b8380a28051156112b9576112ad9382915190845af43d156112b1573d9161129183611e88565b9261129f6040519485611e52565b83523d85602085013e612a5f565b5080f35b606091612a5f565b50505050346112c55780f35b63b398979f60e01b8152600490fd5b634c9c8ce360e01b8552600452602484fd5b632a87526960e21b8652600452602485fd5b9091506020813d602011611328575b8161131460209383611e52565b810103126113245751905f6111f1565b8680fd5b3d9150611307565b63703e46dd60e11b8452600484fd5b5f80516020612b5e833981519152546001600160a01b0316141590505f6111ba565b8280fd5b503461026c578060031936011261026c5761137f3361255d565b61138833612611565b3382526005602052604082205580f35b503461026c57602036600319011261026c576004356040906113dd82516113bf8482611e52565b60098152684255524e5f5a45524f60b81b6020820152821515611edc565b600c5482516370a0823160e01b815233600482015290602090829060249082906001600160a01b03165afa80156115e85784906115b0575b61142b915082611423611f18565b911015611edc565b33835261020d602052611448600183852001541515610a0f612166565b6114513361255d565b33835261020d602052818320908154916114e28261146f8582611f78565b60018401936114cc61148386548094611f8b565b80986114c78b516114948d82611e52565b601b81527f494e53554646494349454e545f4c4f434b45445f42414c414e43450000000000602082015283831015611edc565b611f6b565b90556114c76114d9612166565b83831015611edc565b90556114f082600b54611f6b565b600b55600c546001600160a01b031691823b156115ac578351632770a7eb60e21b81523360048201526024810183905292849290869081908690604490829084905af180156115a057611585575b507f77e8c1608e07b1a4395fc907407d6244a50b86eead919f3ee61d8ce99e204bd6935082519182526020820152a161157633612611565b90338352600560205282205580f35b611593919350809294611e52565b610932578183918561153e565b508351903d90823e3d90fd5b8480fd5b506020813d6020116115e0575b816115ca60209383611e52565b810103126115dc5761142b9051611415565b5f80fd5b3d91506115bd565b50505051903d90823e3d90fd5b503461026c578060031936011261026c576020600a54604051908152f35b503461026c57602036600319011261026c5761162d611dee565b61163561252a565b600c549061167a60405161164a604082611e52565b60138152721053149150511657d253925512505312569151606a1b60208201526001600160a01b03841615611edc565b6702c68af0bb140000600a556001600160a01b03166001600160a01b03199190911617600c5580f35b503461026c578060031936011261026c576020600454604051908152f35b503461026c57602036600319011261026c5760206103aa6116e0611dee565b611fa9565b503461026c578060031936011261026c57602060405160128152f35b503461026c578060031936011261026c5760206040516a0c097ce7bc90715b34b9f160241b8152f35b503461026c578060031936011261026c576020600b54604051908152f35b503461026c57606036600319011261026c57611762611dee565b61176a611e04565b906044359261177882611e1a565b335f9081526020919091526040902054905f198210611799575b505061266b565b848210611805576001600160a01b038316156117f15733156117dd57506117bf82611e1a565b60018060a01b0333165f526020528360405f20910390555f80611792565b634a1406b160e11b81526004819052602490fd5b63e602df0560e01b81526004819052602490fd5b84606492637dc7a0d960e11b835233600452602452604452fd5b50346115dc5760403660031901126115dc5760043560409061186482516118468482611e52565b60098152684c4f434b5f5a45524f60b81b6020820152821515611edc565b61186d3361255d565b61187a81610a0533612480565b335f5261020d602052815f2061188f826121a1565b906118d4845161189f8682611e52565b601981527f42454c4f575f4d494e5f4449454d5f414d4f554e545f4f5554000000000000006020820152602435841015611edc565b600181016118e3838254611f4a565b90556118f0838254611f4a565b90556118fe82600b54611f4a565b600b55600c546001600160a01b0316803b156115dc5783516340c10f1960e01b815233600482015260248101839052905f908290604490829084905af180156119b95761197f575b507fd081a649ef2f9530490e16b4ff4d6e1f46460e01107d1ecf7c576cca3cf9d35791839182519182526020820152a161157633612611565b83919450916119af5f7fd081a649ef2f9530490e16b4ff4d6e1f46460e01107d1ecf7c576cca3cf9d35794611e52565b5f94915091611946565b84513d5f823e3d90fd5b346115dc575f3660031901126115dc5760205f80516020612b3e83398151915254604051908152f35b346115dc5760203660031901126115dc576001600160a01b03611a0d611dee565b165f526005602052606060405f20805490600260018201549101549060405192835260208301526040820152f35b346115dc575f3660031901126115dc57335f52600560205260405f2060028101905f825492816001604094611a958651611a758882611e52565b600b81526a2727afa1a7a7a62227aba760a91b6020820152881515611edc565b01611ace8154421015865190611aab8883611e52565b601182527021a7a7a62227aba72fa727aa2fa7ab22a960791b6020830152611edc565b55555f8054825163a9059cbb60e01b8152336004820152602481018590529160209183916044918391906001600160a01b03165af18015611b6857611b3b575b50519081527fc819022d26707b1e41f61d9adc9481024e27272d949e34a1dfec4d7abf168a3360203392a2005b611b5c9060203d602011611b61575b611b548183611e52565b810190611f00565b611b0e565b503d611b4a565b82513d5f823e3d90fd5b346115dc576140003660031901126115dc5736612004116115dc5736614004116115dc57611b9e61252a565b5f5b6101008110908115611be8578060051b91826004013582600d015515611bd45760019161200401358161010d015501611ba0565b634e487b7160e01b5f52603260045260245ffd5b7fa17dd66150b8ad4ee99c4d23c5cdbb44eaa4076e6e1d854c3005aa021511da5a6140006040516120006004823761200061200481830137a1005b346115dc5760403660031901126115dc57611c3c611dee565b602435903315611cb5576001600160a01b0316908115611ca257611c5f33611e1a565b825f526020528060405f20556040519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560203392a3602060405160018152f35b634a1406b160e11b5f525f60045260245ffd5b63e602df0560e01b5f525f60045260245ffd5b346115dc575f3660031901126115dc576040515f5f80516020612abe83398151915254611cf481611ea4565b8084529060018116908115611d865750600114611d1c575b610c0183610e1581850382611e52565b5f80516020612abe8339815191525f9081527f2ae08a8e29253f69ac5d979a101956ab8f8d9d7ded63fa7a83b16fc47648eab0939250905b808210611d6c57509091508101602001610e15611d0c565b919260018160209254838588010152019101909291611d54565b60ff191660208086019190915291151560051b84019091019150610e159050611d0c565b346115dc575f3660031901126115dc576020906008548152f35b602060409281835280519182918282860152018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b03821682036115dc57565b602435906001600160a01b03821682036115dc57565b6001600160a01b03165f9081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace016020526040902090565b90601f8019910116810190811067ffffffffffffffff821117611e7457604052565b634e487b7160e01b5f52604160045260245ffd5b67ffffffffffffffff8111611e7457601f01601f191660200190565b90600182811c92168015611ed2575b6020831014611ebe57565b634e487b7160e01b5f52602260045260245ffd5b91607f1691611eb3565b15611ee45750565b60405162461bcd60e51b8152908190610b599060048301611dc4565b908160209103126115dc575180151581036115dc5790565b60405190611f27604083611e52565b6014825273494e53554646494349454e545f42414c414e434560601b6020830152565b91908201809211611f5757565b634e487b7160e01b5f52601160045260245ffd5b91908203918211611f5757565b81810292918115918404141715611f5757565b8115611f95570490565b634e487b7160e01b5f52601260045260245ffd5b6006549060085490600754804211612024575b50806a0c097ce7bc90715b34b9f160241b61200781611fe961202197611fe461200e97612480565b611f78565b049260018060a01b031694855f5261020d60205260405f2054611f78565b0490611f4a565b905f52600560205260405f205490611f6b565b90565b61203d6120346120599242611f6b565b60035490611f78565b670de0b6b3a764000061205260095483611f78565b0490611f6b565b600b54906120678282611f78565b946120a461208e6120875f80516020612b3e833981519152548099611f8b565b8094611f6b565b92670de0b6b3a7640000612052600a5483611f78565b956a0c097ce7bc90715b34b9f160241b8302928084046a0c097ce7bc90715b34b9f160241b1490151715611f57576120ef926120e3856120e993611f6b565b90611f8b565b90611f4a565b93816120fc575b50611fbc565b6a0c097ce7bc90715b34b9f160241b81959493929502908082046a0c097ce7bc90715b34b9f160241b1490151715611f57576120076a0c097ce7bc90715b34b9f160241b611fe961215861200e966120e96120219a8597611f8b565b9697505050508192506120f6565b60405190612175604083611e52565b601e82527f494e53554646494349454e545f4f55545354414e44494e475f4449454d5300006020830152565b600c546040516318160ddd60e01b815290602090829060049082906001600160a01b03165afa908115612326575f916122f4575b50905f905f5b6101008110156122eb5780600d015493848110156122e157612203818361010d015496611f6b565b61220d8187611f78565b670de0b6b3a763ffff8101809111611f5757670de0b6b3a764000090048481106122b55750505050670de0b6b3a7640000810290808204670de0b6b3a76400001490151715611f5757612263926120e991611f8b565b5f5b61226c5790565b610b5960405161227d604082611e52565b6013815272494e53554646494349454e545f535550504c5960681b602082015260405162461bcd60e51b815291829160048301611dc4565b60019396506122d3906122cd836122d9959798611f4a565b96611f6b565b93611f4a565b935b016121db565b93506001906122db565b50909150612265565b90506020813d60201161231e575b8161230f60209383611e52565b810103126115dc57515f6121d5565b3d9150612302565b6040513d5f823e3d90fd5b60405190612340604083611e52565b601c82527f494e56414c49445f454d495353494f4e535f50455243454e54414745000000006020830152565b90604061239d815161237e8382611e52565b600a8152695354414b455f5a45524f60b01b6020820152831515611edc565b6123a68361255d565b6001600160a01b03831692831561246d576123c1838261298a565b5f805483516323b872dd60e01b8152336004820152306024820152604481018690529160209183916064918391906001600160a01b03165af18015612463577f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d94926020949261243692612448575b50612611565b855f5260058452815f205551908152a2565b61245e90863d8811611b6157611b548183611e52565b612430565b83513d5f823e3d90fd5b63ec442f0560e01b5f525f60045260245ffd5b6001600160a01b03165f9081525f80516020612ade833981519152602090815260408083205461020d9092529091205461202191611f6b565b6001600160a01b03168015612517575f80516020612b1e83398151915280546001600160a01b0319811683179091556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3565b631e4fbdf760e01b5f525f60045260245ffd5b5f80516020612b1e833981519152546001600160a01b0316330361254a57565b63118cdaa760e01b5f523360045260245ffd5b6125656126e4565b61256e81611fa9565b9081612578575050565b5f805460405163a9059cbb60e01b81526001600160a01b03848116600483015260248201869052909392602092859260449284929091165af1908115612326577fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a926020926125f6575b506040519384526001600160a01b031692a2565b61260c90833d8511611b6157611b548183611e52565b6125e2565b612021906a0c097ce7bc90715b34b9f160241b61263961263083612480565b60065490611f78565b049060018060a01b03165f5261020d6020526a0c097ce7bc90715b34b9f160241b61200760405f205460085490611f78565b9091506001600160a01b0316156126d1576001600160a01b03161561246d57610b5960405161269b604082611e52565b60118152704e4f545f5452414e534645525241424c4560781b602082015260405162461bcd60e51b815291829160048301611dc4565b634b637e8f60e11b5f525f60045260245ffd5b6007545f9080421115612790576126fe61270b9142611f6b565b4260075560035490611f78565b801561279057612731670de0b6b3a764000061272960095484611f78565b048092611f6b565b5f80516020612b3e8339815191525490600b5461276b6127646127548386611f6b565b9461275f8486611f78565b611f8b565b8093611f6b565b925f9380158015612916575b50505081612867575b505090806127fb575b5080612794575b5050565b81546001600160a01b031690813b15611361576040516340c10f1960e01b815230600482015260248101919091529082908290604490829084905af180156127f0576127de575050565b6127e9828092611e52565b61026c5750565b6040513d84823e3d90fd5b5f546002546001600160a01b0391821692911690823b156115dc576040516340c10f1960e01b81526001600160a01b039290921660048301526024820152905f908290604490829084905af1801561232657156127895761285f9192505f90611e52565b5f905f612789565b612887670de0b6b3a764000061287f600a5485611f78565b048093611f6b565b6a0c097ce7bc90715b34b9f160241b8102908082046a0c097ce7bc90715b34b9f160241b1490151715611f5757816128be91611f8b565b90816128d9575b50506128d19192611f4a565b905f80612780565b906128d1936129076a0c097ce7bc90715b34b9f160241b6128fd61290f9585611f78565b0492600854611f4a565b600855611f4a565b915f6128c5565b6a0c097ce7bc90715b34b9f160241b82029182046a0c097ce7bc90715b34b9f160241b141715611f57578161294a91611f8b565b9081612957575b80612777565b8194506129766a0c097ce7bc90715b34b9f160241b9161298093611f78565b0493600654611f4a565b6006555f80612951565b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60205f926129c7855f80516020612b3e83398151915254611f4a565b5f80516020612b3e833981519152556001600160a01b03169384158414612a1257805f80516020612b3e83398151915254035f80516020612b3e833981519152555b604051908152a3565b8484525f80516020612ade833981519152825260408420818154019055612a09565b60ff5f80516020612b7e8339815191525460401c1615612a5057565b631afcd79f60e31b5f5260045ffd5b90612a835750805115612a7457805190602001fd5b63d6bda27560e01b5f5260045ffd5b81511580612ab4575b612a94575090565b639996b31560e01b5f9081526001600160a01b0391909116600452602490fd5b50803b15612a8c56fe52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0352c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0052c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace049016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930052c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace02360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbcf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220695704119e311195d295c1502f2660e9bf456cb38a18c51c189ff67e3033794264736f6c634300081a0033","sourceMap":"266:17029:29:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6203:5:19;266:17029:29;6203:5:19;;;266:17029:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;266:17029:29;-1:-1:-1;;;266:17029:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1047:34:28;266:17029:29;;;;;;;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;2357:1:16;266:17029:29;;:::i;:::-;2303:62:16;;:::i;:::-;2357:1;:::i;:::-;266:17029:29;;;;;;;;;-1:-1:-1;;266:17029:29;;;;1921:26:28;266:17029:29;;;:::i;:::-;2303:62:16;;:::i;:::-;1886:20:28;717:21:25;;-1:-1:-1;;;;;;717:21:25;-1:-1:-1;;;;;266:17029:29;;;;717:21:25;;;;;266:17029:29;;;;;1921:26:28;266:17029:29;;;;;;;;;-1:-1:-1;;266:17029:29;;;;;;;1253:33;;;;;266:17029;;;1253:33;266:17029;;;;;;;;1253:33;;;;266:17029;;;;;;;-1:-1:-1;;266:17029:29;;;;;;:::i;:::-;4872:20:19;266:17029:29;;:::i;:::-;4872:20:19;;:::i;:::-;:29;266:17029:29;;;;;;-1:-1:-1;266:17029:29;;;;;-1:-1:-1;266:17029:29;;;;;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;;;;;;5762:21;5708:26;5723:10;5708:26;:::i;:::-;5723:10;5762:21;:::i;266:17029::-;;;;;;;-1:-1:-1;;266:17029:29;;;;;;:::i;:::-;;;:::i;:::-;;;-1:-1:-1;;;;;266:17029:29;;;;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;;;;4301:16:17;266:17029:29;;;;4726:16:17;;:34;;;;266:17029:29;4805:1:17;4790:16;:50;;;;266:17029:29;4855:13:17;:30;;;;266:17029:29;4851:91:17;;;-1:-1:-1;;266:17029:29;;4805:1:17;266:17029:29;-1:-1:-1;;;;;;;;;;;266:17029:29;;4979:67:17;;266:17029:29;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;266:17029:29;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;266:17029:29;;;;6893:76:17;;:::i;:::-;;;:::i;:::-;266:17029:29;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;4805:1:17;266:17029:29;11934:17:19;;;266:17029:29;2605:7:19;266:17029:29;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;4805:1:17;266:17029:29;11934:17:19;;;266:17029:29;2605:7:19;266:17029:29;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;6893:76:17;;:::i;:::-;;;:::i;:::-;6961:1;1370:10:28;6961:1:17;:::i;:::-;6893:76;;:::i;:::-;266:17029:29;;;;;;-1:-1:-1;;;;;717:21:25;;;;;;;;266:17029:29;;;;;;-1:-1:-1;;;;;717:21:25;;4805:1:17;717:21:25;;;4805:1:17;717:21:25;-1:-1:-1;;;;;717:21:25;;1494:20:28;717:21:25;;;1494:20:28;717:21:25;266:17029:29;2605:7:19;368:19:25;1638:6:28;266:17029:29;368:19:25;1676:15:28;1654:37;368:19:25;1716:4:28;8808:21:19;8804:91;;8933:5;1723:4:28;1716;8933:5:19;:::i;:::-;5066:101:17;;266:17029:29;;;5066:101:17;266:17029:29;5142:14:17;266:17029:29;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;-1:-1:-1;;;;;;;;;;;266:17029:29;;4805:1:17;266:17029:29;;5142:14:17;266:17029:29;;8804:91:19;-1:-1:-1;;;8852:32:19;;266:17029:29;;;;;8852:32:19;;266:17029:29;;;;-1:-1:-1;266:17029:29;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;;;-1:-1:-1;;;266:17029:29;;;;;;;;;;;;4805:1:17;266:17029:29;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;;;11934:17:19;;266:17029:29;;2605:7:19;266:17029:29;;;;;;;;;;;;;;;;4805:1:17;266:17029:29;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;-1:-1:-1;266:17029:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4805:1:17;266:17029:29;;;;;;-1:-1:-1;266:17029:29;;;;;-1:-1:-1;;;266:17029:29;;;;;;;;;;;;-1:-1:-1;266:17029:29;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;;;-1:-1:-1;;;266:17029:29;;;;;;;;;;;;4805:1:17;266:17029:29;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;;;11934:17:19;;266:17029:29;;2605:7:19;266:17029:29;;;;;;;;;;;;;;;;4805:1:17;266:17029:29;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;-1:-1:-1;266:17029:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4805:1:17;266:17029:29;;;;;;-1:-1:-1;266:17029:29;;;;;-1:-1:-1;;;266:17029:29;;;;;;;;4979:67:17;-1:-1:-1;;266:17029:29;;;-1:-1:-1;;;;;;;;;;;266:17029:29;4979:67:17;;;4851:91;-1:-1:-1;;;4908:23:17;;266:17029:29;4908:23:17;;4855:30;4872:13;;;4855:30;;;4790:50;4818:4;4810:25;:30;;-1:-1:-1;4790:50:17;;4726:34;;;-1:-1:-1;4726:34:17;;266:17029:29;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;;;;1112:30;;;;;266:17029;;;1112:30;266:17029;;;;;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;;;;;;4726:40;266:17029;;;;;;:::i;:::-;;;;-1:-1:-1;;;266:17029:29;;;;4734:10;;;4726:40;:::i;:::-;4813:10;266:17029;;4806:6;266:17029;;;;;4842:24;;;;266:17029;4834:67;266:17029;;4842:29;266:17029;;;;;;;:::i;:::-;183:14:25;266:17029:29;;-1:-1:-1;;;266:17029:29;183:14:25;;;4834:67:29;:::i;:::-;4911:77;4813:10;4919:29;4813:10;4919:29;:::i;:::-;:39;;246:11:25;;:::i;:::-;4911:77:29;;:::i;:::-;5006:10;4813;5006;:::i;:::-;4813;9334:21:19;9330:89;;2510:76:28;;7363:546:19;;4813:10:29;-1:-1:-1;266:17029:29;-1:-1:-1;;;;;;;;;;;266:17029:29;;;-1:-1:-1;266:17029:29;;7614:19:19;;;7610:115;;4813:10:29;;;-1:-1:-1;266:17029:29;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;-1:-1:-1;266:17029:29;368:19:25;266:17029:29;-1:-1:-1;;;;;;;;;;;266:17029:29;;-1:-1:-1;;;;;;;;;;;368:19:25;-1:-1:-1;266:17029:29;;;;;8363:25:19;266:17029:29;4813:10;8363:25:19;;5087:34:29;266:17029;;5087:15;:34;:::i;:::-;266:17029;5063:21;;368:19:25;;5197:25:29;4813:10;5197:25;:::i;:::-;368:19:25;;266:17029:29;;;;5238:36;266:17029;4813:10;5238:36;;266:17029;7610:115:19;7660:50;;;;;-1:-1:-1;7660:50:19;4813:10:29;266:17029;;;;;;;-1:-1:-1;7660:50:19;2510:76:28;2554:32;266:17029:29;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;266:17029:29;;;;;-1:-1:-1;;;2554:32:28;;266:17029:29;;;;2554:32:28;;;:::i;:::-;;;;9330:89:19;-1:-1:-1;;;9378:30:19;;266:17029:29;;;;;;9378:30:19;266:17029:29;;;;;;;-1:-1:-1;;266:17029:29;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;;873:16;266:17029;;;-1:-1:-1;;;;;266:17029:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;266:17029:29;;;;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;2519:60;266:17029;;;2303:62:16;;:::i;:::-;2164:422:29;;:::i;:::-;2360:80;266:17029;;:::i;:::-;2398:4;2368:34;;;2360:80;:::i;:::-;368:19:25;2450:54:29;368:19:25;266:17029:29;;;;;2519:60;266:17029;;;;;;;;;-1:-1:-1;;266:17029:29;;;;;;:::i;:::-;;;966:10:20;;4621:5:19;:::i;266:17029:29:-;;;;;;;;;;;;;;760:36:28;266:17029:29;;;;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;2149:34:28;266:17029:29;;;2303:62:16;;:::i;:::-;1989:201:28;;:::i;:::-;368:19:25;2097:37:28;368:19:25;266:17029:29;;;;;2149:34:28;266:17029:29;;;;;;;;;-1:-1:-1;;266:17029:29;;;;3304:70;266:17029;;;2303:62:16;;:::i;:::-;2929:452:29;;:::i;:::-;3135:80;266:17029;;:::i;3135:80::-;368:19:25;3225:64:29;368:19:25;266:17029:29;;;;;3304:70;266:17029;;;;;;;;;-1:-1:-1;;266:17029:29;;;;2361:42:28;266:17029:29;;;2303:62:16;;:::i;:::-;368:19:25;266:17029:29;368:19:25;266:17029:29;;;;;2361:42:28;266:17029:29;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;;-1:-1:-1;266:17029:29;;;;;;;-1:-1:-1;266:17029:29;;-1:-1:-1;266:17029:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;;;;;;;;;;;;;;;;;-1:-1:-1;266:17029:29;;-1:-1:-1;266:17029:29;;-1:-1:-1;266:17029:29;;;;;;;;;;;;;;;;1009:32:28;266:17029:29;;;;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;;;;;-1:-1:-1;;;;;266:17029:29;;:::i;:::-;;;;1576:55;266:17029;;;1576:55;266:17029;;1576:55;;266:17029;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;266:17029:29;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;-1:-1:-1;;;;;266:17029:29;;;;;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;266:17029:29;;;;;;;;;;;;;;;;;;;;;2303:62:16;;:::i;:::-;-1:-1:-1;;;;;;;;;;;266:17029:29;;-1:-1:-1;;;;;;717:21:25;;;;;266:17029:29;;-1:-1:-1;;;;;266:17029:29;3975:40:16;266:17029:29;;3975:40:16;266:17029:29;;;;;;;;;-1:-1:-1;;266:17029:29;;;;;;;;-1:-1:-1;;;;;266:17029:29;;:::i;:::-;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;;;;;;;;;;;;;;;;;;;;731:23:28;266:17029:29;;;-1:-1:-1;;;;;266:17029:29;;;;;;;;;;;;;;;;;;;;;;497:40;266:17029;;;;;;;;;;;;;;;;;;;;5120:6:18;-1:-1:-1;;;;;266:17029:29;5111:4:18;5103:23;5099:145;;266:17029:29;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;5099:145:18;-1:-1:-1;;;5204:29:18;;266:17029:29;;5204:29:18;266:17029:29;-1:-1:-1;266:17029:29;;-1:-1:-1;;266:17029:29;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4697:6:18;266:17029:29;4688:4:18;4680:23;;;:120;;;;266:17029:29;4663:251:18;;;2303:62:16;;:::i;:::-;266:17029:29;;-1:-1:-1;;;6161:52:18;;-1:-1:-1;;;;;266:17029:29;;;;;;;;;6161:52:18;;;;;;;266:17029:29;-1:-1:-1;6157:437:18;;-1:-1:-1;;;6523:60:18;;266:17029:29;;;;;1810:47:5;6523:60:18;6157:437;6255:40;;-1:-1:-1;;;;;;;;;;;6255:40:18;;;6251:120;;1753:29:5;;;:34;1749:119;;-1:-1:-1;;;;;;;;;;;717:21:25;;-1:-1:-1;;;;;;717:21:25;;;;;;;;2412:36:5;717:21:25;;2412:36:5;266:17029:29;;2463:15:5;:11;;4091:55:10;4049:25;;;;;;;;266:17029:29;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;4091:55:10;:::i;:::-;;266:17029:29;;;;;4091:55:10;:::i;2459:148:5:-;6168:9;;;;;6164:70;;266:17029:29;;6164:70:5;-1:-1:-1;;;6204:19:5;;266:17029:29;;6204:19:5;1749:119;-1:-1:-1;;;1810:47:5;;266:17029:29;;;1810:47:5;;6251:120:18;-1:-1:-1;;;6322:34:18;;266:17029:29;;;6322:34:18;;6161:52;;;;266:17029:29;6161:52:18;;266:17029:29;6161:52:18;;;;;;266:17029:29;6161:52:18;;;:::i;:::-;;;266:17029:29;;;;;6161:52:18;;;;266:17029:29;;;;6161:52:18;;;-1:-1:-1;6161:52:18;;4663:251;-1:-1:-1;;;4874:29:18;;266:17029:29;4874:29:18;;4680:120;-1:-1:-1;;;;;;;;;;;266:17029:29;-1:-1:-1;;;;;266:17029:29;4758:42:18;;;-1:-1:-1;4680:120:18;;;266:17029:29;;;;;;;;;;;;;;;;;5365:10;;;:::i;:::-;5418:25;5365:10;5418:25;:::i;:::-;5365:10;266:17029;;5386:6;266:17029;;;;;368:19:25;266:17029:29;;;;;;;;;-1:-1:-1;;266:17029:29;;;;;;;;12546:47;266:17029;;;;;;:::i;:::-;;;;-1:-1:-1;;;266:17029:29;;;;12554:20;;;12546:47;:::i;:::-;12629:4;1276:27:25;266:17029:29;;-1:-1:-1;;;12629:26:29;;12644:10;266:17029;12629:26;;266:17029;;;;;;12629:26;;266:17029;;-1:-1:-1;;;;;266:17029:29;12629:26;;;;;;;;;;266:17029;12665:73;246:11:25;;;;;:::i;:::-;12673:35:29;;;12665:73;:::i;:::-;12644:10;266:17029;;12756:12;266:17029;;12748:98;266:17029;;;;12756:46;266:17029;12756:50;;1125:11:25;;:::i;12748:98:29:-;12864:10;12644;12864;:::i;:::-;12644;266:17029;;12756:12;266:17029;;;;;;;;13079:47;13473:53;13079:47;;;;;:::i;:::-;266:17029;13129:33;;266:17029;13308:44;13079:83;266:17029;;13079:83;;;:::i;:::-;266:17029;;13172:89;266:17029;;;;;;:::i;:::-;1038:32:25;266:17029:29;;1038:32:25;266:17029:29;1038:32:25;;;13180:44:29;;;;13172:89;:::i;:::-;13308:44;:::i;:::-;368:19:25;;13362:101:29;1125:11:25;;:::i;:::-;13370:53:29;;;;13362:101;:::i;13473:53::-;368:19:25;;13536:36:29;266:17029;13536:36;266:17029;13536:36;:::i;:::-;;368:19:25;12629:4:29;1276:27:25;-1:-1:-1;;;;;266:17029:29;;13614:39;;;;;266:17029;;-1:-1:-1;;;13614:39:29;;12644:10;266:17029;13614:39;;266:17029;368:19:25;;;266:17029:29;;;;;;;;;;;;;368:19:25;;266:17029:29;;;;13614:39;;;;;;;;266:17029;;13740:42;266:17029;;;;;;;;;;;13740:42;13824:25;12644:10;13824:25;:::i;:::-;12644:10;;266:17029;;13792:6;266:17029;;;;368:19:25;266:17029:29;;13614:39;;;;;;;;;:::i;:::-;266:17029;;13614:39;;;;;;;266:17029;;;368:19:25;;;;;;;;13614:39:29;266:17029;;;12629:26;;266:17029;12629:26;;266:17029;12629:26;;;;;;1125:11:25;12629:26:29;;;:::i;:::-;;;1125:11:25;;;;12665:73:29;1125:11:25;;12629:26:29;;1125:11:25;-1:-1:-1;266:17029:29;;12629:26;;;-1:-1:-1;12629:26:29;;;266:17029;;;;368:19:25;;;;;;;;266:17029:29;;;;;;;;;;;;;;685:50;266:17029;;;;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;;;:::i;:::-;2303:62:16;;:::i;:::-;1909:4:29;1276:27:25;266:17029:29;1893:64;266:17029;;;;;;:::i;:::-;;;;-1:-1:-1;;;266:17029:29;;;;-1:-1:-1;;;;;266:17029:29;;1901:27;1893:64;:::i;:::-;2005:4;1967:42;368:19:25;-1:-1:-1;;;;;266:17029:29;-1:-1:-1;;;;;;717:21:25;;;;;1909:4:29;717:21:25;266:17029:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;;3832:2:19;266:17029:29;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;266:17029:29;;;;;;;;;;;;;;;;;804:35;266:17029;;;;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;;;:::i;:::-;;;:::i;:::-;;;;4872:20:19;;;;:::i;:::-;966:10:20;-1:-1:-1;266:17029:29;;;;;;;;;;;;;-1:-1:-1;;11915:36:19;;11911:309;;266:17029:29;6203:5:19;;;:::i;11911:309::-;11971:24;;;11967:130;;-1:-1:-1;;;;;266:17029:29;;11146:19:19;11142:89;;966:10:20;11244:21:19;11240:90;;11339:20;;;;:::i;:::-;266:17029:29;;;;;966:10:20;266:17029:29;-1:-1:-1;266:17029:29;;;;;-1:-1:-1;266:17029:29;;;368:19:25;;11911:309:19;;;;11240:90;-1:-1:-1;;;11288:31:19;;266:17029:29;;;;;;11288:31:19;11142:89;-1:-1:-1;;;11188:32:19;;266:17029:29;;;;;;11188:32:19;11967:130;12022:60;266:17029:29;12022:60:19;;;;;;966:10:20;266:17029:29;;;;;;12022:60:19;266:17029:29;;;;;;;-1:-1:-1;;266:17029:29;;;;;;;;11531:47;266:17029;;;;;;:::i;:::-;;;;-1:-1:-1;;;266:17029:29;;;;11539:20;;;11531:47;:::i;:::-;11595:10;;;:::i;:::-;11714:73;11595:10;11675:29;11595:10;11675:29;:::i;11714:73::-;11595:10;266:17029;;11836:12;266:17029;;;;;11894:34;;;:::i;:::-;266:17029;11938:65;266:17029;;;;;;:::i;:::-;793:22:25;266:17029:29;;793:22:25;266:17029:29;793:22:25;;;266:17029:29;;11946:33;;;11938:65;:::i;:::-;266:17029;12057:33;;:50;266:17029;;;12057:50;:::i;:::-;368:19:25;;12117:48:29;266:17029;;;12117:48;:::i;:::-;368:19:25;;12175:40:29;266:17029;12175:40;266:17029;12175:40;:::i;:::-;;368:19:25;12226:4:29;1276:27:25;-1:-1:-1;;;;;266:17029:29;12226:36;;;;;266:17029;;-1:-1:-1;;;12226:36:29;;11595:10;266:17029;12226:36;;266:17029;368:19:25;;;266:17029:29;;;;-1:-1:-1;;266:17029:29;;368:19:25;;266:17029:29;;-1:-1:-1;;12226:36:29;;;;;;;;266:17029;;12277:43;266:17029;;;;;;;;;;;;12277:43;12362:25;11595:10;12362:25;:::i;12226:36::-;;;;;;;266:17029;12277:43;12226:36;;:::i;:::-;266:17029;12226:36;;;;;;;266:17029;;368:19:25;266:17029:29;368:19:25;;;;;266:17029:29;;;;;;-1:-1:-1;;266:17029:29;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;-1:-1:-1;;;;;266:17029:29;;:::i;:::-;;;;959:43:28;266:17029:29;;;;;;;;959:43:28;;;;;266:17029:29;959:43:28;;266:17029:29;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;3979:10:28;266:17029:29;;3972:6:28;266:17029:29;;;;;4008:24:28;;;266:17029:29;;;;;;4094:21:28;266:17029:29;;4000:57:28;266:17029:29;;;;;;:::i;:::-;;;;-1:-1:-1;;;266:17029:29;;;;4008:28:28;;;4000:57;:::i;:::-;4094:21;4067:75;266:17029:29;;4075:15:28;:40;;266:17029:29;;;;;;;:::i;:::-;306:13:25;266:17029:29;;-1:-1:-1;;;266:17029:29;306:13:25;;;4067:75:28;:::i;:::-;368:19:25;;266:17029:29;368:19:25;;266:17029:29;;-1:-1:-1;;;4278:35:28;;3979:10;266:17029:29;4278:35:28;;266:17029:29;368:19:25;;;266:17029:29;;;;;;;;368:19:25;;266:17029:29;;;-1:-1:-1;;;;;266:17029:29;4278:35:28;;;;;;;;266:17029:29;;;;;;4329:36:28;266:17029:29;3979:10:28;4329:36;;266:17029:29;4278:35:28;;;266:17029:29;4278:35:28;266:17029:29;4278:35:28;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;266:17029:29;;368:19:25;266:17029:29;368:19:25;;;;;266:17029:29;;;;;;-1:-1:-1;;266:17029:29;;;;;;;;;;;;;;2303:62:16;;:::i;:::-;266:17029:29;3857:3;266:17029;3833:22;;;;;;;266:17029;;;;;;;;;3876:10;266:17029;;;;;;;;;;;3920:13;266:17029;;;3818:13;;266:17029;;;;;;;;;;;;3833:22;3982:49;266:17029;;;;;;;;;;;;;3982:49;266:17029;;;;;;;-1:-1:-1;;266:17029:29;;;;;;:::i;:::-;;;966:10:20;;11146:19:19;11142:89;;-1:-1:-1;;;;;266:17029:29;;11244:21:19;;11240:90;;11339:20;966:10:20;11339:20:19;:::i;:::-;266:17029:29;;;;;;;;;368:19:25;266:17029:29;;;;;11420:31:19;266:17029:29;966:10:20;11420:31:19;;266:17029:29;;;;;;;11240:90:19;11288:31;;;266:17029:29;11288:31:19;266:17029:29;;;;;11288:31:19;11142:89;11188:32;;;266:17029:29;11188:32:19;266:17029:29;;;;;11188:32:19;266:17029:29;;;;;;-1:-1:-1;;266:17029:29;;;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;;;;-1:-1:-1;266:17029:29;;;;;;;-1:-1:-1;266:17029:29;;-1:-1:-1;266:17029:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;;;;;;;;;;;;;;;;;-1:-1:-1;266:17029:29;;-1:-1:-1;266:17029:29;;;;;;;;-1:-1:-1;;266:17029:29;;;;;;388:38;266:17029;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;266:17029:29;;;;:::o;:::-;;;;-1:-1:-1;;;;;266:17029:29;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;266:17029:29;;;;;;:::o;:::-;-1:-1:-1;;;;;266:17029:29;;;;;4872:13:19;266:17029:29;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;266:17029:29;;;;;-1:-1:-1;266:17029:29;;;;;;;;;-1:-1:-1;;266:17029:29;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;306:13:25;;;;;:::o;:::-;266:17029:29;;-1:-1:-1;;;306:13:25;;266:17029:29;;;306:13:25;;;;;;:::i;368:19::-;;;;;;;;;;266:17029:29;;;368:19:25;;;;;:::o;246:11::-;266:17029:29;;;;;;;:::i;:::-;246:11:25;266:17029:29;;-1:-1:-1;;;246:11:25;;;;:::o;1276:27::-;;;;;;;;;;:::o;:::-;266:17029:29;;;1276:27:25;;;;;;;;266:17029:29;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::o;:::-;;;;;;;;;;;;5825:2250;5942:17;266:17029;;6004:23;266:17029;;6103:19;266:17029;6059:15;;6089:33;6085:1660;;5825:2250;7782:24;;-1:-1:-1;;;7902:63:29;7782:24;:45;8002:66;7782:24;;8002:39;7782:24;;:::i;:::-;:45;:::i;:::-;266:17029;;;;;;;;;;-1:-1:-1;266:17029:29;7902:12;266:17029;;;-1:-1:-1;266:17029:29;;7902:63;:::i;:::-;266:17029;8002:39;;:::i;:::-;266:17029;-1:-1:-1;266:17029:29;8044:6;266:17029;;;-1:-1:-1;266:17029:29;;8002:66;;:::i;:::-;5825:2250;:::o;6085:1660::-;6276:35;6212:33;6625:22;6059:15;;6212:33;:::i;:::-;6290:21;266:17029;6276:35;;:::i;:::-;6580:4;6546:30;8248:25;266:17029;6546:30;;:::i;:::-;266:17029;6625:22;;:::i;:::-;6788:20;266:17029;6769:39;;;;;:::i;:::-;266:17029;7163:41;6871:38;6768:57;-1:-1:-1;;;;;;;;;;;266:17029:29;6768:57;;;:::i;:::-;6871:38;;;:::i;:::-;266:17029;6580:4;7044:57;7066:35;266:17029;7044:57;;:::i;7163:41::-;266:17029;-1:-1:-1;;;266:17029:29;;;;;;-1:-1:-1;;;266:17029:29;;;;;;;7413:105;7481:36;;;7435:83;7481:36;;:::i;:::-;7435:83;;:::i;:::-;7413:105;;:::i;:::-;7536:24;;7532:203;;6085:1660;;;;7532:203;-1:-1:-1;;;266:17029:29;;;;;;;;;;;-1:-1:-1;;;266:17029:29;;;;;;;7902:63;-1:-1:-1;;;7782:45:29;7619:101;8002:39;7647:73;;8002:66;7647:73;;;;:::i;7619:101::-;7532:203;;;;;;;;;;;1125:11:25;266:17029:29;;;;;;;:::i;:::-;1125:11:25;266:17029:29;;1125:11:25;266:17029:29;1125:11:25;;;:::o;9402:1816:29:-;9522:4;1276:27:25;266:17029:29;;-1:-1:-1;;;9522:18:29;;266:17029;9522:18;;266:17029;;9522:18;;266:17029;;-1:-1:-1;;;;;266:17029:29;9522:18;;;;;;;-1:-1:-1;9522:18:29;;;9402:1816;9494:46;9550:25;-1:-1:-1;9585:46:29;-1:-1:-1;9715:3:29;9710;9706:7;;;;;266:17029;9849:10;266:17029;;9828:34;;;;;9824:81;;10190:36;266:17029;;9998:13;266:17029;;10190:36;;:::i;:::-;10341:39;;;;:::i;:::-;10385:8;1276:27:25;;;;;;;10398:4:29;266:17029;;10421:44;;;;;266:17029;;;;10398:4;266:17029;;;;;;10398:4;266:17029;;;;;;;10565:60;10582:43;;;;:::i;10565:60::-;-1:-1:-1;9686:1303:29;10999:182;;9402:1816;:::o;10999:182::-;11136:34;266:17029;;;;;;:::i;:::-;;;;-1:-1:-1;;;9522:18:29;266:17029;;;;;-1:-1:-1;;;11136:34:29;;266:17029;;;9522:18;11136:34;;;:::i;10417:562::-;266:17029;10802:39;;;10859:44;10802:39;;;10921:43;10802:39;;;;:::i;:::-;10859:44;;:::i;:::-;10921:43;;:::i;:::-;10417:562;9691:13;266:17029;9691:13;;9824:81;9882:8;;266:17029;9882:8;;;9706:7;;;;;;;9522:18;;;;;;;;;;;;;1125:11:25;9522:18:29;;;:::i;:::-;;;1125:11:25;;;;;9522:18:29;;;;;;-1:-1:-1;9522:18:29;;;266:17029;;368:19:25;-1:-1:-1;368:19:25;;;;;266:17029:29;;;;;;;;:::i;:::-;;;;;;;;;:::o;4255:360::-;;266:17029;4339:38;266:17029;;;;;;:::i;:::-;;;;-1:-1:-1;;;266:17029:29;;;;4347:10;;;4339:38;:::i;:::-;4394:9;;;:::i;:::-;-1:-1:-1;;;;;266:17029:29;;;8808:21:19;;8804:91;;8933:5;;;;:::i;:::-;4356:1:29;368:19:25;;266:17029:29;;-1:-1:-1;;;4449:54:29;;4469:10;4449:54;;;266:17029;4489:4;122:12:25;;;266:17029:29;122:12:25;;;266:17029:29;;;;;;;;4449:54;;266:17029;;4356:1;-1:-1:-1;;;;;266:17029:29;4449:54;;;;;;4583:25;4449:54;;266:17029;4449:54;;4544:24;4449:54;;;4255:360;4544:24;;:::i;:::-;266:17029;4356:1;266:17029;4513:6;266:17029;;;4356:1;266:17029;368:19:25;266:17029:29;;;;4583:25;4255:360::o;4449:54::-;;;;;;;;;;;;;:::i;:::-;;;;266:17029;;368:19:25;4356:1:29;368:19:25;;;;;8804:91:19;8852:32;;;4356:1:29;8852:32:19;4356:1:29;8852:32:19;266:17029:29;;4356:1;8852:32:19;14125:148:29;-1:-1:-1;;;;;266:17029:29;-1:-1:-1;266:17029:29;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;;;;;;14231:12;266:17029;;;;;;;14213:53;;;:::i;3405:215:16:-;-1:-1:-1;;;;;266:17029:29;3489:22:16;;3485:91;;-1:-1:-1;;;;;;;;;;;266:17029:29;;-1:-1:-1;;;;;;717:21:25;;;;;;;-1:-1:-1;;;;;266:17029:29;3975:40:16;-1:-1:-1;;3975:40:16;3405:215::o;3485:91::-;3534:31;;;3509:1;3534:31;3509:1;3534:31;266:17029:29;;3509:1:16;3534:31;2658:162;-1:-1:-1;;;;;;;;;;;266:17029:29;-1:-1:-1;;;;;266:17029:29;966:10:20;2717:23:16;2713:101;;2658:162::o;2713:101::-;2763:40;;;-1:-1:-1;2763:40:16;966:10:20;2763:40:16;266:17029:29;;-1:-1:-1;2763:40:16;14458:264:29;;;:::i;:::-;14573:20;;;:::i;:::-;14607:11;;14603:113;;14458:264;;:::o;14603:113::-;14617:1;368:19:25;;266:17029:29;;-1:-1:-1;;;14634:30:29;;-1:-1:-1;;;;;266:17029:29;;;14634:30;;;266:17029;368:19:25;;;266:17029:29;;;;;;14634:30;;266:17029;;368:19:25;;266:17029:29;;14617:1;;266:17029;14634:30;;;;;;;14683:22;14634:30;;;;;14603:113;-1:-1:-1;266:17029:29;;;;;-1:-1:-1;;;;;266:17029:29;;14683:22;14458:264::o;14634:30::-;;;;;;;;;;;;;:::i;:::-;;;8420:370;8744:39;8420:370;-1:-1:-1;;;8526:44:29;:24;;;:::i;:::-;8553:17;266:17029;8526:44;;:::i;:::-;266:17029;;;;;;;;-1:-1:-1;266:17029:29;8645:12;266:17029;;-1:-1:-1;;;8645:62:29;266:17029;-1:-1:-1;266:17029:29;;8684:23;266:17029;8645:62;;:::i;6610:300:19:-;;;-1:-1:-1;;;;;;266:17029:29;6693:18:19;6689:86;;-1:-1:-1;;;;;266:17029:29;6788:16:19;6784:86;;2554:32:28;266:17029:29;;;;;;:::i;:::-;;;;-1:-1:-1;;;266:17029:29;;;;;;-1:-1:-1;;;2554:32:28;;266:17029:29;;;2554:32:28;;;;:::i;6689:86:19:-;9378:30;;;6709:1;6734:30;6709:1;6734:30;266:17029:29;;6709:1:19;6734:30;14728:2565:29;14861:19;266:17029;-1:-1:-1;14817:15:29;;;14846:34;;14842:47;;14921:33;15025:35;14817:15;;14921:33;:::i;:::-;14817:15;14861:19;368::25;15039:21:29;266:17029;15025:35;;:::i;:::-;15074:11;;15070:24;;15204:22;15163:4;15129:30;8248:25;266:17029;15129:30;;:::i;:::-;266:17029;15204:22;;;:::i;:::-;-1:-1:-1;;;;;;;;;;;266:17029:29;;15584:20;266:17029;15742:38;15644:56;15569:35;;;;:::i;:::-;15645:39;;;;;:::i;:::-;15644:56;:::i;:::-;15742:38;;;:::i;:::-;15790:36;-1:-1:-1;15841:25:29;;;;;15837:416;;14728:2565;16267:23;;;;16263:809;;14728:2565;17086:17;;;;17082:84;;14728:2565;17180:28;;17176:111;;14728:2565;;;:::o;17176:111::-;368:19:25;;-1:-1:-1;;;;;266:17029:29;;17224:52;;;;;266:17029;;-1:-1:-1;;;17224:52:29;;17244:4;17224:52;;;266:17029;368:19:25;;;266:17029:29;;;;;;;;;368:19:25;;266:17029:29;;;;17224:52;;;;;;;;14728:2565;;:::o;17224:52::-;;;;;;:::i;:::-;266:17029;;14728:2565;:::o;17224:52::-;266:17029;;368:19:25;266:17029:29;;368:19:25;;;;17082:84:29;-1:-1:-1;368:19:25;4032:14:19;266:17029:29;-1:-1:-1;;;;;266:17029:29;;;;;;;17119:36;;;;;266:17029;;-1:-1:-1;;;17119:36:29;;-1:-1:-1;;;;;266:17029:29;;;;17119:36;;;266:17029;368:19:25;;;266:17029:29;;-1:-1:-1;;266:17029:29;;368:19:25;;266:17029:29;;-1:-1:-1;;17119:36:29;;;;;;;17082:84;17119:36;;;;;-1:-1:-1;17119:36:29;;:::i;:::-;-1:-1:-1;17119:36:29;;17082:84;;16263:809;16526:41;15163:4;16407:57;16429:35;266:17029;16407:57;;:::i;:::-;266:17029;16526:41;;;:::i;:::-;-1:-1:-1;;;266:17029:29;;;;;;-1:-1:-1;;;266:17029:29;;;;;;;16615:73;;;;:::i;:::-;16706:27;;16702:310;;16263:809;17025:36;;;;;;:::i;:::-;16263:809;;;;;16702:310;16791:46;17025:36;16791:46;16875:50;-1:-1:-1;;;16791:46:29;16943:54;16791:46;;;:::i;:::-;266:17029;;16875:50;266:17029;16875:50;:::i;:::-;;368:19:25;16943:54:29;:::i;:::-;16702:310;;;;15837:416;-1:-1:-1;;;266:17029:29;;;;;-1:-1:-1;;;266:17029:29;;;;;15910:64;;;;:::i;:::-;15992:21;;15988:255;;15837:416;;;;15988:255;16056:39;;;;-1:-1:-1;;;16056:39:29;16190:38;16056:39;;:::i;:::-;266:17029;;16190:38;266:17029;16190:38;:::i;:::-;;368:19:25;15988:255:29;;;;2416:217:28;8363:25:19;266:17029:29;-1:-1:-1;2416:217:28;7503:23:19;266:17029:29;-1:-1:-1;;;;;;;;;;;266:17029:29;7503:23:19;:::i;:::-;-1:-1:-1;;;;;;;;;;;368:19:25;-1:-1:-1;;;;;266:17029:29;;7923:16:19;;266:17029:29;;;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;-1:-1:-1;;;;;;;;;;;368:19:25;7919:429:19;266:17029:29;;;;;8363:25:19;2416:217:28:o;7919:429:19:-;266:17029:29;;;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;;;;;;368:19:25;;7919:429:19;;7084:141:17;266:17029:29;-1:-1:-1;;;;;;;;;;;266:17029:29;;;;7150:18:17;7146:73;;7084:141::o;7146:73::-;7191:17;;;-1:-1:-1;7191:17:17;;-1:-1:-1;7191:17:17;4421:582:10;;4593:8;;-1:-1:-1;266:17029:29;;5674:21:10;:17;;5799:158;;;;;;5670:354;5994:19;;;5694:1;5994:19;;5694:1;5994:19;4589:408;266:17029:29;;4841:22:10;:49;;;4589:408;4837:119;;4969:17;;:::o;4837:119::-;-1:-1:-1;;;4862:1:10;4917:24;;;-1:-1:-1;;;;;266:17029:29;;;;4917:24:10;266:17029:29;;;4917:24:10;4841:49;4867:18;;;:23;4841:49;","linkReferences":{},"immutableReferences":{"2409":[{"start":4287,"length":32},{"start":4495,"length":32}]}}}}}}},"signatures":{"function":[{"signature":"accRewardPerShare()","signatureHash4":"0x939d6237","signatureHash32":"0x939d623768393f373f98dce0e1ffabb1e23c3db6a8826acd23897eef7a1b845d"},{"signature":"accRewardPerShareLocked()","signatureHash4":"0x0342063b","signatureHash32":"0x0342063bccb2b5b7f3af7b9fdef94bee67a79983d75a1abbe1aa094b26990213"},{"signature":"ACC_REWARD_SCALE()","signatureHash4":"0x25fae12b","signatureHash32":"0x25fae12b5808af7c86feaf3c87488ef2bcb153dd44fb9ec9e19ca73d6d456354"},{"signature":"allowance(address,address)","signatureHash4":"0xdd62ed3e","signatureHash32":"0xdd62ed3e90e97b3d417db9c0c7522647811bafca5afc6694f143588d255fdfb4"},{"signature":"approve(address,uint256)","signatureHash4":"0x095ea7b3","signatureHash32":"0x095ea7b334ae44009aa867bfb386f5c3b4b443ac6f0ee573fa91c4608fbadfba"},{"signature":"balanceOf(address)","signatureHash4":"0x70a08231","signatureHash32":"0x70a08231b98ef4ca268c9cc3f6b4590e4bfec28280db06bb5d45e689f2a360be"},{"signature":"balanceOfUnlocked(address)","signatureHash4":"0xceddd07d","signatureHash32":"0xceddd07d4cc9c9f23da084d23f77c77291653792e2455200f201f94c23feed09"},{"signature":"burnDiem(uint256)","signatureHash4":"0x4d44f110","signatureHash32":"0x4d44f110213e42e0d4e34c484e02c18b251a38122ce58d8c5ad6cb170d379fc6"},{"signature":"claim()","signatureHash4":"0x4e71d92d","signatureHash32":"0x4e71d92d1cab44b435a6dcbe7dcfe75cf72953916cfa3842f5057ce194aa60e2"},{"signature":"claimAndStake()","signatureHash4":"0xcb1a4fc0","signatureHash32":"0xcb1a4fc087a9c827b4a6acee2c67a90f265049e8a250ff663ff97e079698bc82"},{"signature":"cooldownDuration()","signatureHash4":"0x35269315","signatureHash32":"0x3526931599e185a3c51af704e3f693d257ae2223239aab0fc9b92482dd2bed2e"},{"signature":"decimals()","signatureHash4":"0x313ce567","signatureHash32":"0x313ce567add4d438edf58b94ff345d7d38c45b17dfc0f947988d7819dca364f9"},{"signature":"diem()","signatureHash4":"0xad66f182","signatureHash32":"0xad66f1822689fa6656f54206100a0678a07496c08043e615a5b8c3ec0aba74c1"},{"signature":"diemMintRates(uint256)","signatureHash4":"0xe3a68402","signatureHash32":"0xe3a68402b9a8de8dd3f1da835e591dfcc1b5a6a1bfd161ff5ab021f400c223ed"},{"signature":"diemSupply(uint256)","signatureHash4":"0xb4f70f72","signatureHash32":"0xb4f70f72eae12e6d6eeaa5bdfc15024bd330d9fddfac1cd3dcefa0ab67aa9be0"},{"signature":"emissionRatePerSecond()","signatureHash4":"0xa80152d6","signatureHash32":"0xa80152d690251ed48b4804286b3d57a5543ed262882b4d2c8df878bf7ade08c4"},{"signature":"finalizeUnstake()","signatureHash4":"0x0ea94341","signatureHash32":"0x0ea94341b1700bde583a79963892f27ce4d776665cafb26969752f85621d878f"},{"signature":"getDiemAmountOut(uint256)","signatureHash4":"0x87716cbf","signatureHash32":"0x87716cbf1b56d3163d14faa2a51a26491592f22200bd0589c63b4a72f3b76ff8"},{"signature":"getVenicePercentage()","signatureHash4":"0x2c74d1df","signatureHash32":"0x2c74d1df49be6c940ec0d84b0c9dbe682ce510c9dd13d4fa432d7a2375e0506c"},{"signature":"initialize(address,address,address)","signatureHash4":"0xc0c53b8b","signatureHash32":"0xc0c53b8b4a924c5886a7e134ca95780796bd5d620e625c88ec9717492727371e"},{"signature":"initiateUnstake(uint256)","signatureHash4":"0xae5ac921","signatureHash32":"0xae5ac9210a33eee1d996f6ddf5803e636f18bc75549ab2736ba2db6f72e1c45f"},{"signature":"lastRewardTimestamp()","signatureHash4":"0xf8077fae","signatureHash32":"0xf8077faea64c2560ab0bf548a67df7fdbbadd0c491c53d559577b6bb87bb0301"},{"signature":"lockedStakes(address)","signatureHash4":"0x92417dc7","signatureHash32":"0x92417dc7330f7fa07990f0cda07b5b9a5f72ff27f21e7e7f1ca5e844a658254f"},{"signature":"mintDiem(uint256,uint256)","signatureHash4":"0x2006efcb","signatureHash32":"0x2006efcb793dd2e395c76ed4827efea59529827e798355efba48b4f7a7aeb461"},{"signature":"name()","signatureHash4":"0x06fdde03","signatureHash32":"0x06fdde0383f15d582d1a74511486c9ddf862a882fb7904b3d9fe9b8b8e58a796"},{"signature":"oracle()","signatureHash4":"0x7dc0d1d0","signatureHash32":"0x7dc0d1d053709daf7666fa92d95a4a378b3697fa925497d6f41c4277db580555"},{"signature":"owner()","signatureHash4":"0x8da5cb5b","signatureHash32":"0x8da5cb5b36e7f68c1d2e56001220cdbdd3ba2616072f718acfda4a06441a807d"},{"signature":"pendingRewards(address)","signatureHash4":"0x31d7a262","signatureHash32":"0x31d7a262b6a33248b99199548829c2369cfdd937aa8b3a3c2b33b1f3369259ad"},{"signature":"proxiableUUID()","signatureHash4":"0x52d1902d","signatureHash32":"0x52d1902ddf94a87b87c42e6ab3aff7da3c30beb57dc65dd86cb2543522a55a4c"},{"signature":"renounceOwnership()","signatureHash4":"0x715018a6","signatureHash32":"0x715018a616b5f2044428f6fadb7deef4ce9ca76ef60ea57978964ad137bbe7ae"},{"signature":"setCooldownDuration(uint256)","signatureHash4":"0x966be075","signatureHash32":"0x966be0755e06872edc6c4fdde8baec5da219d1e3699436b754a0fdef898de65e"},{"signature":"setDiemMintCurve(uint256[256],uint256[256])","signatureHash4":"0x0caf48d3","signatureHash32":"0x0caf48d3c56dde787ea820cbb6cee5be7f675a65e80472ee703f86f4cd9f627b"},{"signature":"setEmissionRate(uint256)","signatureHash4":"0xa1bdb15e","signatureHash32":"0xa1bdb15e86e85d9ca47aa1a71c8bdb0d87c1c488344b27d346119dcfe575425d"},{"signature":"setTreasury(address)","signatureHash4":"0xf0f44260","signatureHash32":"0xf0f4426075d06070e00c492ce11cc5503708cfe69b370161832de9802e5dec8c"},{"signature":"setVeniceEmissionsPercentage(uint256)","signatureHash4":"0xaaaff767","signatureHash32":"0xaaaff767920ad531518e5a6d0a64f9672ed2705000e77b628abf8a76792e7b0d"},{"signature":"setVeniceEmissionsPercentageWhenLocked(uint256)","signatureHash4":"0x9b1650ed","signatureHash32":"0x9b1650edd52da16ecbc78b66bf729251adca3b5deae7e32ec7e0063570e6709f"},{"signature":"stake(address,uint256)","signatureHash4":"0xadc9772e","signatureHash32":"0xadc9772e9f3b2218b39abb39e4dd00e4a7f4ca0809c2c3fd73a7011defd8a83f"},{"signature":"stakes(address)","signatureHash4":"0x16934fc4","signatureHash32":"0x16934fc4e692e6ff5f235439c55594fb30460970282782788ea170080fca9348"},{"signature":"symbol()","signatureHash4":"0x95d89b41","signatureHash32":"0x95d89b41e2f5f391a79ec54e9d87c79d6e777c63e32c28da95b4e9e4a79250ec"},{"signature":"totalLockedStakedVVV()","signatureHash4":"0x25bef746","signatureHash32":"0x25bef74698a9f69ccc25e735a72ac459c7c62a7e44cc8f41121bdb064f354a84"},{"signature":"totalSupply()","signatureHash4":"0x18160ddd","signatureHash32":"0x18160ddd7f15c72528c2f94fd8dfe3c8d5aa26e2c50c7d81f4bc7bee8d4b7932"},{"signature":"transfer(address,uint256)","signatureHash4":"0xa9059cbb","signatureHash32":"0xa9059cbb2ab09eb219583f4a59a5d0623ade346d962bcd4e46b11da047c9049b"},{"signature":"transferFrom(address,address,uint256)","signatureHash4":"0x23b872dd","signatureHash32":"0x23b872dd7302113369cda2901243429419bec145408fa8b352b3dd92b66c680b"},{"signature":"transferOwnership(address)","signatureHash4":"0xf2fde38b","signatureHash32":"0xf2fde38b092330466c661fc723d5289b90272a3e580e3187d1d7ef788506c557"},{"signature":"treasury()","signatureHash4":"0x61d027b3","signatureHash32":"0x61d027b30ea0954414618cb8201bc912d75d6474f7f913dfdc4b5172d13bee5b"},{"signature":"upgradeInitialize(address)","signatureHash4":"0x40370f1f","signatureHash32":"0x40370f1fcc9fcea86f167e9793cf2c8d634670e139a475994f8515dbe599e18d"},{"signature":"UPGRADE_INTERFACE_VERSION()","signatureHash4":"0xad3cb1cc","signatureHash32":"0xad3cb1cc5c2df3b903ea43f30f77a80ecfeefbed7932a4a8e68c92af99e41dfd"},{"signature":"upgradeToAndCall(address,bytes)","signatureHash4":"0x4f1ef286","signatureHash32":"0x4f1ef2866b98625bdfefae89411f7a82754ac4089eff8e78c8832329a538337f"},{"signature":"venice()","signatureHash4":"0x8f1f8d0c","signatureHash32":"0x8f1f8d0cbac0174f9cccb195e249f744a9c66115c05b4218b4ca39a8c99c3c33"},{"signature":"veniceEmissionsPercentage()","signatureHash4":"0x5dea41bb","signatureHash32":"0x5dea41bb885e823f9bb6406aa0570103758f76293d948414811f5a2fd644abf5"},{"signature":"veniceEmissionsPercentageWhenLocked()","signatureHash4":"0x45af37b2","signatureHash32":"0x45af37b2a96e6dccf03b9b4f8142da675e5bc636968b0a145c0399f2081226bd"}],"event":[{"signature":"Approval(address,address,uint256)","signatureHash4":"0x8c5be1e5","signatureHash32":"0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925"},{"signature":"Claimed(address,uint256)","signatureHash4":"0xd8138f8a","signatureHash32":"0xd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a"},{"signature":"CooldownDurationUpdated(uint256)","signatureHash4":"0x3b919acb","signatureHash32":"0x3b919acbae27b7c60197957a5423655702d842fcc85c19c7631dc1c777f478f5"},{"signature":"DiemBurned(uint256,uint256)","signatureHash4":"0x77e8c160","signatureHash32":"0x77e8c1608e07b1a4395fc907407d6244a50b86eead919f3ee61d8ce99e204bd6"},{"signature":"DiemMinted(uint256,uint256)","signatureHash4":"0xd081a649","signatureHash32":"0xd081a649ef2f9530490e16b4ff4d6e1f46460e01107d1ecf7c576cca3cf9d357"},{"signature":"DiemMintRatesUpdated(uint256[256],uint256[256])","signatureHash4":"0xa17dd661","signatureHash32":"0xa17dd66150b8ad4ee99c4d23c5cdbb44eaa4076e6e1d854c3005aa021511da5a"},{"signature":"EmissionRateUpdated(uint256)","signatureHash4":"0xffcc630b","signatureHash32":"0xffcc630bf88a67ba7c8b27440787c31777ae923aee1e9bbd0127feea56da2cd0"},{"signature":"Initialized(uint64)","signatureHash4":"0xc7f505b2","signatureHash32":"0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2"},{"signature":"OwnershipTransferred(address,address)","signatureHash4":"0x8be0079c","signatureHash32":"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0"},{"signature":"Staked(address,uint256)","signatureHash4":"0x9e71bc8e","signatureHash32":"0x9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d"},{"signature":"Transfer(address,address,uint256)","signatureHash4":"0xddf252ad","signatureHash32":"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"},{"signature":"TreasuryUpdated(address)","signatureHash4":"0x7dae230f","signatureHash32":"0x7dae230f18360d76a040c81f050aa14eb9d6dc7901b20fc5d855e2a20fe814d1"},{"signature":"UnstakeFinalized(address,uint256)","signatureHash4":"0xc819022d","signatureHash32":"0xc819022d26707b1e41f61d9adc9481024e27272d949e34a1dfec4d7abf168a33"},{"signature":"UnstakeInitiated(address,uint256)","signatureHash4":"0xc606a9f5","signatureHash32":"0xc606a9f55fc42cd3159fcfc8ddcd749dd21c4574cca0b68a5a65d5f984b6c42c"},{"signature":"Upgraded(address)","signatureHash4":"0xbc7cd75a","signatureHash32":"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b"},{"signature":"VeniceEmissionsPercentageUpdated(uint256)","signatureHash4":"0x3fa751ad","signatureHash32":"0x3fa751adc7d77b89491ef674a701215e6998cd5d3d73b083cc69e15c85f0790d"},{"signature":"VeniceEmissionsPercentageWhenLockedUpdated(uint256)","signatureHash4":"0x38a604e8","signatureHash32":"0x38a604e8a36592c14768cd04d016e8f0be9e11c140f1643cd8d4266f9e28e9e4"}],"error":[{"signature":"AddressEmptyCode(address)","signatureHash4":"0x9996b315","signatureHash32":"0x9996b315c842ff135b8fc4a08ad5df1c344efbc03d2687aecc0678050d2aac89"},{"signature":"ERC1967InvalidImplementation(address)","signatureHash4":"0x4c9c8ce3","signatureHash32":"0x4c9c8ce3ceb3130f17f7cdba48d89b5b0129f266a8bac114e6e315a41879b617"},{"signature":"ERC1967NonPayable()","signatureHash4":"0xb398979f","signatureHash32":"0xb398979fa84f543c8e222f17890372c487baf85e062276c127fef521eea7224b"},{"signature":"ERC20InsufficientAllowance(address,uint256,uint256)","signatureHash4":"0xfb8f41b2","signatureHash32":"0xfb8f41b23e99d2101d86da76cdfa87dd51c82ed07d3cb62cbc473e469dbc75c3"},{"signature":"ERC20InsufficientBalance(address,uint256,uint256)","signatureHash4":"0xe450d38c","signatureHash32":"0xe450d38cd8d9f7d95077d567d60ed49c7254716e6ad08fc9872816c97e0ffec6"},{"signature":"ERC20InvalidApprover(address)","signatureHash4":"0xe602df05","signatureHash32":"0xe602df05cc75712490294c6c104ab7c17f4030363910a7a2626411c6d3118847"},{"signature":"ERC20InvalidReceiver(address)","signatureHash4":"0xec442f05","signatureHash32":"0xec442f055133b72f3b2f9f0bb351c406b178527de2040a7d1feb4e058771f613"},{"signature":"ERC20InvalidSender(address)","signatureHash4":"0x96c6fd1e","signatureHash32":"0x96c6fd1edd0cd6ef7ff0ecc0facdf53148dc0048b57fe58af65755250a7a96bd"},{"signature":"ERC20InvalidSpender(address)","signatureHash4":"0x94280d62","signatureHash32":"0x94280d62c347d8d9f4d59a76ea321452406db88df38e0c9da304f58b57b373a2"},{"signature":"FailedCall()","signatureHash4":"0xd6bda275","signatureHash32":"0xd6bda27508c0fb6d8a39b4b122878dab26f731a7d4e4abe711dd3731899052a4"},{"signature":"InvalidInitialization()","signatureHash4":"0xf92ee8a9","signatureHash32":"0xf92ee8a957075833165f68c320933b1a1294aafc84ee6e0dd3fb178008f9aaf5"},{"signature":"NotInitializing()","signatureHash4":"0xd7e6bcf8","signatureHash32":"0xd7e6bcf8597daa127dc9f0048d2f08d5ef140a2cb659feabd700beff1f7a8302"},{"signature":"OwnableInvalidOwner(address)","signatureHash4":"0x1e4fbdf7","signatureHash32":"0x1e4fbdf7f3ef8bcaa855599e3abf48b232380f183f08f6f813d9ffa5bd585188"},{"signature":"OwnableUnauthorizedAccount(address)","signatureHash4":"0x118cdaa7","signatureHash32":"0x118cdaa7a341953d1887a2245fd6665d741c67c8c50581daa59e1d03373fa188"},{"signature":"UUPSUnauthorizedCallContext()","signatureHash4":"0xe07c8dba","signatureHash32":"0xe07c8dba242a06571ac65fe4bbe20522c9fb111cb33599b799ff8039c1ed18f4"},{"signature":"UUPSUnsupportedProxiableUUID(bytes32)","signatureHash4":"0xaa1d49a4","signatureHash32":"0xaa1d49a4c084bfa9aeeee2a0be65267a7f19ba7e1476b114dac513d2c14cb563"}]},"proxyResolution":{"isProxy":false,"proxyType":null,"implementations":[]},"match":"exact_match","chainId":"8453","address":"0xe37A7920dbc11253ac6d031C29f592f71B348DCA"}