{"matchId":"14251016","creationMatch":"match","runtimeMatch":"match","verifiedAt":"2026-01-20T19:47:53Z","creationBytecode":{"onchainBytecode":"0x60e06040523480156200001157600080fd5b50604051620041b9380380620041b983398101604081905262000034916200029c565b6001600055848483836001600160a01b038316620000655760405163885ce5f160e01b815260040160405180910390fd5b6001600160a01b03831660a08190526040805163313ce56760e01b8152905163313ce567916004808201926020929091908290030181865afa158015620000b0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000d69190620002f9565b620000e390600a62000438565b60805260038290556004819055620000fd60008562000141565b5050506001600160a01b03841690506200012a57604051630f35c93760e21b815260040160405180910390fd5b50506001600160a01b031660c05250620004499050565b6200015882826200018460201b620020b41760201c565b60008281526002602090815260409091206200017f9183906200211f6200020d821b17901c565b505050565b60008281526001602090815260408083206001600160a01b038516845290915290205460ff16620002095760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45b5050565b600062000224836001600160a01b0384166200022d565b90505b92915050565b6000818152600183016020526040812054620002765750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000227565b50600062000227565b80516001600160a01b03811681146200029757600080fd5b919050565b600080600080600060a08688031215620002b557600080fd5b620002c0866200027f565b9450620002d0602087016200027f565b9350620002e0604087016200027f565b6060870151608090970151959894975095949392505050565b6000602082840312156200030c57600080fd5b815160ff811681146200031e57600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200037c57816000190482111562000360576200036062000325565b808516156200036e57918102915b93841c939080029062000340565b509250929050565b600082620003955750600162000227565b81620003a45750600062000227565b8160018114620003bd5760028114620003c857620003e8565b600191505062000227565b60ff841115620003dc57620003dc62000325565b50506001821b62000227565b5060208310610133831016604e8410600b84101617156200040d575081810a62000227565b6200041983836200033b565b806000190482111562000430576200043062000325565b029392505050565b60006200022460ff84168362000384565b60805160a05160c051613c2862000591600039600081816103fc015281816108890152818161091c015281816109a50152818161101901528181611167015281816111eb015281816112510152818161187d015281816119d001528181611a540152611aba0152600081816103aa01528181610a3301528181610b4901528181610c6b01528181610d2401528181610f3d015281816110ba015281816111380152818161161601528181611923015281816119a101528181611ef301528181611f86015281816121e10152818161227b0152818161239401528181612453015281816125fa0152818161274e015281816127e8015281816128d501528181612a7201528181612b9b01528181612d3401528181612dbb01528181612f1501526130f60152600081816105e10152818161230a01528181612b100152612e4a0152613c286000f3fe608060405234801561001057600080fd5b50600436106103785760003560e01c80637b0e1c57116101d3578063af3345d111610104578063d547741f116100a2578063e64338341161007c578063e6433834146107c4578063f3a408da146107d7578063fd84a072146107df578063fe6f14c5146107f257600080fd5b8063d547741f14610777578063d87801611461078a578063e63ab1e91461079d57600080fd5b8063ba2a1c4d116100de578063ba2a1c4d14610717578063c768b1451461073e578063c8e1585d14610751578063ca15c8731461076457600080fd5b8063af3345d1146106ea578063afb6794e146106f2578063b235d4681461070557600080fd5b80638f8eb81211610171578063a217fddf1161014b578063a217fddf146106a7578063aab483d6146106af578063abbb9f4c146106c2578063ad129e77146106d757600080fd5b80638f8eb812146106785780639010d07c1461068157806391d148541461069457600080fd5b80638133067e116101ad5780638133067e1461061657806386dd535c14610629578063884a05011461063c5780638f4f96131461065f57600080fd5b80637b0e1c57146105c95780637ead09e8146105dc578063811400fa1461060357600080fd5b806336568abe116102ad578063531acc131161024b5780636085057411610225578063608505741461058b57806361fca4551461059457806368f26f82146105a7578063695e122d146105b657600080fd5b8063531acc131461056257806359e0f36f1461056b5780635f1270791461057e57600080fd5b80633faed166116102875780633faed1661461052157806340db35e0146105345780634ce78490146105475780634ef1ccd11461054f57600080fd5b806336568abe146104e85780633e4af11f146104fb5780633f9832581461050e57600080fd5b806322d4a1751161031a578063248a9ca3116102f4578063248a9ca3146104965780632d7d41ab146104ba5780632f2ff15d146104cd57806332ec84d2146104e057600080fd5b806322d4a1751461046557806323991e4b14610478578063245513ce1461048d57600080fd5b806310a4f09f1161035657806310a4f09f146103f757806316762d7a1461041e5780631ee547e71461043f57806321e0e0cf1461045257600080fd5b806301ffc9a71461037d5780630c5bf351146103a55780630ded4a6f146103e4575b600080fd5b61039061038b366004613642565b610815565b60405190151581526020015b60405180910390f35b6103cc7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161039c565b600d546103cc906001600160a01b031681565b6103cc7f000000000000000000000000000000000000000000000000000000000000000081565b61043161042c366004613688565b610840565b60405190815260200161039c565b6008546103cc906001600160a01b031681565b6007546103cc906001600160a01b031681565b6104316104733660046136bd565b610b03565b61048b6104863660046136f0565b610bc7565b005b61043161271081565b6104316104a436600461370b565b6000908152600160208190526040909120015490565b61048b6104c83660046136bd565b610cdb565b61048b6104db366004613724565b610d97565b61048b610dbe565b61048b6104f6366004613724565b610e24565b61048b6105093660046136f0565b610ea2565b61048b61051c3660046136bd565b610fd6565b61048b61052f366004613761565b611345565b61048b6105423660046136f0565b611452565b61048b6114e2565b61048b61055d36600461370b565b611524565b61043160035481565b61048b6105793660046136f0565b611572565b6006546103909060ff1681565b61043160055481565b61048b6105a23660046136f0565b611676565b610431670de0b6b3a764000081565b61048b6105c4366004613761565b611705565b61048b6105d7366004613798565b611812565b6104317f000000000000000000000000000000000000000000000000000000000000000081565b600a546103cc906001600160a01b031681565b6104316106243660046136bd565b611838565b61048b6106373660046136f0565b611bdd565b61039061064a3660046136f0565b600f6020526000908152604090205460ff1681565b6006546103cc906201000090046001600160a01b031681565b61043160045481565b6103cc61068f3660046137c4565b611c6c565b6103906106a2366004613724565b611c8b565b610431600081565b61048b6106bd36600461370b565b611cb6565b610431600080516020613bd383398151915281565b61048b6106e53660046136f0565b611d04565b61048b611d94565b61048b6107003660046136f0565b611dd7565b60065461039090610100900460ff1681565b6104317fb94da9555321002e2f278a8e588b6b5c51fa2748893b00f6e45fc41af53493ab81565b6009546103cc906001600160a01b031681565b600b546103cc906001600160a01b031681565b61043161077236600461370b565b611e75565b61048b610785366004613724565b611e8c565b610431610798366004613688565b611eb3565b6104317f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b600c546103cc906001600160a01b031681565b61048b612002565b61048b6107ed36600461370b565b612066565b6103906108003660046136f0565b600e6020526000908152604090205460ff1681565b60006001600160e01b03198216635a05180f60e01b148061083a575061083a82612134565b92915050565b600060026000540361086d5760405162461bcd60e51b8152600401610864906137e6565b60405180910390fd5b60026000556040516323b872dd60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906323b872dd906108c29033903090899060040161381d565b6020604051808303816000875af11580156108e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109059190613841565b50604051636f074d1f60e11b8152600481018590527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063de0e9a3e90602401600060405180830381600087803b15801561096857600080fd5b505af115801561097c573d6000803e3d6000fd5b50506040516358af948f60e11b8152600481018790526000925061271091506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063b15f291e90602401602060405180830381865afa1580156109ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a10919061385e565b610a1a919061388d565b604051630852cd8d60e31b8152600481018290529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906342966c6890602401600060405180830381600087803b158015610a7f57600080fd5b505af1158015610a93573d6000803e3d6000fd5b50505050610aa2818585612169565b60408051838152602081018890526001600160a01b0387168183015260608101839052905191935033917f9ef7a247f6b9f5762b48aaef49860629bb5fec37c2e12bc46a980abd704ab0459181900360800190a25060016000559392505050565b6000600260005403610b275760405162461bcd60e51b8152600401610864906137e6565b6002600055610b378484846126db565b6040516340c10f1960e01b81529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906340c10f1990610b8890339085906004016138af565b600060405180830381600087803b158015610ba257600080fd5b505af1158015610bb6573d6000803e3d6000fd5b505060016000555090949350505050565b6000610bd38133612c59565b6001600160a01b038216610bfa57604051633d04535360e21b815260040160405180910390fd5b6009546040516001600160a01b038085169216907ff78e014ab86d7bb38135262d64726cef2e151dae47c0947a1d6bb970702c30d690600090a3600980546001600160a01b0319166001600160a01b038416908117909155604051637f19077160e01b8152637f19077190610c95907f00000000000000000000000000000000000000000000000000000000000000009030906004016138c8565b602060405180830381865afa158015610cb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd6919061385e565b505050565b600260005403610cfd5760405162461bcd60e51b8152600401610864906137e6565b6002600055610d0d838383612cbd565b6040516340c10f1960e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906340c10f1990610d5b90869086906004016138af565b600060405180830381600087803b158015610d7557600080fd5b505af1158015610d89573d6000803e3d6000fd5b505060016000555050505050565b60008281526001602081905260409091200154610db48133612c59565b610cd68383612fdb565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610de98133612c59565b6006805461ff0019166101001790556040517f60b78ed2d882d2d2387ad2b7119495f7c99dd9a9c191d3d02c35982a0750bcc690600090a150565b6001600160a01b0381163314610e945760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610864565b610e9e8282612ffd565b5050565b6000610eae8133612c59565b6001600160a01b038216610ed557604051632233f8fd60e21b815260040160405180910390fd5b6007546040516001600160a01b038085169216907f6c9074ba8ab5c258404464c9703de55127adb996134fd80d450ce94eb76ff59090600090a3600780546001600160a01b0319166001600160a01b0384811691821790925560405163b3596f0760e01b81527f0000000000000000000000000000000000000000000000000000000000000000909216600483015260009163b3596f0790602401602060405180830381865afa158015610f8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb1919061385e565b9050600554811015610cd657604051633b2f2ac960e11b815260040160405180910390fd5b600260005403610ff85760405162461bcd60e51b8152600401610864906137e6565b600260009081556040516358af948f60e11b815260048101849052612710907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063b15f291e90602401602060405180830381865afa158015611068573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108c919061385e565b611096919061388d565b90506110a3848284612cbd565b6040516340c10f1960e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906340c10f19906110f190309085906004016138af565b600060405180830381600087803b15801561110b57600080fd5b505af115801561111f573d6000803e3d6000fd5b505060405163095ea7b360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063095ea7b39150611191907f00000000000000000000000000000000000000000000000000000000000000009085906004016138af565b6020604051808303816000875af11580156111b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d49190613841565b50604051630ea598cb60e41b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063ea598cb090602401600060405180830381600087803b15801561123757600080fd5b505af115801561124b573d6000803e3d6000fd5b505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638fcb4e5b856127108461128d91906138e2565b6040518363ffffffff1660e01b81526004016112aa9291906138af565b6020604051808303816000875af11580156112c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ed919061385e565b5060408051828152602081018590529081018390526001600160a01b038516907ffd614e52d7b496f0d3f713f3a55ea6a08921356a6778f1565134f76da6731d6a9060600160405180910390a2505060016000555050565b60006113518133612c59565b6001600160a01b0383166113785760405163885ce5f160e01b815260040160405180910390fd5b81156113ee5760075460405163b3596f0760e01b81526001600160a01b0385811660048301529091169063b3596f0790602401602060405180830381865afa1580156113c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ec919061385e565b505b604051821515906001600160a01b038516907fb69d0cdc257fe2726a8ebd7602c8a681fd8152961d1c38a5d5b3090a4d96b20c90600090a3506001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b600061145e8133612c59565b6001600160a01b0382166114855760405163524d94d960e11b815260040160405180910390fd5b600d546040516001600160a01b038085169216907ff68d3e8139cf85c4c8ea147060134c79e97dbfa33f3f6a9d4cdec44ef467c74790600090a350600d80546001600160a01b0319166001600160a01b0392909216919091179055565b60006114ee8133612c59565b6006805460ff191690556040517f849babeb0c1b4e2b3842433574a5cdfe23ffde54c64651d42a6b02e8f98cbf8a90600090a150565b600080516020613bd383398151915261153d8133612c59565b6004546040518391907ffdaf6ed728cef208e62328a008209556f8281f3062b14dd08aaaa90fa159421190600090a350600455565b600061157e8133612c59565b6001600160a01b0382166115a557604051630b69326560e11b815260040160405180910390fd5b6008546040516001600160a01b038085169216907fdbc2a9769fa2b31eadfb16b690e3c783592becd0b822401b274a90a34d80b6dc90600090a3600880546001600160a01b0319166001600160a01b0384169081179091556040516334dae8d560e01b81526334dae8d590611640907f00000000000000000000000000000000000000000000000000000000000000009030906004016138c8565b600060405180830381600087803b15801561165a57600080fd5b505af115801561166e573d6000803e3d6000fd5b505050505050565b60006116828133612c59565b6001600160a01b0382166116a8576040516291d13760e51b815260040160405180910390fd5b600b546040516001600160a01b038085169216907f24fdea3a24a4edda22c10620f63628ed57f6b60d457d833035a316ab15684c9490600090a350600b80546001600160a01b0319166001600160a01b0392909216919091179055565b60006117118133612c59565b6001600160a01b0383166117385760405163885ce5f160e01b815260040160405180910390fd5b81156117ae5760075460405163b3596f0760e01b81526001600160a01b0385811660048301529091169063b3596f0790602401602060405180830381865afa158015611788573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ac919061385e565b505b604051821515906001600160a01b038516907f34e319579e041b2d04a5a9ff137ef4511e2db49d2da0512cdbe3845c32bc933a90600090a3506001600160a01b03919091166000908152600f60205260409020805460ff1916911515919091179055565b600061181e8133612c59565b6118326001600160a01b038516848461301f565b50505050565b600060026000540361185c5760405162461bcd60e51b8152600401610864906137e6565b600260009081556040516358af948f60e11b815260048101849052612710907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063b15f291e90602401602060405180830381865afa1580156118cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f0919061385e565b6118fa919061388d565b905060006119098686846126db565b6040516340c10f1960e01b81529091506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906340c10f199061195a90309085906004016138af565b600060405180830381600087803b15801561197457600080fd5b505af1158015611988573d6000803e3d6000fd5b505060405163095ea7b360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063095ea7b391506119fa907f00000000000000000000000000000000000000000000000000000000000000009085906004016138af565b6020604051808303816000875af1158015611a19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a3d9190613841565b50604051630ea598cb60e41b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063ea598cb090602401600060405180830381600087803b158015611aa057600080fd5b505af1158015611ab4573d6000803e3d6000fd5b505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638fcb4e5b611aee3390565b611afa612710856138e2565b6040518363ffffffff1660e01b8152600401611b179291906138af565b6020604051808303816000875af1158015611b36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b5a919061385e565b925083831015611b7d5760405163c5db0fc160e01b815260040160405180910390fd5b60408051828152602081018590526001600160a01b0388168183015260608101879052905133917f9d1b78864fb222ffcf82e2444ee22d6bb9cf52d41b71914f34e1597f23423ca4919081900360800190a2505060016000559392505050565b6000611be98133612c59565b6001600160a01b038216611c0f576040516291d13760e51b815260040160405180910390fd5b600c546040516001600160a01b038085169216907f849fba91aaeaa62c2a7f48c8ff7c26b006ca3ae247c1640072ecf571e31040c890600090a350600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6000828152600260205260408120611c849083613077565b9392505050565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020613bd3833981519152611ccf8133612c59565b6003546040518391907fe6e25add7363f8f8a40cbea9810d3115a33703b10972ef759104219b0065743690600090a350600355565b6000611d108133612c59565b6001600160a01b038216611d3757604051633aa9ba3360e01b815260040160405180910390fd5b600a546040516001600160a01b038085169216907fc54bf4c3067c1d8f65e053dafb5dbb699615b1b527d2866bd0223102bb2e692d90600090a350600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000611da08133612c59565b6006805461ff00191690556040517f687bf6e69dbabcc95e11041b4816a83f36dcf6ef647f6acf63e7469d28f5ea7390600090a150565b6000611de38133612c59565b6001600160a01b038216611e0a5760405163341d47c360e01b815260040160405180910390fd5b6006546040516001600160a01b038085169262010000900416907f132a375a3726b76fcc71a6992f19961145ed03f35eca19ad07381f43501c2b5e90600090a350600680546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b600081815260026020526040812061083a90613083565b60008281526001602081905260409091200154611ea98133612c59565b610cd68383612ffd565b6000600260005403611ed75760405162461bcd60e51b8152600401610864906137e6565b60026000556040516323b872dd60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906323b872dd90611f2c9033903090899060040161381d565b6020604051808303816000875af1158015611f4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6f9190613841565b50604051630852cd8d60e31b8152600481018590527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906342966c6890602401600060405180830381600087803b158015611fd257600080fd5b505af1158015611fe6573d6000803e3d6000fd5b50505050611ff5848484612169565b6001600055949350505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61202d8133612c59565b6006805460ff191660011790556040517fb9964f53255ea6cb323618cebc0c47de4f99089e9993d1862f24e2fdaf2a31e590600090a150565b600080516020613bd383398151915261207f8133612c59565b6005546040518391907f8ba90cff6e6e2b8e73cee7f3c5356cca13f1715f39f5eaa6164a99b49e497c8e90600090a350600555565b6120be8282611c8b565b610e9e5760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b6000611c84836001600160a01b03841661308d565b60006001600160e01b03198216637965db0b60e01b148061083a57506301ffc9a760e01b6001600160e01b031983161461083a565b600654600090610100900460ff161561219557604051630df65d9f60e01b815260040160405180910390fd5b6001600160a01b0383166000908152600f602052604090205460ff166121ce5760405163e51cf7bf60e01b815260040160405180910390fd5b6008546001600160a01b03166334dae8d57f0000000000000000000000000000000000000000000000000000000000000000336040518363ffffffff1660e01b815260040161221e9291906138c8565b600060405180830381600087803b15801561223857600080fd5b505af115801561224c573d6000803e3d6000fd5b5050600954604051637f19077160e01b8152600093506001600160a01b039091169150637f190771906122a5907f00000000000000000000000000000000000000000000000000000000000000009033906004016138c8565b602060405180830381865afa1580156122c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122e6919061385e565b90508061230657604051632163950f60e01b815260040160405180910390fd5b60007f0000000000000000000000000000000000000000000000000000000000000000866123326130dc565b61233c91906138e2565b612346919061388d565b905060045481101561236b5760405163680116dd60e11b815260040160405180910390fd5b600c5460405163c75af63560e01b81526000916001600160a01b03169063c75af635906123c2907f0000000000000000000000000000000000000000000000000000000000000000908a9088908890600401613901565b6020604051808303816000875af11580156123e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612405919061385e565b90508181111561242857604051635774f9b360e11b815260040160405180910390fd5b600a54604051637d4945b760e01b81526001600160a01b0390911690637d4945b79061247f906001907f0000000000000000000000000000000000000000000000000000000000000000908890889060040161392a565b600060405180830381600087803b15801561249957600080fd5b505af11580156124ad573d6000803e3d6000fd5b505060075460405163b3596f0760e01b81526001600160a01b038a81166004830152909116925063b3596f079150602401602060405180830381865afa1580156124fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061251f919061385e565b866001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801561255d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125819190613971565b61258c90600a613a78565b6125968385613a87565b6125a091906138e2565b6125aa919061388d565b9350848410156125cd57604051638f19033960e01b815260040160405180910390fd5b60065460405163071f2cab60e51b8152620100009091046001600160a01b03169063e3e5956090612628907f0000000000000000000000000000000000000000000000000000000000000000908a9088908a90600401613901565b600060405180830381600087803b15801561264257600080fd5b505af1158015612656573d6000803e3d6000fd5b505050506126756126643390565b6001600160a01b038816908661301f565b604080518881526001600160a01b03881660208201529081018590526060810183905260808101829052839033907f7023b7bcd020761014c9e1590603f4effceabc102cf0b8023c3f2b14db9ffb6e9060a0015b60405180910390a35050509392505050565b60065460009060ff1615612702576040516302822dcd60e51b815260040160405180910390fd5b6001600160a01b0384166000908152600e602052604090205460ff1661273b5760405163e51cf7bf60e01b815260040160405180910390fd5b6008546001600160a01b03166334dae8d57f0000000000000000000000000000000000000000000000000000000000000000336040518363ffffffff1660e01b815260040161278b9291906138c8565b600060405180830381600087803b1580156127a557600080fd5b505af11580156127b9573d6000803e3d6000fd5b5050600954604051637f19077160e01b8152600093506001600160a01b039091169150637f19077190612812907f00000000000000000000000000000000000000000000000000000000000000009033906004016138c8565b602060405180830381865afa15801561282f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612853919061385e565b90508061287357604051632163950f60e01b815260040160405180910390fd5b6128886001600160a01b038616333087613193565b6006546128a8906001600160a01b038781169162010000900416866131bb565b600654604051631f61f2f560e31b8152620100009091046001600160a01b03169063fb0f97a890612901907f0000000000000000000000000000000000000000000000000000000000000000908990899060040161381d565b600060405180830381600087803b15801561291b57600080fd5b505af115801561292f573d6000803e3d6000fd5b505050506000856001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015612973573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129979190613971565b6129a290600a613a78565b60075460405163b3596f0760e01b81526001600160a01b0389811660048301528892169063b3596f0790602401602060405180830381865afa1580156129ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a10919061385e565b612a1a91906138e2565b612a24919061388d565b9050600354811015612a49576040516367627d0760e01b815260040160405180910390fd5b600b5460405163c75af63560e01b81526000916001600160a01b03169063c75af63590612aa0907f0000000000000000000000000000000000000000000000000000000000000000908b9088908890600401613901565b6020604051808303816000875af1158015612abf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ae3919061385e565b905081811115612b065760405163566f172560e11b815260040160405180910390fd5b612b0e6130dc565b7f0000000000000000000000000000000000000000000000000000000000000000612b398385613a87565b612b4391906138e2565b612b4d919061388d565b935084841015612b705760405163c5db0fc160e01b815260040160405180910390fd5b600a54604051637d4945b760e01b81526001600160a01b0390911690637d4945b790612bc7906000907f0000000000000000000000000000000000000000000000000000000000000000908890889060040161392a565b600060405180830381600087803b158015612be157600080fd5b505af1158015612bf5573d6000803e3d6000fd5b5050505082612c013390565b604080518781526001600160a01b038b811660208301529181018a905260608101869052608081018590529116907f5c88561b046569d4773b016d48f154d22685738bfb692bb0f8478ec2ef36b79f9060a0016126c9565b612c638282611c8b565b610e9e57612c7b816001600160a01b0316601461324d565b612c8683602061324d565b604051602001612c97929190613abe565b60408051601f198184030181529082905262461bcd60e51b825261086491600401613b33565b60065460ff1615612ce1576040516302822dcd60e51b815260040160405180910390fd5b7fb94da9555321002e2f278a8e588b6b5c51fa2748893b00f6e45fc41af53493ab612d0c8133612c59565b6008546040516334dae8d560e01b81526001600160a01b03909116906334dae8d590612d5e907f00000000000000000000000000000000000000000000000000000000000000009088906004016138c8565b600060405180830381600087803b158015612d7857600080fd5b505af1158015612d8c573d6000803e3d6000fd5b5050600954604051637f19077160e01b8152600093506001600160a01b039091169150637f19077190612de5907f00000000000000000000000000000000000000000000000000000000000000009089906004016138c8565b602060405180830381865afa158015612e02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e26919061385e565b905080612e4657604051632163950f60e01b815260040160405180910390fd5b60007f0000000000000000000000000000000000000000000000000000000000000000612e716130dc565b612e7b90876138e2565b612e85919061388d565b600d54604051631e03bab960e21b81529192506001600160a01b03169063780eeae490612eb890339085906004016138af565b600060405180830381600087803b158015612ed257600080fd5b505af1158015612ee6573d6000803e3d6000fd5b5050600a54604051637d4945b760e01b81526001600160a01b039091169250637d4945b79150612f41906000907f0000000000000000000000000000000000000000000000000000000000000000908790879060040161392a565b600060405180830381600087803b158015612f5b57600080fd5b505af1158015612f6f573d6000803e3d6000fd5b5050505081866001600160a01b0316612f853390565b60408051898152602081018690529081018890526001600160a01b0391909116907f8153c95a1826b81124293b12cbbc293c0dfba473b563c61d9a9ff82aa4a1c7ad9060600160405180910390a4505050505050565b612fe582826120b4565b6000828152600260205260409020610cd6908261211f565b61300782826133e9565b6000828152600260205260409020610cd69082613450565b610cd683846001600160a01b031663a9059cbb85856040516024016130459291906138af565b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050613465565b6000611c8483836134d6565b600061083a825490565b60008181526001830160205260408120546130d45750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561083a565b50600061083a565b60075460405163b3596f0760e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152600092169063b3596f0790602401602060405180830381865afa158015613147573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061316b919061385e565b905060055481101561319057604051633b2f2ac960e11b815260040160405180910390fd5b90565b61183284856001600160a01b03166323b872dd8686866040516024016130459392919061381d565b6000836001600160a01b031663095ea7b384846040516024016131df9291906138af565b604051602081830303815290604052915060e01b6020820180516001600160e01b03838183161783525050505090506132188482613500565b6118325761324384856001600160a01b031663095ea7b38660006040516024016130459291906138af565b6118328482613465565b6060600061325c8360026138e2565b613267906002613b66565b67ffffffffffffffff81111561327f5761327f613b79565b6040519080825280601f01601f1916602001820160405280156132a9576020820181803683370190505b509050600360fc1b816000815181106132c4576132c4613b8f565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106132f3576132f3613b8f565b60200101906001600160f81b031916908160001a90535060006133178460026138e2565b613322906001613b66565b90505b600181111561339a576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061335657613356613b8f565b1a60f81b82828151811061336c5761336c613b8f565b60200101906001600160f81b031916908160001a90535060049490941c9361339381613ba5565b9050613325565b508315611c845760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610864565b6133f38282611c8b565b15610e9e5760008281526001602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000611c84836001600160a01b03841661354f565b600080602060008451602086016000885af180613488576040513d6000823e3d81fd5b50506000513d915081156134a05780600114156134ad565b6001600160a01b0384163b155b1561183257604051635274afe760e01b81526001600160a01b0385166004820152602401610864565b60008260000182815481106134ed576134ed613b8f565b9060005260206000200154905092915050565b6000806000806020600086516020880160008a5af192503d91506000519050828015613545575081156135365780600114613545565b6000866001600160a01b03163b115b9695505050505050565b60008181526001830160205260408120548015613638576000613573600183613a87565b855490915060009061358790600190613a87565b90508181146135ec5760008660000182815481106135a7576135a7613b8f565b90600052602060002001549050808760000184815481106135ca576135ca613b8f565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806135fd576135fd613bbc565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061083a565b600091505061083a565b60006020828403121561365457600080fd5b81356001600160e01b031981168114611c8457600080fd5b80356001600160a01b038116811461368357600080fd5b919050565b60008060006060848603121561369d57600080fd5b833592506136ad6020850161366c565b9150604084013590509250925092565b6000806000606084860312156136d257600080fd5b6136db8461366c565b95602085013595506040909401359392505050565b60006020828403121561370257600080fd5b611c848261366c565b60006020828403121561371d57600080fd5b5035919050565b6000806040838503121561373757600080fd5b823591506137476020840161366c565b90509250929050565b801515811461375e57600080fd5b50565b6000806040838503121561377457600080fd5b61377d8361366c565b9150602083013561378d81613750565b809150509250929050565b6000806000606084860312156137ad57600080fd5b6137b68461366c565b92506136ad6020850161366c565b600080604083850312156137d757600080fd5b50508035926020909101359150565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60006020828403121561385357600080fd5b8151611c8481613750565b60006020828403121561387057600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b6000826138aa57634e487b7160e01b600052601260045260246000fd5b500490565b6001600160a01b03929092168252602082015260400190565b6001600160a01b0392831681529116602082015260400190565b60008160001904831182151516156138fc576138fc613877565b500290565b6001600160a01b0394851681529290931660208301526040820152606081019190915260800190565b608081016002861061394c57634e487b7160e01b600052602160045260246000fd5b9481526001600160a01b03939093166020840152604083019190915260609091015290565b60006020828403121561398357600080fd5b815160ff81168114611c8457600080fd5b600181815b808511156139cf5781600019048211156139b5576139b5613877565b808516156139c257918102915b93841c9390800290613999565b509250929050565b6000826139e65750600161083a565b816139f35750600061083a565b8160018114613a095760028114613a1357613a2f565b600191505061083a565b60ff841115613a2457613a24613877565b50506001821b61083a565b5060208310610133831016604e8410600b8410161715613a52575081810a61083a565b613a5c8383613994565b8060001904821115613a7057613a70613877565b029392505050565b6000611c8460ff8416836139d7565b8181038181111561083a5761083a613877565b60005b83811015613ab5578181015183820152602001613a9d565b50506000910152565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613af6816017850160208801613a9a565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613b27816028840160208801613a9a565b01602801949350505050565b6020815260008251806020840152613b52816040850160208701613a9a565b601f01601f19169190910160400192915050565b8082018082111561083a5761083a613877565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081613bb457613bb4613877565b506000190190565b634e487b7160e01b600052603160045260246000fdfef45c97b23e2beeefda80e1ce5cb3e234aa7b6888ad5cbabb75bfd654dd8e102da2646970667358221220b36c68333eacbc0fb788b29b7499d75cfd90c1b8511eed3b0987bcc335b444aa64736f6c634300081000330000000000000000000000001dd6bcf6d188f11d8de64b5c8575fb86c4b3d9ff00000000000000000000000096f6ef951840721adbf46ac996b59e0235cb985c000000000000000000000000af37c1167910ebc994e266949387d2c7c326b8790000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000de0b6b3a7640000","recompiledBytecode":"0x60e06040523480156200001157600080fd5b50604051620041b9380380620041b983398101604081905262000034916200029c565b6001600055848483836001600160a01b038316620000655760405163885ce5f160e01b815260040160405180910390fd5b6001600160a01b03831660a08190526040805163313ce56760e01b8152905163313ce567916004808201926020929091908290030181865afa158015620000b0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000d69190620002f9565b620000e390600a62000438565b60805260038290556004819055620000fd60008562000141565b5050506001600160a01b03841690506200012a57604051630f35c93760e21b815260040160405180910390fd5b50506001600160a01b031660c05250620004499050565b6200015882826200018460201b620020b41760201c565b60008281526002602090815260409091206200017f9183906200211f6200020d821b17901c565b505050565b60008281526001602090815260408083206001600160a01b038516845290915290205460ff16620002095760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45b5050565b600062000224836001600160a01b0384166200022d565b90505b92915050565b6000818152600183016020526040812054620002765750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000227565b50600062000227565b80516001600160a01b03811681146200029757600080fd5b919050565b600080600080600060a08688031215620002b557600080fd5b620002c0866200027f565b9450620002d0602087016200027f565b9350620002e0604087016200027f565b6060870151608090970151959894975095949392505050565b6000602082840312156200030c57600080fd5b815160ff811681146200031e57600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200037c57816000190482111562000360576200036062000325565b808516156200036e57918102915b93841c939080029062000340565b509250929050565b600082620003955750600162000227565b81620003a45750600062000227565b8160018114620003bd5760028114620003c857620003e8565b600191505062000227565b60ff841115620003dc57620003dc62000325565b50506001821b62000227565b5060208310610133831016604e8410600b84101617156200040d575081810a62000227565b6200041983836200033b565b806000190482111562000430576200043062000325565b029392505050565b60006200022460ff84168362000384565b60805160a05160c051613c2862000591600039600081816103fc015281816108890152818161091c015281816109a50152818161101901528181611167015281816111eb015281816112510152818161187d015281816119d001528181611a540152611aba0152600081816103aa01528181610a3301528181610b4901528181610c6b01528181610d2401528181610f3d015281816110ba015281816111380152818161161601528181611923015281816119a101528181611ef301528181611f86015281816121e10152818161227b0152818161239401528181612453015281816125fa0152818161274e015281816127e8015281816128d501528181612a7201528181612b9b01528181612d3401528181612dbb01528181612f1501526130f60152600081816105e10152818161230a01528181612b100152612e4a0152613c286000f3fe608060405234801561001057600080fd5b50600436106103785760003560e01c80637b0e1c57116101d3578063af3345d111610104578063d547741f116100a2578063e64338341161007c578063e6433834146107c4578063f3a408da146107d7578063fd84a072146107df578063fe6f14c5146107f257600080fd5b8063d547741f14610777578063d87801611461078a578063e63ab1e91461079d57600080fd5b8063ba2a1c4d116100de578063ba2a1c4d14610717578063c768b1451461073e578063c8e1585d14610751578063ca15c8731461076457600080fd5b8063af3345d1146106ea578063afb6794e146106f2578063b235d4681461070557600080fd5b80638f8eb81211610171578063a217fddf1161014b578063a217fddf146106a7578063aab483d6146106af578063abbb9f4c146106c2578063ad129e77146106d757600080fd5b80638f8eb812146106785780639010d07c1461068157806391d148541461069457600080fd5b80638133067e116101ad5780638133067e1461061657806386dd535c14610629578063884a05011461063c5780638f4f96131461065f57600080fd5b80637b0e1c57146105c95780637ead09e8146105dc578063811400fa1461060357600080fd5b806336568abe116102ad578063531acc131161024b5780636085057411610225578063608505741461058b57806361fca4551461059457806368f26f82146105a7578063695e122d146105b657600080fd5b8063531acc131461056257806359e0f36f1461056b5780635f1270791461057e57600080fd5b80633faed166116102875780633faed1661461052157806340db35e0146105345780634ce78490146105475780634ef1ccd11461054f57600080fd5b806336568abe146104e85780633e4af11f146104fb5780633f9832581461050e57600080fd5b806322d4a1751161031a578063248a9ca3116102f4578063248a9ca3146104965780632d7d41ab146104ba5780632f2ff15d146104cd57806332ec84d2146104e057600080fd5b806322d4a1751461046557806323991e4b14610478578063245513ce1461048d57600080fd5b806310a4f09f1161035657806310a4f09f146103f757806316762d7a1461041e5780631ee547e71461043f57806321e0e0cf1461045257600080fd5b806301ffc9a71461037d5780630c5bf351146103a55780630ded4a6f146103e4575b600080fd5b61039061038b366004613642565b610815565b60405190151581526020015b60405180910390f35b6103cc7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161039c565b600d546103cc906001600160a01b031681565b6103cc7f000000000000000000000000000000000000000000000000000000000000000081565b61043161042c366004613688565b610840565b60405190815260200161039c565b6008546103cc906001600160a01b031681565b6007546103cc906001600160a01b031681565b6104316104733660046136bd565b610b03565b61048b6104863660046136f0565b610bc7565b005b61043161271081565b6104316104a436600461370b565b6000908152600160208190526040909120015490565b61048b6104c83660046136bd565b610cdb565b61048b6104db366004613724565b610d97565b61048b610dbe565b61048b6104f6366004613724565b610e24565b61048b6105093660046136f0565b610ea2565b61048b61051c3660046136bd565b610fd6565b61048b61052f366004613761565b611345565b61048b6105423660046136f0565b611452565b61048b6114e2565b61048b61055d36600461370b565b611524565b61043160035481565b61048b6105793660046136f0565b611572565b6006546103909060ff1681565b61043160055481565b61048b6105a23660046136f0565b611676565b610431670de0b6b3a764000081565b61048b6105c4366004613761565b611705565b61048b6105d7366004613798565b611812565b6104317f000000000000000000000000000000000000000000000000000000000000000081565b600a546103cc906001600160a01b031681565b6104316106243660046136bd565b611838565b61048b6106373660046136f0565b611bdd565b61039061064a3660046136f0565b600f6020526000908152604090205460ff1681565b6006546103cc906201000090046001600160a01b031681565b61043160045481565b6103cc61068f3660046137c4565b611c6c565b6103906106a2366004613724565b611c8b565b610431600081565b61048b6106bd36600461370b565b611cb6565b610431600080516020613bd383398151915281565b61048b6106e53660046136f0565b611d04565b61048b611d94565b61048b6107003660046136f0565b611dd7565b60065461039090610100900460ff1681565b6104317fb94da9555321002e2f278a8e588b6b5c51fa2748893b00f6e45fc41af53493ab81565b6009546103cc906001600160a01b031681565b600b546103cc906001600160a01b031681565b61043161077236600461370b565b611e75565b61048b610785366004613724565b611e8c565b610431610798366004613688565b611eb3565b6104317f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b600c546103cc906001600160a01b031681565b61048b612002565b61048b6107ed36600461370b565b612066565b6103906108003660046136f0565b600e6020526000908152604090205460ff1681565b60006001600160e01b03198216635a05180f60e01b148061083a575061083a82612134565b92915050565b600060026000540361086d5760405162461bcd60e51b8152600401610864906137e6565b60405180910390fd5b60026000556040516323b872dd60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906323b872dd906108c29033903090899060040161381d565b6020604051808303816000875af11580156108e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109059190613841565b50604051636f074d1f60e11b8152600481018590527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063de0e9a3e90602401600060405180830381600087803b15801561096857600080fd5b505af115801561097c573d6000803e3d6000fd5b50506040516358af948f60e11b8152600481018790526000925061271091506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063b15f291e90602401602060405180830381865afa1580156109ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a10919061385e565b610a1a919061388d565b604051630852cd8d60e31b8152600481018290529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906342966c6890602401600060405180830381600087803b158015610a7f57600080fd5b505af1158015610a93573d6000803e3d6000fd5b50505050610aa2818585612169565b60408051838152602081018890526001600160a01b0387168183015260608101839052905191935033917f9ef7a247f6b9f5762b48aaef49860629bb5fec37c2e12bc46a980abd704ab0459181900360800190a25060016000559392505050565b6000600260005403610b275760405162461bcd60e51b8152600401610864906137e6565b6002600055610b378484846126db565b6040516340c10f1960e01b81529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906340c10f1990610b8890339085906004016138af565b600060405180830381600087803b158015610ba257600080fd5b505af1158015610bb6573d6000803e3d6000fd5b505060016000555090949350505050565b6000610bd38133612c59565b6001600160a01b038216610bfa57604051633d04535360e21b815260040160405180910390fd5b6009546040516001600160a01b038085169216907ff78e014ab86d7bb38135262d64726cef2e151dae47c0947a1d6bb970702c30d690600090a3600980546001600160a01b0319166001600160a01b038416908117909155604051637f19077160e01b8152637f19077190610c95907f00000000000000000000000000000000000000000000000000000000000000009030906004016138c8565b602060405180830381865afa158015610cb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd6919061385e565b505050565b600260005403610cfd5760405162461bcd60e51b8152600401610864906137e6565b6002600055610d0d838383612cbd565b6040516340c10f1960e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906340c10f1990610d5b90869086906004016138af565b600060405180830381600087803b158015610d7557600080fd5b505af1158015610d89573d6000803e3d6000fd5b505060016000555050505050565b60008281526001602081905260409091200154610db48133612c59565b610cd68383612fdb565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610de98133612c59565b6006805461ff0019166101001790556040517f60b78ed2d882d2d2387ad2b7119495f7c99dd9a9c191d3d02c35982a0750bcc690600090a150565b6001600160a01b0381163314610e945760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610864565b610e9e8282612ffd565b5050565b6000610eae8133612c59565b6001600160a01b038216610ed557604051632233f8fd60e21b815260040160405180910390fd5b6007546040516001600160a01b038085169216907f6c9074ba8ab5c258404464c9703de55127adb996134fd80d450ce94eb76ff59090600090a3600780546001600160a01b0319166001600160a01b0384811691821790925560405163b3596f0760e01b81527f0000000000000000000000000000000000000000000000000000000000000000909216600483015260009163b3596f0790602401602060405180830381865afa158015610f8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb1919061385e565b9050600554811015610cd657604051633b2f2ac960e11b815260040160405180910390fd5b600260005403610ff85760405162461bcd60e51b8152600401610864906137e6565b600260009081556040516358af948f60e11b815260048101849052612710907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063b15f291e90602401602060405180830381865afa158015611068573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108c919061385e565b611096919061388d565b90506110a3848284612cbd565b6040516340c10f1960e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906340c10f19906110f190309085906004016138af565b600060405180830381600087803b15801561110b57600080fd5b505af115801561111f573d6000803e3d6000fd5b505060405163095ea7b360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063095ea7b39150611191907f00000000000000000000000000000000000000000000000000000000000000009085906004016138af565b6020604051808303816000875af11580156111b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d49190613841565b50604051630ea598cb60e41b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063ea598cb090602401600060405180830381600087803b15801561123757600080fd5b505af115801561124b573d6000803e3d6000fd5b505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638fcb4e5b856127108461128d91906138e2565b6040518363ffffffff1660e01b81526004016112aa9291906138af565b6020604051808303816000875af11580156112c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ed919061385e565b5060408051828152602081018590529081018390526001600160a01b038516907ffd614e52d7b496f0d3f713f3a55ea6a08921356a6778f1565134f76da6731d6a9060600160405180910390a2505060016000555050565b60006113518133612c59565b6001600160a01b0383166113785760405163885ce5f160e01b815260040160405180910390fd5b81156113ee5760075460405163b3596f0760e01b81526001600160a01b0385811660048301529091169063b3596f0790602401602060405180830381865afa1580156113c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ec919061385e565b505b604051821515906001600160a01b038516907fb69d0cdc257fe2726a8ebd7602c8a681fd8152961d1c38a5d5b3090a4d96b20c90600090a3506001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b600061145e8133612c59565b6001600160a01b0382166114855760405163524d94d960e11b815260040160405180910390fd5b600d546040516001600160a01b038085169216907ff68d3e8139cf85c4c8ea147060134c79e97dbfa33f3f6a9d4cdec44ef467c74790600090a350600d80546001600160a01b0319166001600160a01b0392909216919091179055565b60006114ee8133612c59565b6006805460ff191690556040517f849babeb0c1b4e2b3842433574a5cdfe23ffde54c64651d42a6b02e8f98cbf8a90600090a150565b600080516020613bd383398151915261153d8133612c59565b6004546040518391907ffdaf6ed728cef208e62328a008209556f8281f3062b14dd08aaaa90fa159421190600090a350600455565b600061157e8133612c59565b6001600160a01b0382166115a557604051630b69326560e11b815260040160405180910390fd5b6008546040516001600160a01b038085169216907fdbc2a9769fa2b31eadfb16b690e3c783592becd0b822401b274a90a34d80b6dc90600090a3600880546001600160a01b0319166001600160a01b0384169081179091556040516334dae8d560e01b81526334dae8d590611640907f00000000000000000000000000000000000000000000000000000000000000009030906004016138c8565b600060405180830381600087803b15801561165a57600080fd5b505af115801561166e573d6000803e3d6000fd5b505050505050565b60006116828133612c59565b6001600160a01b0382166116a8576040516291d13760e51b815260040160405180910390fd5b600b546040516001600160a01b038085169216907f24fdea3a24a4edda22c10620f63628ed57f6b60d457d833035a316ab15684c9490600090a350600b80546001600160a01b0319166001600160a01b0392909216919091179055565b60006117118133612c59565b6001600160a01b0383166117385760405163885ce5f160e01b815260040160405180910390fd5b81156117ae5760075460405163b3596f0760e01b81526001600160a01b0385811660048301529091169063b3596f0790602401602060405180830381865afa158015611788573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ac919061385e565b505b604051821515906001600160a01b038516907f34e319579e041b2d04a5a9ff137ef4511e2db49d2da0512cdbe3845c32bc933a90600090a3506001600160a01b03919091166000908152600f60205260409020805460ff1916911515919091179055565b600061181e8133612c59565b6118326001600160a01b038516848461301f565b50505050565b600060026000540361185c5760405162461bcd60e51b8152600401610864906137e6565b600260009081556040516358af948f60e11b815260048101849052612710907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063b15f291e90602401602060405180830381865afa1580156118cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f0919061385e565b6118fa919061388d565b905060006119098686846126db565b6040516340c10f1960e01b81529091506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906340c10f199061195a90309085906004016138af565b600060405180830381600087803b15801561197457600080fd5b505af1158015611988573d6000803e3d6000fd5b505060405163095ea7b360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063095ea7b391506119fa907f00000000000000000000000000000000000000000000000000000000000000009085906004016138af565b6020604051808303816000875af1158015611a19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a3d9190613841565b50604051630ea598cb60e41b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063ea598cb090602401600060405180830381600087803b158015611aa057600080fd5b505af1158015611ab4573d6000803e3d6000fd5b505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638fcb4e5b611aee3390565b611afa612710856138e2565b6040518363ffffffff1660e01b8152600401611b179291906138af565b6020604051808303816000875af1158015611b36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b5a919061385e565b925083831015611b7d5760405163c5db0fc160e01b815260040160405180910390fd5b60408051828152602081018590526001600160a01b0388168183015260608101879052905133917f9d1b78864fb222ffcf82e2444ee22d6bb9cf52d41b71914f34e1597f23423ca4919081900360800190a2505060016000559392505050565b6000611be98133612c59565b6001600160a01b038216611c0f576040516291d13760e51b815260040160405180910390fd5b600c546040516001600160a01b038085169216907f849fba91aaeaa62c2a7f48c8ff7c26b006ca3ae247c1640072ecf571e31040c890600090a350600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6000828152600260205260408120611c849083613077565b9392505050565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020613bd3833981519152611ccf8133612c59565b6003546040518391907fe6e25add7363f8f8a40cbea9810d3115a33703b10972ef759104219b0065743690600090a350600355565b6000611d108133612c59565b6001600160a01b038216611d3757604051633aa9ba3360e01b815260040160405180910390fd5b600a546040516001600160a01b038085169216907fc54bf4c3067c1d8f65e053dafb5dbb699615b1b527d2866bd0223102bb2e692d90600090a350600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000611da08133612c59565b6006805461ff00191690556040517f687bf6e69dbabcc95e11041b4816a83f36dcf6ef647f6acf63e7469d28f5ea7390600090a150565b6000611de38133612c59565b6001600160a01b038216611e0a5760405163341d47c360e01b815260040160405180910390fd5b6006546040516001600160a01b038085169262010000900416907f132a375a3726b76fcc71a6992f19961145ed03f35eca19ad07381f43501c2b5e90600090a350600680546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b600081815260026020526040812061083a90613083565b60008281526001602081905260409091200154611ea98133612c59565b610cd68383612ffd565b6000600260005403611ed75760405162461bcd60e51b8152600401610864906137e6565b60026000556040516323b872dd60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906323b872dd90611f2c9033903090899060040161381d565b6020604051808303816000875af1158015611f4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6f9190613841565b50604051630852cd8d60e31b8152600481018590527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906342966c6890602401600060405180830381600087803b158015611fd257600080fd5b505af1158015611fe6573d6000803e3d6000fd5b50505050611ff5848484612169565b6001600055949350505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61202d8133612c59565b6006805460ff191660011790556040517fb9964f53255ea6cb323618cebc0c47de4f99089e9993d1862f24e2fdaf2a31e590600090a150565b600080516020613bd383398151915261207f8133612c59565b6005546040518391907f8ba90cff6e6e2b8e73cee7f3c5356cca13f1715f39f5eaa6164a99b49e497c8e90600090a350600555565b6120be8282611c8b565b610e9e5760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b6000611c84836001600160a01b03841661308d565b60006001600160e01b03198216637965db0b60e01b148061083a57506301ffc9a760e01b6001600160e01b031983161461083a565b600654600090610100900460ff161561219557604051630df65d9f60e01b815260040160405180910390fd5b6001600160a01b0383166000908152600f602052604090205460ff166121ce5760405163e51cf7bf60e01b815260040160405180910390fd5b6008546001600160a01b03166334dae8d57f0000000000000000000000000000000000000000000000000000000000000000336040518363ffffffff1660e01b815260040161221e9291906138c8565b600060405180830381600087803b15801561223857600080fd5b505af115801561224c573d6000803e3d6000fd5b5050600954604051637f19077160e01b8152600093506001600160a01b039091169150637f190771906122a5907f00000000000000000000000000000000000000000000000000000000000000009033906004016138c8565b602060405180830381865afa1580156122c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122e6919061385e565b90508061230657604051632163950f60e01b815260040160405180910390fd5b60007f0000000000000000000000000000000000000000000000000000000000000000866123326130dc565b61233c91906138e2565b612346919061388d565b905060045481101561236b5760405163680116dd60e11b815260040160405180910390fd5b600c5460405163c75af63560e01b81526000916001600160a01b03169063c75af635906123c2907f0000000000000000000000000000000000000000000000000000000000000000908a9088908890600401613901565b6020604051808303816000875af11580156123e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612405919061385e565b90508181111561242857604051635774f9b360e11b815260040160405180910390fd5b600a54604051637d4945b760e01b81526001600160a01b0390911690637d4945b79061247f906001907f0000000000000000000000000000000000000000000000000000000000000000908890889060040161392a565b600060405180830381600087803b15801561249957600080fd5b505af11580156124ad573d6000803e3d6000fd5b505060075460405163b3596f0760e01b81526001600160a01b038a81166004830152909116925063b3596f079150602401602060405180830381865afa1580156124fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061251f919061385e565b866001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801561255d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125819190613971565b61258c90600a613a78565b6125968385613a87565b6125a091906138e2565b6125aa919061388d565b9350848410156125cd57604051638f19033960e01b815260040160405180910390fd5b60065460405163071f2cab60e51b8152620100009091046001600160a01b03169063e3e5956090612628907f0000000000000000000000000000000000000000000000000000000000000000908a9088908a90600401613901565b600060405180830381600087803b15801561264257600080fd5b505af1158015612656573d6000803e3d6000fd5b505050506126756126643390565b6001600160a01b038816908661301f565b604080518881526001600160a01b03881660208201529081018590526060810183905260808101829052839033907f7023b7bcd020761014c9e1590603f4effceabc102cf0b8023c3f2b14db9ffb6e9060a0015b60405180910390a35050509392505050565b60065460009060ff1615612702576040516302822dcd60e51b815260040160405180910390fd5b6001600160a01b0384166000908152600e602052604090205460ff1661273b5760405163e51cf7bf60e01b815260040160405180910390fd5b6008546001600160a01b03166334dae8d57f0000000000000000000000000000000000000000000000000000000000000000336040518363ffffffff1660e01b815260040161278b9291906138c8565b600060405180830381600087803b1580156127a557600080fd5b505af11580156127b9573d6000803e3d6000fd5b5050600954604051637f19077160e01b8152600093506001600160a01b039091169150637f19077190612812907f00000000000000000000000000000000000000000000000000000000000000009033906004016138c8565b602060405180830381865afa15801561282f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612853919061385e565b90508061287357604051632163950f60e01b815260040160405180910390fd5b6128886001600160a01b038616333087613193565b6006546128a8906001600160a01b038781169162010000900416866131bb565b600654604051631f61f2f560e31b8152620100009091046001600160a01b03169063fb0f97a890612901907f0000000000000000000000000000000000000000000000000000000000000000908990899060040161381d565b600060405180830381600087803b15801561291b57600080fd5b505af115801561292f573d6000803e3d6000fd5b505050506000856001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015612973573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129979190613971565b6129a290600a613a78565b60075460405163b3596f0760e01b81526001600160a01b0389811660048301528892169063b3596f0790602401602060405180830381865afa1580156129ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a10919061385e565b612a1a91906138e2565b612a24919061388d565b9050600354811015612a49576040516367627d0760e01b815260040160405180910390fd5b600b5460405163c75af63560e01b81526000916001600160a01b03169063c75af63590612aa0907f0000000000000000000000000000000000000000000000000000000000000000908b9088908890600401613901565b6020604051808303816000875af1158015612abf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ae3919061385e565b905081811115612b065760405163566f172560e11b815260040160405180910390fd5b612b0e6130dc565b7f0000000000000000000000000000000000000000000000000000000000000000612b398385613a87565b612b4391906138e2565b612b4d919061388d565b935084841015612b705760405163c5db0fc160e01b815260040160405180910390fd5b600a54604051637d4945b760e01b81526001600160a01b0390911690637d4945b790612bc7906000907f0000000000000000000000000000000000000000000000000000000000000000908890889060040161392a565b600060405180830381600087803b158015612be157600080fd5b505af1158015612bf5573d6000803e3d6000fd5b5050505082612c013390565b604080518781526001600160a01b038b811660208301529181018a905260608101869052608081018590529116907f5c88561b046569d4773b016d48f154d22685738bfb692bb0f8478ec2ef36b79f9060a0016126c9565b612c638282611c8b565b610e9e57612c7b816001600160a01b0316601461324d565b612c8683602061324d565b604051602001612c97929190613abe565b60408051601f198184030181529082905262461bcd60e51b825261086491600401613b33565b60065460ff1615612ce1576040516302822dcd60e51b815260040160405180910390fd5b7fb94da9555321002e2f278a8e588b6b5c51fa2748893b00f6e45fc41af53493ab612d0c8133612c59565b6008546040516334dae8d560e01b81526001600160a01b03909116906334dae8d590612d5e907f00000000000000000000000000000000000000000000000000000000000000009088906004016138c8565b600060405180830381600087803b158015612d7857600080fd5b505af1158015612d8c573d6000803e3d6000fd5b5050600954604051637f19077160e01b8152600093506001600160a01b039091169150637f19077190612de5907f00000000000000000000000000000000000000000000000000000000000000009089906004016138c8565b602060405180830381865afa158015612e02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e26919061385e565b905080612e4657604051632163950f60e01b815260040160405180910390fd5b60007f0000000000000000000000000000000000000000000000000000000000000000612e716130dc565b612e7b90876138e2565b612e85919061388d565b600d54604051631e03bab960e21b81529192506001600160a01b03169063780eeae490612eb890339085906004016138af565b600060405180830381600087803b158015612ed257600080fd5b505af1158015612ee6573d6000803e3d6000fd5b5050600a54604051637d4945b760e01b81526001600160a01b039091169250637d4945b79150612f41906000907f0000000000000000000000000000000000000000000000000000000000000000908790879060040161392a565b600060405180830381600087803b158015612f5b57600080fd5b505af1158015612f6f573d6000803e3d6000fd5b5050505081866001600160a01b0316612f853390565b60408051898152602081018690529081018890526001600160a01b0391909116907f8153c95a1826b81124293b12cbbc293c0dfba473b563c61d9a9ff82aa4a1c7ad9060600160405180910390a4505050505050565b612fe582826120b4565b6000828152600260205260409020610cd6908261211f565b61300782826133e9565b6000828152600260205260409020610cd69082613450565b610cd683846001600160a01b031663a9059cbb85856040516024016130459291906138af565b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050613465565b6000611c8483836134d6565b600061083a825490565b60008181526001830160205260408120546130d45750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561083a565b50600061083a565b60075460405163b3596f0760e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152600092169063b3596f0790602401602060405180830381865afa158015613147573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061316b919061385e565b905060055481101561319057604051633b2f2ac960e11b815260040160405180910390fd5b90565b61183284856001600160a01b03166323b872dd8686866040516024016130459392919061381d565b6000836001600160a01b031663095ea7b384846040516024016131df9291906138af565b604051602081830303815290604052915060e01b6020820180516001600160e01b03838183161783525050505090506132188482613500565b6118325761324384856001600160a01b031663095ea7b38660006040516024016130459291906138af565b6118328482613465565b6060600061325c8360026138e2565b613267906002613b66565b67ffffffffffffffff81111561327f5761327f613b79565b6040519080825280601f01601f1916602001820160405280156132a9576020820181803683370190505b509050600360fc1b816000815181106132c4576132c4613b8f565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106132f3576132f3613b8f565b60200101906001600160f81b031916908160001a90535060006133178460026138e2565b613322906001613b66565b90505b600181111561339a576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061335657613356613b8f565b1a60f81b82828151811061336c5761336c613b8f565b60200101906001600160f81b031916908160001a90535060049490941c9361339381613ba5565b9050613325565b508315611c845760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610864565b6133f38282611c8b565b15610e9e5760008281526001602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000611c84836001600160a01b03841661354f565b600080602060008451602086016000885af180613488576040513d6000823e3d81fd5b50506000513d915081156134a05780600114156134ad565b6001600160a01b0384163b155b1561183257604051635274afe760e01b81526001600160a01b0385166004820152602401610864565b60008260000182815481106134ed576134ed613b8f565b9060005260206000200154905092915050565b6000806000806020600086516020880160008a5af192503d91506000519050828015613545575081156135365780600114613545565b6000866001600160a01b03163b115b9695505050505050565b60008181526001830160205260408120548015613638576000613573600183613a87565b855490915060009061358790600190613a87565b90508181146135ec5760008660000182815481106135a7576135a7613b8f565b90600052602060002001549050808760000184815481106135ca576135ca613b8f565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806135fd576135fd613bbc565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061083a565b600091505061083a565b60006020828403121561365457600080fd5b81356001600160e01b031981168114611c8457600080fd5b80356001600160a01b038116811461368357600080fd5b919050565b60008060006060848603121561369d57600080fd5b833592506136ad6020850161366c565b9150604084013590509250925092565b6000806000606084860312156136d257600080fd5b6136db8461366c565b95602085013595506040909401359392505050565b60006020828403121561370257600080fd5b611c848261366c565b60006020828403121561371d57600080fd5b5035919050565b6000806040838503121561373757600080fd5b823591506137476020840161366c565b90509250929050565b801515811461375e57600080fd5b50565b6000806040838503121561377457600080fd5b61377d8361366c565b9150602083013561378d81613750565b809150509250929050565b6000806000606084860312156137ad57600080fd5b6137b68461366c565b92506136ad6020850161366c565b600080604083850312156137d757600080fd5b50508035926020909101359150565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60006020828403121561385357600080fd5b8151611c8481613750565b60006020828403121561387057600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b6000826138aa57634e487b7160e01b600052601260045260246000fd5b500490565b6001600160a01b03929092168252602082015260400190565b6001600160a01b0392831681529116602082015260400190565b60008160001904831182151516156138fc576138fc613877565b500290565b6001600160a01b0394851681529290931660208301526040820152606081019190915260800190565b608081016002861061394c57634e487b7160e01b600052602160045260246000fd5b9481526001600160a01b03939093166020840152604083019190915260609091015290565b60006020828403121561398357600080fd5b815160ff81168114611c8457600080fd5b600181815b808511156139cf5781600019048211156139b5576139b5613877565b808516156139c257918102915b93841c9390800290613999565b509250929050565b6000826139e65750600161083a565b816139f35750600061083a565b8160018114613a095760028114613a1357613a2f565b600191505061083a565b60ff841115613a2457613a24613877565b50506001821b61083a565b5060208310610133831016604e8410600b8410161715613a52575081810a61083a565b613a5c8383613994565b8060001904821115613a7057613a70613877565b029392505050565b6000611c8460ff8416836139d7565b8181038181111561083a5761083a613877565b60005b83811015613ab5578181015183820152602001613a9d565b50506000910152565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613af6816017850160208801613a9a565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613b27816028840160208801613a9a565b01602801949350505050565b6020815260008251806020840152613b52816040850160208701613a9a565b601f01601f19169190910160400192915050565b8082018082111561083a5761083a613877565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081613bb457613bb4613877565b506000190190565b634e487b7160e01b600052603160045260246000fdfef45c97b23e2beeefda80e1ce5cb3e234aa7b6888ad5cbabb75bfd654dd8e102da26469706673582212206b3d1ae2de87393fe963ec5f8872f8cbb8779d18a8a5aefca212b05fc28e2fdb64736f6c63430008100033","sourceMap":"2035:9322:50:-:0;;;4391:387;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1679:1:19;1774:7;:22;4576:13:50;4597:9;4614:21;4643:24;-1:-1:-1;;;;;6475:23:47;;6471:60;;6507:24;;-1:-1:-1;;;6507:24:47;;;;;;;;;;;6471:60;-1:-1:-1;;;;;6538:20:47;;;;;;6587:36;;;-1:-1:-1;;;6587:36:47;;;;:34;;:36;;;;;;;;;;;;;;;6538:20;6587:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6581:42;;:2;:42;:::i;:::-;6564:59;;6629:17;:38;;;6673:20;:44;;;6723:45;-1:-1:-1;6754:13:47;6723:10;:45::i;:::-;-1:-1:-1;;;;;;;;4686:20:50;::::1;::::0;-1:-1:-1;4682:64:50::1;;4715:31;;-1:-1:-1::0;;;4715:31:50::1;;;;;;;;;;;4682:64;-1:-1:-1::0;;;;;;;4752:21:50::1;;::::0;-1:-1:-1;2035:9322:50;;-1:-1:-1;2035:9322:50;2111:156:16;2194:31;2211:4;2217:7;2194:16;;;;;:31;;:::i;:::-;2231:18;;;;:12;:18;;;;;;;;:31;;2254:7;;2231:22;;;;;:31;;:::i;:::-;;2111:156;;:::o;6749:211:15:-;3129:4;3150:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;3150:29:15;;;;;;;;;;;;6823:133;;6860:12;;;;6892:4;6860:12;;;;;;;;-1:-1:-1;;;;;6860:29:15;;;;;;;;;;:36;;-1:-1:-1;;6860:36:15;;;;;;;6909:40;;713:10:23;;6860:12:15;;6909:40;;6860:12;6909:40;6823:133;6749:211;;:::o;7180:144:25:-;7250:4;7269:50;7274:3;-1:-1:-1;;;;;7294:23:25;;7269:4;:50::i;:::-;7262:57;;7180:144;;;;;:::o;1643:354::-;1706:4;3572:19;;;:12;;;:19;;;;;;1718:275;;-1:-1:-1;1754:23:25;;;;;;;;:11;:23;;;;;;;;;;;;;1916:18;;1894:19;;;:12;;;:19;;;;;;:40;;;;1942:11;;1718:275;-1:-1:-1;1981:5:25;1974:12;;14:177:51;93:13;;-1:-1:-1;;;;;135:31:51;;125:42;;115:70;;181:1;178;171:12;115:70;14:177;;;:::o;196:502::-;302:6;310;318;326;334;387:3;375:9;366:7;362:23;358:33;355:53;;;404:1;401;394:12;355:53;427:40;457:9;427:40;:::i;:::-;417:50;;486:49;531:2;520:9;516:18;486:49;:::i;:::-;476:59;;554:49;599:2;588:9;584:18;554:49;:::i;:::-;643:2;628:18;;622:25;687:3;672:19;;;666:26;196:502;;;;-1:-1:-1;544:59:51;622:25;666:26;196:502;-1:-1:-1;;;196:502:51:o;703:273::-;771:6;824:2;812:9;803:7;799:23;795:32;792:52;;;840:1;837;830:12;792:52;872:9;866:16;922:4;915:5;911:16;904:5;901:27;891:55;;942:1;939;932:12;891:55;965:5;703:273;-1:-1:-1;;;703:273:51:o;981:127::-;1042:10;1037:3;1033:20;1030:1;1023:31;1073:4;1070:1;1063:15;1097:4;1094:1;1087:15;1113:422;1202:1;1245:5;1202:1;1259:270;1280:7;1270:8;1267:21;1259:270;;;1339:4;1335:1;1331:6;1327:17;1321:4;1318:27;1315:53;;;1348:18;;:::i;:::-;1398:7;1388:8;1384:22;1381:55;;;1418:16;;;;1381:55;1497:22;;;;1457:15;;;;1259:270;;;1263:3;1113:422;;;;;:::o;1540:806::-;1589:5;1619:8;1609:80;;-1:-1:-1;1660:1:51;1674:5;;1609:80;1708:4;1698:76;;-1:-1:-1;1745:1:51;1759:5;;1698:76;1790:4;1808:1;1803:59;;;;1876:1;1871:130;;;;1783:218;;1803:59;1833:1;1824:10;;1847:5;;;1871:130;1908:3;1898:8;1895:17;1892:43;;;1915:18;;:::i;:::-;-1:-1:-1;;1971:1:51;1957:16;;1986:5;;1783:218;;2085:2;2075:8;2072:16;2066:3;2060:4;2057:13;2053:36;2047:2;2037:8;2034:16;2029:2;2023:4;2020:12;2016:35;2013:77;2010:159;;;-1:-1:-1;2122:19:51;;;2154:5;;2010:159;2201:34;2226:8;2220:4;2201:34;:::i;:::-;2271:6;2267:1;2263:6;2259:19;2250:7;2247:32;2244:58;;;2282:18;;:::i;:::-;2320:20;;1540:806;-1:-1:-1;;;1540:806:51:o;2351:140::-;2409:5;2438:47;2479:4;2469:8;2465:19;2459:4;2438:47;:::i;2351:140::-;2035:9322:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa26469706673582212206b3d1ae2de87393fe963ec5f8872f8cbb8779d18a8a5aefca212b05fc28e2fdb64736f6c63430008100033","offset":16772}},"transformations":[{"id":"1","type":"replace","offset":16772,"reason":"cborAuxdata"},{"type":"insert","offset":16825,"reason":"constructorArguments"}],"transformationValues":{"cborAuxdata":{"1":"0xa2646970667358221220b36c68333eacbc0fb788b29b7499d75cfd90c1b8511eed3b0987bcc335b444aa64736f6c63430008100033"},"constructorArguments":"0x0000000000000000000000001dd6bcf6d188f11d8de64b5c8575fb86c4b3d9ff00000000000000000000000096f6ef951840721adbf46ac996b59e0235cb985c000000000000000000000000af37c1167910ebc994e266949387d2c7c326b8790000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000de0b6b3a7640000"}},"runtimeBytecode":{"onchainBytecode":"0x608060405234801561001057600080fd5b50600436106103785760003560e01c80637b0e1c57116101d3578063af3345d111610104578063d547741f116100a2578063e64338341161007c578063e6433834146107c4578063f3a408da146107d7578063fd84a072146107df578063fe6f14c5146107f257600080fd5b8063d547741f14610777578063d87801611461078a578063e63ab1e91461079d57600080fd5b8063ba2a1c4d116100de578063ba2a1c4d14610717578063c768b1451461073e578063c8e1585d14610751578063ca15c8731461076457600080fd5b8063af3345d1146106ea578063afb6794e146106f2578063b235d4681461070557600080fd5b80638f8eb81211610171578063a217fddf1161014b578063a217fddf146106a7578063aab483d6146106af578063abbb9f4c146106c2578063ad129e77146106d757600080fd5b80638f8eb812146106785780639010d07c1461068157806391d148541461069457600080fd5b80638133067e116101ad5780638133067e1461061657806386dd535c14610629578063884a05011461063c5780638f4f96131461065f57600080fd5b80637b0e1c57146105c95780637ead09e8146105dc578063811400fa1461060357600080fd5b806336568abe116102ad578063531acc131161024b5780636085057411610225578063608505741461058b57806361fca4551461059457806368f26f82146105a7578063695e122d146105b657600080fd5b8063531acc131461056257806359e0f36f1461056b5780635f1270791461057e57600080fd5b80633faed166116102875780633faed1661461052157806340db35e0146105345780634ce78490146105475780634ef1ccd11461054f57600080fd5b806336568abe146104e85780633e4af11f146104fb5780633f9832581461050e57600080fd5b806322d4a1751161031a578063248a9ca3116102f4578063248a9ca3146104965780632d7d41ab146104ba5780632f2ff15d146104cd57806332ec84d2146104e057600080fd5b806322d4a1751461046557806323991e4b14610478578063245513ce1461048d57600080fd5b806310a4f09f1161035657806310a4f09f146103f757806316762d7a1461041e5780631ee547e71461043f57806321e0e0cf1461045257600080fd5b806301ffc9a71461037d5780630c5bf351146103a55780630ded4a6f146103e4575b600080fd5b61039061038b366004613642565b610815565b60405190151581526020015b60405180910390f35b6103cc7f00000000000000000000000096f6ef951840721adbf46ac996b59e0235cb985c81565b6040516001600160a01b03909116815260200161039c565b600d546103cc906001600160a01b031681565b6103cc7f000000000000000000000000af37c1167910ebc994e266949387d2c7c326b87981565b61043161042c366004613688565b610840565b60405190815260200161039c565b6008546103cc906001600160a01b031681565b6007546103cc906001600160a01b031681565b6104316104733660046136bd565b610b03565b61048b6104863660046136f0565b610bc7565b005b61043161271081565b6104316104a436600461370b565b6000908152600160208190526040909120015490565b61048b6104c83660046136bd565b610cdb565b61048b6104db366004613724565b610d97565b61048b610dbe565b61048b6104f6366004613724565b610e24565b61048b6105093660046136f0565b610ea2565b61048b61051c3660046136bd565b610fd6565b61048b61052f366004613761565b611345565b61048b6105423660046136f0565b611452565b61048b6114e2565b61048b61055d36600461370b565b611524565b61043160035481565b61048b6105793660046136f0565b611572565b6006546103909060ff1681565b61043160055481565b61048b6105a23660046136f0565b611676565b610431670de0b6b3a764000081565b61048b6105c4366004613761565b611705565b61048b6105d7366004613798565b611812565b6104317f0000000000000000000000000000000000000000000000000de0b6b3a764000081565b600a546103cc906001600160a01b031681565b6104316106243660046136bd565b611838565b61048b6106373660046136f0565b611bdd565b61039061064a3660046136f0565b600f6020526000908152604090205460ff1681565b6006546103cc906201000090046001600160a01b031681565b61043160045481565b6103cc61068f3660046137c4565b611c6c565b6103906106a2366004613724565b611c8b565b610431600081565b61048b6106bd36600461370b565b611cb6565b610431600080516020613bd383398151915281565b61048b6106e53660046136f0565b611d04565b61048b611d94565b61048b6107003660046136f0565b611dd7565b60065461039090610100900460ff1681565b6104317fb94da9555321002e2f278a8e588b6b5c51fa2748893b00f6e45fc41af53493ab81565b6009546103cc906001600160a01b031681565b600b546103cc906001600160a01b031681565b61043161077236600461370b565b611e75565b61048b610785366004613724565b611e8c565b610431610798366004613688565b611eb3565b6104317f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b600c546103cc906001600160a01b031681565b61048b612002565b61048b6107ed36600461370b565b612066565b6103906108003660046136f0565b600e6020526000908152604090205460ff1681565b60006001600160e01b03198216635a05180f60e01b148061083a575061083a82612134565b92915050565b600060026000540361086d5760405162461bcd60e51b8152600401610864906137e6565b60405180910390fd5b60026000556040516323b872dd60e01b81526001600160a01b037f000000000000000000000000af37c1167910ebc994e266949387d2c7c326b87916906323b872dd906108c29033903090899060040161381d565b6020604051808303816000875af11580156108e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109059190613841565b50604051636f074d1f60e11b8152600481018590527f000000000000000000000000af37c1167910ebc994e266949387d2c7c326b8796001600160a01b03169063de0e9a3e90602401600060405180830381600087803b15801561096857600080fd5b505af115801561097c573d6000803e3d6000fd5b50506040516358af948f60e11b8152600481018790526000925061271091506001600160a01b037f000000000000000000000000af37c1167910ebc994e266949387d2c7c326b879169063b15f291e90602401602060405180830381865afa1580156109ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a10919061385e565b610a1a919061388d565b604051630852cd8d60e31b8152600481018290529091507f00000000000000000000000096f6ef951840721adbf46ac996b59e0235cb985c6001600160a01b0316906342966c6890602401600060405180830381600087803b158015610a7f57600080fd5b505af1158015610a93573d6000803e3d6000fd5b50505050610aa2818585612169565b60408051838152602081018890526001600160a01b0387168183015260608101839052905191935033917f9ef7a247f6b9f5762b48aaef49860629bb5fec37c2e12bc46a980abd704ab0459181900360800190a25060016000559392505050565b6000600260005403610b275760405162461bcd60e51b8152600401610864906137e6565b6002600055610b378484846126db565b6040516340c10f1960e01b81529091507f00000000000000000000000096f6ef951840721adbf46ac996b59e0235cb985c6001600160a01b0316906340c10f1990610b8890339085906004016138af565b600060405180830381600087803b158015610ba257600080fd5b505af1158015610bb6573d6000803e3d6000fd5b505060016000555090949350505050565b6000610bd38133612c59565b6001600160a01b038216610bfa57604051633d04535360e21b815260040160405180910390fd5b6009546040516001600160a01b038085169216907ff78e014ab86d7bb38135262d64726cef2e151dae47c0947a1d6bb970702c30d690600090a3600980546001600160a01b0319166001600160a01b038416908117909155604051637f19077160e01b8152637f19077190610c95907f00000000000000000000000096f6ef951840721adbf46ac996b59e0235cb985c9030906004016138c8565b602060405180830381865afa158015610cb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd6919061385e565b505050565b600260005403610cfd5760405162461bcd60e51b8152600401610864906137e6565b6002600055610d0d838383612cbd565b6040516340c10f1960e01b81526001600160a01b037f00000000000000000000000096f6ef951840721adbf46ac996b59e0235cb985c16906340c10f1990610d5b90869086906004016138af565b600060405180830381600087803b158015610d7557600080fd5b505af1158015610d89573d6000803e3d6000fd5b505060016000555050505050565b60008281526001602081905260409091200154610db48133612c59565b610cd68383612fdb565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610de98133612c59565b6006805461ff0019166101001790556040517f60b78ed2d882d2d2387ad2b7119495f7c99dd9a9c191d3d02c35982a0750bcc690600090a150565b6001600160a01b0381163314610e945760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610864565b610e9e8282612ffd565b5050565b6000610eae8133612c59565b6001600160a01b038216610ed557604051632233f8fd60e21b815260040160405180910390fd5b6007546040516001600160a01b038085169216907f6c9074ba8ab5c258404464c9703de55127adb996134fd80d450ce94eb76ff59090600090a3600780546001600160a01b0319166001600160a01b0384811691821790925560405163b3596f0760e01b81527f00000000000000000000000096f6ef951840721adbf46ac996b59e0235cb985c909216600483015260009163b3596f0790602401602060405180830381865afa158015610f8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb1919061385e565b9050600554811015610cd657604051633b2f2ac960e11b815260040160405180910390fd5b600260005403610ff85760405162461bcd60e51b8152600401610864906137e6565b600260009081556040516358af948f60e11b815260048101849052612710907f000000000000000000000000af37c1167910ebc994e266949387d2c7c326b8796001600160a01b03169063b15f291e90602401602060405180830381865afa158015611068573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108c919061385e565b611096919061388d565b90506110a3848284612cbd565b6040516340c10f1960e01b81526001600160a01b037f00000000000000000000000096f6ef951840721adbf46ac996b59e0235cb985c16906340c10f19906110f190309085906004016138af565b600060405180830381600087803b15801561110b57600080fd5b505af115801561111f573d6000803e3d6000fd5b505060405163095ea7b360e01b81526001600160a01b037f00000000000000000000000096f6ef951840721adbf46ac996b59e0235cb985c16925063095ea7b39150611191907f000000000000000000000000af37c1167910ebc994e266949387d2c7c326b8799085906004016138af565b6020604051808303816000875af11580156111b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d49190613841565b50604051630ea598cb60e41b8152600481018290527f000000000000000000000000af37c1167910ebc994e266949387d2c7c326b8796001600160a01b03169063ea598cb090602401600060405180830381600087803b15801561123757600080fd5b505af115801561124b573d6000803e3d6000fd5b505050507f000000000000000000000000af37c1167910ebc994e266949387d2c7c326b8796001600160a01b0316638fcb4e5b856127108461128d91906138e2565b6040518363ffffffff1660e01b81526004016112aa9291906138af565b6020604051808303816000875af11580156112c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ed919061385e565b5060408051828152602081018590529081018390526001600160a01b038516907ffd614e52d7b496f0d3f713f3a55ea6a08921356a6778f1565134f76da6731d6a9060600160405180910390a2505060016000555050565b60006113518133612c59565b6001600160a01b0383166113785760405163885ce5f160e01b815260040160405180910390fd5b81156113ee5760075460405163b3596f0760e01b81526001600160a01b0385811660048301529091169063b3596f0790602401602060405180830381865afa1580156113c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ec919061385e565b505b604051821515906001600160a01b038516907fb69d0cdc257fe2726a8ebd7602c8a681fd8152961d1c38a5d5b3090a4d96b20c90600090a3506001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b600061145e8133612c59565b6001600160a01b0382166114855760405163524d94d960e11b815260040160405180910390fd5b600d546040516001600160a01b038085169216907ff68d3e8139cf85c4c8ea147060134c79e97dbfa33f3f6a9d4cdec44ef467c74790600090a350600d80546001600160a01b0319166001600160a01b0392909216919091179055565b60006114ee8133612c59565b6006805460ff191690556040517f849babeb0c1b4e2b3842433574a5cdfe23ffde54c64651d42a6b02e8f98cbf8a90600090a150565b600080516020613bd383398151915261153d8133612c59565b6004546040518391907ffdaf6ed728cef208e62328a008209556f8281f3062b14dd08aaaa90fa159421190600090a350600455565b600061157e8133612c59565b6001600160a01b0382166115a557604051630b69326560e11b815260040160405180910390fd5b6008546040516001600160a01b038085169216907fdbc2a9769fa2b31eadfb16b690e3c783592becd0b822401b274a90a34d80b6dc90600090a3600880546001600160a01b0319166001600160a01b0384169081179091556040516334dae8d560e01b81526334dae8d590611640907f00000000000000000000000096f6ef951840721adbf46ac996b59e0235cb985c9030906004016138c8565b600060405180830381600087803b15801561165a57600080fd5b505af115801561166e573d6000803e3d6000fd5b505050505050565b60006116828133612c59565b6001600160a01b0382166116a8576040516291d13760e51b815260040160405180910390fd5b600b546040516001600160a01b038085169216907f24fdea3a24a4edda22c10620f63628ed57f6b60d457d833035a316ab15684c9490600090a350600b80546001600160a01b0319166001600160a01b0392909216919091179055565b60006117118133612c59565b6001600160a01b0383166117385760405163885ce5f160e01b815260040160405180910390fd5b81156117ae5760075460405163b3596f0760e01b81526001600160a01b0385811660048301529091169063b3596f0790602401602060405180830381865afa158015611788573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ac919061385e565b505b604051821515906001600160a01b038516907f34e319579e041b2d04a5a9ff137ef4511e2db49d2da0512cdbe3845c32bc933a90600090a3506001600160a01b03919091166000908152600f60205260409020805460ff1916911515919091179055565b600061181e8133612c59565b6118326001600160a01b038516848461301f565b50505050565b600060026000540361185c5760405162461bcd60e51b8152600401610864906137e6565b600260009081556040516358af948f60e11b815260048101849052612710907f000000000000000000000000af37c1167910ebc994e266949387d2c7c326b8796001600160a01b03169063b15f291e90602401602060405180830381865afa1580156118cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f0919061385e565b6118fa919061388d565b905060006119098686846126db565b6040516340c10f1960e01b81529091506001600160a01b037f00000000000000000000000096f6ef951840721adbf46ac996b59e0235cb985c16906340c10f199061195a90309085906004016138af565b600060405180830381600087803b15801561197457600080fd5b505af1158015611988573d6000803e3d6000fd5b505060405163095ea7b360e01b81526001600160a01b037f00000000000000000000000096f6ef951840721adbf46ac996b59e0235cb985c16925063095ea7b391506119fa907f000000000000000000000000af37c1167910ebc994e266949387d2c7c326b8799085906004016138af565b6020604051808303816000875af1158015611a19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a3d9190613841565b50604051630ea598cb60e41b8152600481018290527f000000000000000000000000af37c1167910ebc994e266949387d2c7c326b8796001600160a01b03169063ea598cb090602401600060405180830381600087803b158015611aa057600080fd5b505af1158015611ab4573d6000803e3d6000fd5b505050507f000000000000000000000000af37c1167910ebc994e266949387d2c7c326b8796001600160a01b0316638fcb4e5b611aee3390565b611afa612710856138e2565b6040518363ffffffff1660e01b8152600401611b179291906138af565b6020604051808303816000875af1158015611b36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b5a919061385e565b925083831015611b7d5760405163c5db0fc160e01b815260040160405180910390fd5b60408051828152602081018590526001600160a01b0388168183015260608101879052905133917f9d1b78864fb222ffcf82e2444ee22d6bb9cf52d41b71914f34e1597f23423ca4919081900360800190a2505060016000559392505050565b6000611be98133612c59565b6001600160a01b038216611c0f576040516291d13760e51b815260040160405180910390fd5b600c546040516001600160a01b038085169216907f849fba91aaeaa62c2a7f48c8ff7c26b006ca3ae247c1640072ecf571e31040c890600090a350600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6000828152600260205260408120611c849083613077565b9392505050565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020613bd3833981519152611ccf8133612c59565b6003546040518391907fe6e25add7363f8f8a40cbea9810d3115a33703b10972ef759104219b0065743690600090a350600355565b6000611d108133612c59565b6001600160a01b038216611d3757604051633aa9ba3360e01b815260040160405180910390fd5b600a546040516001600160a01b038085169216907fc54bf4c3067c1d8f65e053dafb5dbb699615b1b527d2866bd0223102bb2e692d90600090a350600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000611da08133612c59565b6006805461ff00191690556040517f687bf6e69dbabcc95e11041b4816a83f36dcf6ef647f6acf63e7469d28f5ea7390600090a150565b6000611de38133612c59565b6001600160a01b038216611e0a5760405163341d47c360e01b815260040160405180910390fd5b6006546040516001600160a01b038085169262010000900416907f132a375a3726b76fcc71a6992f19961145ed03f35eca19ad07381f43501c2b5e90600090a350600680546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b600081815260026020526040812061083a90613083565b60008281526001602081905260409091200154611ea98133612c59565b610cd68383612ffd565b6000600260005403611ed75760405162461bcd60e51b8152600401610864906137e6565b60026000556040516323b872dd60e01b81526001600160a01b037f00000000000000000000000096f6ef951840721adbf46ac996b59e0235cb985c16906323b872dd90611f2c9033903090899060040161381d565b6020604051808303816000875af1158015611f4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6f9190613841565b50604051630852cd8d60e31b8152600481018590527f00000000000000000000000096f6ef951840721adbf46ac996b59e0235cb985c6001600160a01b0316906342966c6890602401600060405180830381600087803b158015611fd257600080fd5b505af1158015611fe6573d6000803e3d6000fd5b50505050611ff5848484612169565b6001600055949350505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61202d8133612c59565b6006805460ff191660011790556040517fb9964f53255ea6cb323618cebc0c47de4f99089e9993d1862f24e2fdaf2a31e590600090a150565b600080516020613bd383398151915261207f8133612c59565b6005546040518391907f8ba90cff6e6e2b8e73cee7f3c5356cca13f1715f39f5eaa6164a99b49e497c8e90600090a350600555565b6120be8282611c8b565b610e9e5760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b6000611c84836001600160a01b03841661308d565b60006001600160e01b03198216637965db0b60e01b148061083a57506301ffc9a760e01b6001600160e01b031983161461083a565b600654600090610100900460ff161561219557604051630df65d9f60e01b815260040160405180910390fd5b6001600160a01b0383166000908152600f602052604090205460ff166121ce5760405163e51cf7bf60e01b815260040160405180910390fd5b6008546001600160a01b03166334dae8d57f00000000000000000000000096f6ef951840721adbf46ac996b59e0235cb985c336040518363ffffffff1660e01b815260040161221e9291906138c8565b600060405180830381600087803b15801561223857600080fd5b505af115801561224c573d6000803e3d6000fd5b5050600954604051637f19077160e01b8152600093506001600160a01b039091169150637f190771906122a5907f00000000000000000000000096f6ef951840721adbf46ac996b59e0235cb985c9033906004016138c8565b602060405180830381865afa1580156122c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122e6919061385e565b90508061230657604051632163950f60e01b815260040160405180910390fd5b60007f0000000000000000000000000000000000000000000000000de0b6b3a7640000866123326130dc565b61233c91906138e2565b612346919061388d565b905060045481101561236b5760405163680116dd60e11b815260040160405180910390fd5b600c5460405163c75af63560e01b81526000916001600160a01b03169063c75af635906123c2907f00000000000000000000000096f6ef951840721adbf46ac996b59e0235cb985c908a9088908890600401613901565b6020604051808303816000875af11580156123e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612405919061385e565b90508181111561242857604051635774f9b360e11b815260040160405180910390fd5b600a54604051637d4945b760e01b81526001600160a01b0390911690637d4945b79061247f906001907f00000000000000000000000096f6ef951840721adbf46ac996b59e0235cb985c908890889060040161392a565b600060405180830381600087803b15801561249957600080fd5b505af11580156124ad573d6000803e3d6000fd5b505060075460405163b3596f0760e01b81526001600160a01b038a81166004830152909116925063b3596f079150602401602060405180830381865afa1580156124fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061251f919061385e565b866001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801561255d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125819190613971565b61258c90600a613a78565b6125968385613a87565b6125a091906138e2565b6125aa919061388d565b9350848410156125cd57604051638f19033960e01b815260040160405180910390fd5b60065460405163071f2cab60e51b8152620100009091046001600160a01b03169063e3e5956090612628907f00000000000000000000000096f6ef951840721adbf46ac996b59e0235cb985c908a9088908a90600401613901565b600060405180830381600087803b15801561264257600080fd5b505af1158015612656573d6000803e3d6000fd5b505050506126756126643390565b6001600160a01b038816908661301f565b604080518881526001600160a01b03881660208201529081018590526060810183905260808101829052839033907f7023b7bcd020761014c9e1590603f4effceabc102cf0b8023c3f2b14db9ffb6e9060a0015b60405180910390a35050509392505050565b60065460009060ff1615612702576040516302822dcd60e51b815260040160405180910390fd5b6001600160a01b0384166000908152600e602052604090205460ff1661273b5760405163e51cf7bf60e01b815260040160405180910390fd5b6008546001600160a01b03166334dae8d57f00000000000000000000000096f6ef951840721adbf46ac996b59e0235cb985c336040518363ffffffff1660e01b815260040161278b9291906138c8565b600060405180830381600087803b1580156127a557600080fd5b505af11580156127b9573d6000803e3d6000fd5b5050600954604051637f19077160e01b8152600093506001600160a01b039091169150637f19077190612812907f00000000000000000000000096f6ef951840721adbf46ac996b59e0235cb985c9033906004016138c8565b602060405180830381865afa15801561282f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612853919061385e565b90508061287357604051632163950f60e01b815260040160405180910390fd5b6128886001600160a01b038616333087613193565b6006546128a8906001600160a01b038781169162010000900416866131bb565b600654604051631f61f2f560e31b8152620100009091046001600160a01b03169063fb0f97a890612901907f00000000000000000000000096f6ef951840721adbf46ac996b59e0235cb985c908990899060040161381d565b600060405180830381600087803b15801561291b57600080fd5b505af115801561292f573d6000803e3d6000fd5b505050506000856001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015612973573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129979190613971565b6129a290600a613a78565b60075460405163b3596f0760e01b81526001600160a01b0389811660048301528892169063b3596f0790602401602060405180830381865afa1580156129ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a10919061385e565b612a1a91906138e2565b612a24919061388d565b9050600354811015612a49576040516367627d0760e01b815260040160405180910390fd5b600b5460405163c75af63560e01b81526000916001600160a01b03169063c75af63590612aa0907f00000000000000000000000096f6ef951840721adbf46ac996b59e0235cb985c908b9088908890600401613901565b6020604051808303816000875af1158015612abf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ae3919061385e565b905081811115612b065760405163566f172560e11b815260040160405180910390fd5b612b0e6130dc565b7f0000000000000000000000000000000000000000000000000de0b6b3a7640000612b398385613a87565b612b4391906138e2565b612b4d919061388d565b935084841015612b705760405163c5db0fc160e01b815260040160405180910390fd5b600a54604051637d4945b760e01b81526001600160a01b0390911690637d4945b790612bc7906000907f00000000000000000000000096f6ef951840721adbf46ac996b59e0235cb985c908890889060040161392a565b600060405180830381600087803b158015612be157600080fd5b505af1158015612bf5573d6000803e3d6000fd5b5050505082612c013390565b604080518781526001600160a01b038b811660208301529181018a905260608101869052608081018590529116907f5c88561b046569d4773b016d48f154d22685738bfb692bb0f8478ec2ef36b79f9060a0016126c9565b612c638282611c8b565b610e9e57612c7b816001600160a01b0316601461324d565b612c8683602061324d565b604051602001612c97929190613abe565b60408051601f198184030181529082905262461bcd60e51b825261086491600401613b33565b60065460ff1615612ce1576040516302822dcd60e51b815260040160405180910390fd5b7fb94da9555321002e2f278a8e588b6b5c51fa2748893b00f6e45fc41af53493ab612d0c8133612c59565b6008546040516334dae8d560e01b81526001600160a01b03909116906334dae8d590612d5e907f00000000000000000000000096f6ef951840721adbf46ac996b59e0235cb985c9088906004016138c8565b600060405180830381600087803b158015612d7857600080fd5b505af1158015612d8c573d6000803e3d6000fd5b5050600954604051637f19077160e01b8152600093506001600160a01b039091169150637f19077190612de5907f00000000000000000000000096f6ef951840721adbf46ac996b59e0235cb985c9089906004016138c8565b602060405180830381865afa158015612e02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e26919061385e565b905080612e4657604051632163950f60e01b815260040160405180910390fd5b60007f0000000000000000000000000000000000000000000000000de0b6b3a7640000612e716130dc565b612e7b90876138e2565b612e85919061388d565b600d54604051631e03bab960e21b81529192506001600160a01b03169063780eeae490612eb890339085906004016138af565b600060405180830381600087803b158015612ed257600080fd5b505af1158015612ee6573d6000803e3d6000fd5b5050600a54604051637d4945b760e01b81526001600160a01b039091169250637d4945b79150612f41906000907f00000000000000000000000096f6ef951840721adbf46ac996b59e0235cb985c908790879060040161392a565b600060405180830381600087803b158015612f5b57600080fd5b505af1158015612f6f573d6000803e3d6000fd5b5050505081866001600160a01b0316612f853390565b60408051898152602081018690529081018890526001600160a01b0391909116907f8153c95a1826b81124293b12cbbc293c0dfba473b563c61d9a9ff82aa4a1c7ad9060600160405180910390a4505050505050565b612fe582826120b4565b6000828152600260205260409020610cd6908261211f565b61300782826133e9565b6000828152600260205260409020610cd69082613450565b610cd683846001600160a01b031663a9059cbb85856040516024016130459291906138af565b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050613465565b6000611c8483836134d6565b600061083a825490565b60008181526001830160205260408120546130d45750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561083a565b50600061083a565b60075460405163b3596f0760e01b81526001600160a01b037f00000000000000000000000096f6ef951840721adbf46ac996b59e0235cb985c81166004830152600092169063b3596f0790602401602060405180830381865afa158015613147573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061316b919061385e565b905060055481101561319057604051633b2f2ac960e11b815260040160405180910390fd5b90565b61183284856001600160a01b03166323b872dd8686866040516024016130459392919061381d565b6000836001600160a01b031663095ea7b384846040516024016131df9291906138af565b604051602081830303815290604052915060e01b6020820180516001600160e01b03838183161783525050505090506132188482613500565b6118325761324384856001600160a01b031663095ea7b38660006040516024016130459291906138af565b6118328482613465565b6060600061325c8360026138e2565b613267906002613b66565b67ffffffffffffffff81111561327f5761327f613b79565b6040519080825280601f01601f1916602001820160405280156132a9576020820181803683370190505b509050600360fc1b816000815181106132c4576132c4613b8f565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106132f3576132f3613b8f565b60200101906001600160f81b031916908160001a90535060006133178460026138e2565b613322906001613b66565b90505b600181111561339a576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061335657613356613b8f565b1a60f81b82828151811061336c5761336c613b8f565b60200101906001600160f81b031916908160001a90535060049490941c9361339381613ba5565b9050613325565b508315611c845760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610864565b6133f38282611c8b565b15610e9e5760008281526001602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000611c84836001600160a01b03841661354f565b600080602060008451602086016000885af180613488576040513d6000823e3d81fd5b50506000513d915081156134a05780600114156134ad565b6001600160a01b0384163b155b1561183257604051635274afe760e01b81526001600160a01b0385166004820152602401610864565b60008260000182815481106134ed576134ed613b8f565b9060005260206000200154905092915050565b6000806000806020600086516020880160008a5af192503d91506000519050828015613545575081156135365780600114613545565b6000866001600160a01b03163b115b9695505050505050565b60008181526001830160205260408120548015613638576000613573600183613a87565b855490915060009061358790600190613a87565b90508181146135ec5760008660000182815481106135a7576135a7613b8f565b90600052602060002001549050808760000184815481106135ca576135ca613b8f565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806135fd576135fd613bbc565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061083a565b600091505061083a565b60006020828403121561365457600080fd5b81356001600160e01b031981168114611c8457600080fd5b80356001600160a01b038116811461368357600080fd5b919050565b60008060006060848603121561369d57600080fd5b833592506136ad6020850161366c565b9150604084013590509250925092565b6000806000606084860312156136d257600080fd5b6136db8461366c565b95602085013595506040909401359392505050565b60006020828403121561370257600080fd5b611c848261366c565b60006020828403121561371d57600080fd5b5035919050565b6000806040838503121561373757600080fd5b823591506137476020840161366c565b90509250929050565b801515811461375e57600080fd5b50565b6000806040838503121561377457600080fd5b61377d8361366c565b9150602083013561378d81613750565b809150509250929050565b6000806000606084860312156137ad57600080fd5b6137b68461366c565b92506136ad6020850161366c565b600080604083850312156137d757600080fd5b50508035926020909101359150565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60006020828403121561385357600080fd5b8151611c8481613750565b60006020828403121561387057600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b6000826138aa57634e487b7160e01b600052601260045260246000fd5b500490565b6001600160a01b03929092168252602082015260400190565b6001600160a01b0392831681529116602082015260400190565b60008160001904831182151516156138fc576138fc613877565b500290565b6001600160a01b0394851681529290931660208301526040820152606081019190915260800190565b608081016002861061394c57634e487b7160e01b600052602160045260246000fd5b9481526001600160a01b03939093166020840152604083019190915260609091015290565b60006020828403121561398357600080fd5b815160ff81168114611c8457600080fd5b600181815b808511156139cf5781600019048211156139b5576139b5613877565b808516156139c257918102915b93841c9390800290613999565b509250929050565b6000826139e65750600161083a565b816139f35750600061083a565b8160018114613a095760028114613a1357613a2f565b600191505061083a565b60ff841115613a2457613a24613877565b50506001821b61083a565b5060208310610133831016604e8410600b8410161715613a52575081810a61083a565b613a5c8383613994565b8060001904821115613a7057613a70613877565b029392505050565b6000611c8460ff8416836139d7565b8181038181111561083a5761083a613877565b60005b83811015613ab5578181015183820152602001613a9d565b50506000910152565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613af6816017850160208801613a9a565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613b27816028840160208801613a9a565b01602801949350505050565b6020815260008251806020840152613b52816040850160208701613a9a565b601f01601f19169190910160400192915050565b8082018082111561083a5761083a613877565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081613bb457613bb4613877565b506000190190565b634e487b7160e01b600052603160045260246000fdfef45c97b23e2beeefda80e1ce5cb3e234aa7b6888ad5cbabb75bfd654dd8e102da2646970667358221220b36c68333eacbc0fb788b29b7499d75cfd90c1b8511eed3b0987bcc335b444aa64736f6c63430008100033","recompiledBytecode":"0x608060405234801561001057600080fd5b50600436106103785760003560e01c80637b0e1c57116101d3578063af3345d111610104578063d547741f116100a2578063e64338341161007c578063e6433834146107c4578063f3a408da146107d7578063fd84a072146107df578063fe6f14c5146107f257600080fd5b8063d547741f14610777578063d87801611461078a578063e63ab1e91461079d57600080fd5b8063ba2a1c4d116100de578063ba2a1c4d14610717578063c768b1451461073e578063c8e1585d14610751578063ca15c8731461076457600080fd5b8063af3345d1146106ea578063afb6794e146106f2578063b235d4681461070557600080fd5b80638f8eb81211610171578063a217fddf1161014b578063a217fddf146106a7578063aab483d6146106af578063abbb9f4c146106c2578063ad129e77146106d757600080fd5b80638f8eb812146106785780639010d07c1461068157806391d148541461069457600080fd5b80638133067e116101ad5780638133067e1461061657806386dd535c14610629578063884a05011461063c5780638f4f96131461065f57600080fd5b80637b0e1c57146105c95780637ead09e8146105dc578063811400fa1461060357600080fd5b806336568abe116102ad578063531acc131161024b5780636085057411610225578063608505741461058b57806361fca4551461059457806368f26f82146105a7578063695e122d146105b657600080fd5b8063531acc131461056257806359e0f36f1461056b5780635f1270791461057e57600080fd5b80633faed166116102875780633faed1661461052157806340db35e0146105345780634ce78490146105475780634ef1ccd11461054f57600080fd5b806336568abe146104e85780633e4af11f146104fb5780633f9832581461050e57600080fd5b806322d4a1751161031a578063248a9ca3116102f4578063248a9ca3146104965780632d7d41ab146104ba5780632f2ff15d146104cd57806332ec84d2146104e057600080fd5b806322d4a1751461046557806323991e4b14610478578063245513ce1461048d57600080fd5b806310a4f09f1161035657806310a4f09f146103f757806316762d7a1461041e5780631ee547e71461043f57806321e0e0cf1461045257600080fd5b806301ffc9a71461037d5780630c5bf351146103a55780630ded4a6f146103e4575b600080fd5b61039061038b366004613642565b610815565b60405190151581526020015b60405180910390f35b6103cc7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161039c565b600d546103cc906001600160a01b031681565b6103cc7f000000000000000000000000000000000000000000000000000000000000000081565b61043161042c366004613688565b610840565b60405190815260200161039c565b6008546103cc906001600160a01b031681565b6007546103cc906001600160a01b031681565b6104316104733660046136bd565b610b03565b61048b6104863660046136f0565b610bc7565b005b61043161271081565b6104316104a436600461370b565b6000908152600160208190526040909120015490565b61048b6104c83660046136bd565b610cdb565b61048b6104db366004613724565b610d97565b61048b610dbe565b61048b6104f6366004613724565b610e24565b61048b6105093660046136f0565b610ea2565b61048b61051c3660046136bd565b610fd6565b61048b61052f366004613761565b611345565b61048b6105423660046136f0565b611452565b61048b6114e2565b61048b61055d36600461370b565b611524565b61043160035481565b61048b6105793660046136f0565b611572565b6006546103909060ff1681565b61043160055481565b61048b6105a23660046136f0565b611676565b610431670de0b6b3a764000081565b61048b6105c4366004613761565b611705565b61048b6105d7366004613798565b611812565b6104317f000000000000000000000000000000000000000000000000000000000000000081565b600a546103cc906001600160a01b031681565b6104316106243660046136bd565b611838565b61048b6106373660046136f0565b611bdd565b61039061064a3660046136f0565b600f6020526000908152604090205460ff1681565b6006546103cc906201000090046001600160a01b031681565b61043160045481565b6103cc61068f3660046137c4565b611c6c565b6103906106a2366004613724565b611c8b565b610431600081565b61048b6106bd36600461370b565b611cb6565b610431600080516020613bd383398151915281565b61048b6106e53660046136f0565b611d04565b61048b611d94565b61048b6107003660046136f0565b611dd7565b60065461039090610100900460ff1681565b6104317fb94da9555321002e2f278a8e588b6b5c51fa2748893b00f6e45fc41af53493ab81565b6009546103cc906001600160a01b031681565b600b546103cc906001600160a01b031681565b61043161077236600461370b565b611e75565b61048b610785366004613724565b611e8c565b610431610798366004613688565b611eb3565b6104317f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b600c546103cc906001600160a01b031681565b61048b612002565b61048b6107ed36600461370b565b612066565b6103906108003660046136f0565b600e6020526000908152604090205460ff1681565b60006001600160e01b03198216635a05180f60e01b148061083a575061083a82612134565b92915050565b600060026000540361086d5760405162461bcd60e51b8152600401610864906137e6565b60405180910390fd5b60026000556040516323b872dd60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906323b872dd906108c29033903090899060040161381d565b6020604051808303816000875af11580156108e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109059190613841565b50604051636f074d1f60e11b8152600481018590527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063de0e9a3e90602401600060405180830381600087803b15801561096857600080fd5b505af115801561097c573d6000803e3d6000fd5b50506040516358af948f60e11b8152600481018790526000925061271091506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063b15f291e90602401602060405180830381865afa1580156109ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a10919061385e565b610a1a919061388d565b604051630852cd8d60e31b8152600481018290529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906342966c6890602401600060405180830381600087803b158015610a7f57600080fd5b505af1158015610a93573d6000803e3d6000fd5b50505050610aa2818585612169565b60408051838152602081018890526001600160a01b0387168183015260608101839052905191935033917f9ef7a247f6b9f5762b48aaef49860629bb5fec37c2e12bc46a980abd704ab0459181900360800190a25060016000559392505050565b6000600260005403610b275760405162461bcd60e51b8152600401610864906137e6565b6002600055610b378484846126db565b6040516340c10f1960e01b81529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906340c10f1990610b8890339085906004016138af565b600060405180830381600087803b158015610ba257600080fd5b505af1158015610bb6573d6000803e3d6000fd5b505060016000555090949350505050565b6000610bd38133612c59565b6001600160a01b038216610bfa57604051633d04535360e21b815260040160405180910390fd5b6009546040516001600160a01b038085169216907ff78e014ab86d7bb38135262d64726cef2e151dae47c0947a1d6bb970702c30d690600090a3600980546001600160a01b0319166001600160a01b038416908117909155604051637f19077160e01b8152637f19077190610c95907f00000000000000000000000000000000000000000000000000000000000000009030906004016138c8565b602060405180830381865afa158015610cb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd6919061385e565b505050565b600260005403610cfd5760405162461bcd60e51b8152600401610864906137e6565b6002600055610d0d838383612cbd565b6040516340c10f1960e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906340c10f1990610d5b90869086906004016138af565b600060405180830381600087803b158015610d7557600080fd5b505af1158015610d89573d6000803e3d6000fd5b505060016000555050505050565b60008281526001602081905260409091200154610db48133612c59565b610cd68383612fdb565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610de98133612c59565b6006805461ff0019166101001790556040517f60b78ed2d882d2d2387ad2b7119495f7c99dd9a9c191d3d02c35982a0750bcc690600090a150565b6001600160a01b0381163314610e945760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610864565b610e9e8282612ffd565b5050565b6000610eae8133612c59565b6001600160a01b038216610ed557604051632233f8fd60e21b815260040160405180910390fd5b6007546040516001600160a01b038085169216907f6c9074ba8ab5c258404464c9703de55127adb996134fd80d450ce94eb76ff59090600090a3600780546001600160a01b0319166001600160a01b0384811691821790925560405163b3596f0760e01b81527f0000000000000000000000000000000000000000000000000000000000000000909216600483015260009163b3596f0790602401602060405180830381865afa158015610f8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb1919061385e565b9050600554811015610cd657604051633b2f2ac960e11b815260040160405180910390fd5b600260005403610ff85760405162461bcd60e51b8152600401610864906137e6565b600260009081556040516358af948f60e11b815260048101849052612710907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063b15f291e90602401602060405180830381865afa158015611068573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108c919061385e565b611096919061388d565b90506110a3848284612cbd565b6040516340c10f1960e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906340c10f19906110f190309085906004016138af565b600060405180830381600087803b15801561110b57600080fd5b505af115801561111f573d6000803e3d6000fd5b505060405163095ea7b360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063095ea7b39150611191907f00000000000000000000000000000000000000000000000000000000000000009085906004016138af565b6020604051808303816000875af11580156111b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d49190613841565b50604051630ea598cb60e41b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063ea598cb090602401600060405180830381600087803b15801561123757600080fd5b505af115801561124b573d6000803e3d6000fd5b505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638fcb4e5b856127108461128d91906138e2565b6040518363ffffffff1660e01b81526004016112aa9291906138af565b6020604051808303816000875af11580156112c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ed919061385e565b5060408051828152602081018590529081018390526001600160a01b038516907ffd614e52d7b496f0d3f713f3a55ea6a08921356a6778f1565134f76da6731d6a9060600160405180910390a2505060016000555050565b60006113518133612c59565b6001600160a01b0383166113785760405163885ce5f160e01b815260040160405180910390fd5b81156113ee5760075460405163b3596f0760e01b81526001600160a01b0385811660048301529091169063b3596f0790602401602060405180830381865afa1580156113c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ec919061385e565b505b604051821515906001600160a01b038516907fb69d0cdc257fe2726a8ebd7602c8a681fd8152961d1c38a5d5b3090a4d96b20c90600090a3506001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b600061145e8133612c59565b6001600160a01b0382166114855760405163524d94d960e11b815260040160405180910390fd5b600d546040516001600160a01b038085169216907ff68d3e8139cf85c4c8ea147060134c79e97dbfa33f3f6a9d4cdec44ef467c74790600090a350600d80546001600160a01b0319166001600160a01b0392909216919091179055565b60006114ee8133612c59565b6006805460ff191690556040517f849babeb0c1b4e2b3842433574a5cdfe23ffde54c64651d42a6b02e8f98cbf8a90600090a150565b600080516020613bd383398151915261153d8133612c59565b6004546040518391907ffdaf6ed728cef208e62328a008209556f8281f3062b14dd08aaaa90fa159421190600090a350600455565b600061157e8133612c59565b6001600160a01b0382166115a557604051630b69326560e11b815260040160405180910390fd5b6008546040516001600160a01b038085169216907fdbc2a9769fa2b31eadfb16b690e3c783592becd0b822401b274a90a34d80b6dc90600090a3600880546001600160a01b0319166001600160a01b0384169081179091556040516334dae8d560e01b81526334dae8d590611640907f00000000000000000000000000000000000000000000000000000000000000009030906004016138c8565b600060405180830381600087803b15801561165a57600080fd5b505af115801561166e573d6000803e3d6000fd5b505050505050565b60006116828133612c59565b6001600160a01b0382166116a8576040516291d13760e51b815260040160405180910390fd5b600b546040516001600160a01b038085169216907f24fdea3a24a4edda22c10620f63628ed57f6b60d457d833035a316ab15684c9490600090a350600b80546001600160a01b0319166001600160a01b0392909216919091179055565b60006117118133612c59565b6001600160a01b0383166117385760405163885ce5f160e01b815260040160405180910390fd5b81156117ae5760075460405163b3596f0760e01b81526001600160a01b0385811660048301529091169063b3596f0790602401602060405180830381865afa158015611788573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ac919061385e565b505b604051821515906001600160a01b038516907f34e319579e041b2d04a5a9ff137ef4511e2db49d2da0512cdbe3845c32bc933a90600090a3506001600160a01b03919091166000908152600f60205260409020805460ff1916911515919091179055565b600061181e8133612c59565b6118326001600160a01b038516848461301f565b50505050565b600060026000540361185c5760405162461bcd60e51b8152600401610864906137e6565b600260009081556040516358af948f60e11b815260048101849052612710907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063b15f291e90602401602060405180830381865afa1580156118cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f0919061385e565b6118fa919061388d565b905060006119098686846126db565b6040516340c10f1960e01b81529091506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906340c10f199061195a90309085906004016138af565b600060405180830381600087803b15801561197457600080fd5b505af1158015611988573d6000803e3d6000fd5b505060405163095ea7b360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063095ea7b391506119fa907f00000000000000000000000000000000000000000000000000000000000000009085906004016138af565b6020604051808303816000875af1158015611a19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a3d9190613841565b50604051630ea598cb60e41b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063ea598cb090602401600060405180830381600087803b158015611aa057600080fd5b505af1158015611ab4573d6000803e3d6000fd5b505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638fcb4e5b611aee3390565b611afa612710856138e2565b6040518363ffffffff1660e01b8152600401611b179291906138af565b6020604051808303816000875af1158015611b36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b5a919061385e565b925083831015611b7d5760405163c5db0fc160e01b815260040160405180910390fd5b60408051828152602081018590526001600160a01b0388168183015260608101879052905133917f9d1b78864fb222ffcf82e2444ee22d6bb9cf52d41b71914f34e1597f23423ca4919081900360800190a2505060016000559392505050565b6000611be98133612c59565b6001600160a01b038216611c0f576040516291d13760e51b815260040160405180910390fd5b600c546040516001600160a01b038085169216907f849fba91aaeaa62c2a7f48c8ff7c26b006ca3ae247c1640072ecf571e31040c890600090a350600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6000828152600260205260408120611c849083613077565b9392505050565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020613bd3833981519152611ccf8133612c59565b6003546040518391907fe6e25add7363f8f8a40cbea9810d3115a33703b10972ef759104219b0065743690600090a350600355565b6000611d108133612c59565b6001600160a01b038216611d3757604051633aa9ba3360e01b815260040160405180910390fd5b600a546040516001600160a01b038085169216907fc54bf4c3067c1d8f65e053dafb5dbb699615b1b527d2866bd0223102bb2e692d90600090a350600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000611da08133612c59565b6006805461ff00191690556040517f687bf6e69dbabcc95e11041b4816a83f36dcf6ef647f6acf63e7469d28f5ea7390600090a150565b6000611de38133612c59565b6001600160a01b038216611e0a5760405163341d47c360e01b815260040160405180910390fd5b6006546040516001600160a01b038085169262010000900416907f132a375a3726b76fcc71a6992f19961145ed03f35eca19ad07381f43501c2b5e90600090a350600680546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b600081815260026020526040812061083a90613083565b60008281526001602081905260409091200154611ea98133612c59565b610cd68383612ffd565b6000600260005403611ed75760405162461bcd60e51b8152600401610864906137e6565b60026000556040516323b872dd60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906323b872dd90611f2c9033903090899060040161381d565b6020604051808303816000875af1158015611f4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6f9190613841565b50604051630852cd8d60e31b8152600481018590527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906342966c6890602401600060405180830381600087803b158015611fd257600080fd5b505af1158015611fe6573d6000803e3d6000fd5b50505050611ff5848484612169565b6001600055949350505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61202d8133612c59565b6006805460ff191660011790556040517fb9964f53255ea6cb323618cebc0c47de4f99089e9993d1862f24e2fdaf2a31e590600090a150565b600080516020613bd383398151915261207f8133612c59565b6005546040518391907f8ba90cff6e6e2b8e73cee7f3c5356cca13f1715f39f5eaa6164a99b49e497c8e90600090a350600555565b6120be8282611c8b565b610e9e5760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b6000611c84836001600160a01b03841661308d565b60006001600160e01b03198216637965db0b60e01b148061083a57506301ffc9a760e01b6001600160e01b031983161461083a565b600654600090610100900460ff161561219557604051630df65d9f60e01b815260040160405180910390fd5b6001600160a01b0383166000908152600f602052604090205460ff166121ce5760405163e51cf7bf60e01b815260040160405180910390fd5b6008546001600160a01b03166334dae8d57f0000000000000000000000000000000000000000000000000000000000000000336040518363ffffffff1660e01b815260040161221e9291906138c8565b600060405180830381600087803b15801561223857600080fd5b505af115801561224c573d6000803e3d6000fd5b5050600954604051637f19077160e01b8152600093506001600160a01b039091169150637f190771906122a5907f00000000000000000000000000000000000000000000000000000000000000009033906004016138c8565b602060405180830381865afa1580156122c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122e6919061385e565b90508061230657604051632163950f60e01b815260040160405180910390fd5b60007f0000000000000000000000000000000000000000000000000000000000000000866123326130dc565b61233c91906138e2565b612346919061388d565b905060045481101561236b5760405163680116dd60e11b815260040160405180910390fd5b600c5460405163c75af63560e01b81526000916001600160a01b03169063c75af635906123c2907f0000000000000000000000000000000000000000000000000000000000000000908a9088908890600401613901565b6020604051808303816000875af11580156123e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612405919061385e565b90508181111561242857604051635774f9b360e11b815260040160405180910390fd5b600a54604051637d4945b760e01b81526001600160a01b0390911690637d4945b79061247f906001907f0000000000000000000000000000000000000000000000000000000000000000908890889060040161392a565b600060405180830381600087803b15801561249957600080fd5b505af11580156124ad573d6000803e3d6000fd5b505060075460405163b3596f0760e01b81526001600160a01b038a81166004830152909116925063b3596f079150602401602060405180830381865afa1580156124fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061251f919061385e565b866001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801561255d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125819190613971565b61258c90600a613a78565b6125968385613a87565b6125a091906138e2565b6125aa919061388d565b9350848410156125cd57604051638f19033960e01b815260040160405180910390fd5b60065460405163071f2cab60e51b8152620100009091046001600160a01b03169063e3e5956090612628907f0000000000000000000000000000000000000000000000000000000000000000908a9088908a90600401613901565b600060405180830381600087803b15801561264257600080fd5b505af1158015612656573d6000803e3d6000fd5b505050506126756126643390565b6001600160a01b038816908661301f565b604080518881526001600160a01b03881660208201529081018590526060810183905260808101829052839033907f7023b7bcd020761014c9e1590603f4effceabc102cf0b8023c3f2b14db9ffb6e9060a0015b60405180910390a35050509392505050565b60065460009060ff1615612702576040516302822dcd60e51b815260040160405180910390fd5b6001600160a01b0384166000908152600e602052604090205460ff1661273b5760405163e51cf7bf60e01b815260040160405180910390fd5b6008546001600160a01b03166334dae8d57f0000000000000000000000000000000000000000000000000000000000000000336040518363ffffffff1660e01b815260040161278b9291906138c8565b600060405180830381600087803b1580156127a557600080fd5b505af11580156127b9573d6000803e3d6000fd5b5050600954604051637f19077160e01b8152600093506001600160a01b039091169150637f19077190612812907f00000000000000000000000000000000000000000000000000000000000000009033906004016138c8565b602060405180830381865afa15801561282f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612853919061385e565b90508061287357604051632163950f60e01b815260040160405180910390fd5b6128886001600160a01b038616333087613193565b6006546128a8906001600160a01b038781169162010000900416866131bb565b600654604051631f61f2f560e31b8152620100009091046001600160a01b03169063fb0f97a890612901907f0000000000000000000000000000000000000000000000000000000000000000908990899060040161381d565b600060405180830381600087803b15801561291b57600080fd5b505af115801561292f573d6000803e3d6000fd5b505050506000856001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015612973573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129979190613971565b6129a290600a613a78565b60075460405163b3596f0760e01b81526001600160a01b0389811660048301528892169063b3596f0790602401602060405180830381865afa1580156129ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a10919061385e565b612a1a91906138e2565b612a24919061388d565b9050600354811015612a49576040516367627d0760e01b815260040160405180910390fd5b600b5460405163c75af63560e01b81526000916001600160a01b03169063c75af63590612aa0907f0000000000000000000000000000000000000000000000000000000000000000908b9088908890600401613901565b6020604051808303816000875af1158015612abf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ae3919061385e565b905081811115612b065760405163566f172560e11b815260040160405180910390fd5b612b0e6130dc565b7f0000000000000000000000000000000000000000000000000000000000000000612b398385613a87565b612b4391906138e2565b612b4d919061388d565b935084841015612b705760405163c5db0fc160e01b815260040160405180910390fd5b600a54604051637d4945b760e01b81526001600160a01b0390911690637d4945b790612bc7906000907f0000000000000000000000000000000000000000000000000000000000000000908890889060040161392a565b600060405180830381600087803b158015612be157600080fd5b505af1158015612bf5573d6000803e3d6000fd5b5050505082612c013390565b604080518781526001600160a01b038b811660208301529181018a905260608101869052608081018590529116907f5c88561b046569d4773b016d48f154d22685738bfb692bb0f8478ec2ef36b79f9060a0016126c9565b612c638282611c8b565b610e9e57612c7b816001600160a01b0316601461324d565b612c8683602061324d565b604051602001612c97929190613abe565b60408051601f198184030181529082905262461bcd60e51b825261086491600401613b33565b60065460ff1615612ce1576040516302822dcd60e51b815260040160405180910390fd5b7fb94da9555321002e2f278a8e588b6b5c51fa2748893b00f6e45fc41af53493ab612d0c8133612c59565b6008546040516334dae8d560e01b81526001600160a01b03909116906334dae8d590612d5e907f00000000000000000000000000000000000000000000000000000000000000009088906004016138c8565b600060405180830381600087803b158015612d7857600080fd5b505af1158015612d8c573d6000803e3d6000fd5b5050600954604051637f19077160e01b8152600093506001600160a01b039091169150637f19077190612de5907f00000000000000000000000000000000000000000000000000000000000000009089906004016138c8565b602060405180830381865afa158015612e02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e26919061385e565b905080612e4657604051632163950f60e01b815260040160405180910390fd5b60007f0000000000000000000000000000000000000000000000000000000000000000612e716130dc565b612e7b90876138e2565b612e85919061388d565b600d54604051631e03bab960e21b81529192506001600160a01b03169063780eeae490612eb890339085906004016138af565b600060405180830381600087803b158015612ed257600080fd5b505af1158015612ee6573d6000803e3d6000fd5b5050600a54604051637d4945b760e01b81526001600160a01b039091169250637d4945b79150612f41906000907f0000000000000000000000000000000000000000000000000000000000000000908790879060040161392a565b600060405180830381600087803b158015612f5b57600080fd5b505af1158015612f6f573d6000803e3d6000fd5b5050505081866001600160a01b0316612f853390565b60408051898152602081018690529081018890526001600160a01b0391909116907f8153c95a1826b81124293b12cbbc293c0dfba473b563c61d9a9ff82aa4a1c7ad9060600160405180910390a4505050505050565b612fe582826120b4565b6000828152600260205260409020610cd6908261211f565b61300782826133e9565b6000828152600260205260409020610cd69082613450565b610cd683846001600160a01b031663a9059cbb85856040516024016130459291906138af565b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050613465565b6000611c8483836134d6565b600061083a825490565b60008181526001830160205260408120546130d45750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561083a565b50600061083a565b60075460405163b3596f0760e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152600092169063b3596f0790602401602060405180830381865afa158015613147573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061316b919061385e565b905060055481101561319057604051633b2f2ac960e11b815260040160405180910390fd5b90565b61183284856001600160a01b03166323b872dd8686866040516024016130459392919061381d565b6000836001600160a01b031663095ea7b384846040516024016131df9291906138af565b604051602081830303815290604052915060e01b6020820180516001600160e01b03838183161783525050505090506132188482613500565b6118325761324384856001600160a01b031663095ea7b38660006040516024016130459291906138af565b6118328482613465565b6060600061325c8360026138e2565b613267906002613b66565b67ffffffffffffffff81111561327f5761327f613b79565b6040519080825280601f01601f1916602001820160405280156132a9576020820181803683370190505b509050600360fc1b816000815181106132c4576132c4613b8f565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106132f3576132f3613b8f565b60200101906001600160f81b031916908160001a90535060006133178460026138e2565b613322906001613b66565b90505b600181111561339a576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061335657613356613b8f565b1a60f81b82828151811061336c5761336c613b8f565b60200101906001600160f81b031916908160001a90535060049490941c9361339381613ba5565b9050613325565b508315611c845760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610864565b6133f38282611c8b565b15610e9e5760008281526001602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000611c84836001600160a01b03841661354f565b600080602060008451602086016000885af180613488576040513d6000823e3d81fd5b50506000513d915081156134a05780600114156134ad565b6001600160a01b0384163b155b1561183257604051635274afe760e01b81526001600160a01b0385166004820152602401610864565b60008260000182815481106134ed576134ed613b8f565b9060005260206000200154905092915050565b6000806000806020600086516020880160008a5af192503d91506000519050828015613545575081156135365780600114613545565b6000866001600160a01b03163b115b9695505050505050565b60008181526001830160205260408120548015613638576000613573600183613a87565b855490915060009061358790600190613a87565b90508181146135ec5760008660000182815481106135a7576135a7613b8f565b90600052602060002001549050808760000184815481106135ca576135ca613b8f565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806135fd576135fd613bbc565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061083a565b600091505061083a565b60006020828403121561365457600080fd5b81356001600160e01b031981168114611c8457600080fd5b80356001600160a01b038116811461368357600080fd5b919050565b60008060006060848603121561369d57600080fd5b833592506136ad6020850161366c565b9150604084013590509250925092565b6000806000606084860312156136d257600080fd5b6136db8461366c565b95602085013595506040909401359392505050565b60006020828403121561370257600080fd5b611c848261366c565b60006020828403121561371d57600080fd5b5035919050565b6000806040838503121561373757600080fd5b823591506137476020840161366c565b90509250929050565b801515811461375e57600080fd5b50565b6000806040838503121561377457600080fd5b61377d8361366c565b9150602083013561378d81613750565b809150509250929050565b6000806000606084860312156137ad57600080fd5b6137b68461366c565b92506136ad6020850161366c565b600080604083850312156137d757600080fd5b50508035926020909101359150565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60006020828403121561385357600080fd5b8151611c8481613750565b60006020828403121561387057600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b6000826138aa57634e487b7160e01b600052601260045260246000fd5b500490565b6001600160a01b03929092168252602082015260400190565b6001600160a01b0392831681529116602082015260400190565b60008160001904831182151516156138fc576138fc613877565b500290565b6001600160a01b0394851681529290931660208301526040820152606081019190915260800190565b608081016002861061394c57634e487b7160e01b600052602160045260246000fd5b9481526001600160a01b03939093166020840152604083019190915260609091015290565b60006020828403121561398357600080fd5b815160ff81168114611c8457600080fd5b600181815b808511156139cf5781600019048211156139b5576139b5613877565b808516156139c257918102915b93841c9390800290613999565b509250929050565b6000826139e65750600161083a565b816139f35750600061083a565b8160018114613a095760028114613a1357613a2f565b600191505061083a565b60ff841115613a2457613a24613877565b50506001821b61083a565b5060208310610133831016604e8410600b8410161715613a52575081810a61083a565b613a5c8383613994565b8060001904821115613a7057613a70613877565b029392505050565b6000611c8460ff8416836139d7565b8181038181111561083a5761083a613877565b60005b83811015613ab5578181015183820152602001613a9d565b50506000910152565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613af6816017850160208801613a9a565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613b27816028840160208801613a9a565b01602801949350505050565b6020815260008251806020840152613b52816040850160208701613a9a565b601f01601f19169190910160400192915050565b8082018082111561083a5761083a613877565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081613bb457613bb4613877565b506000190190565b634e487b7160e01b600052603160045260246000fdfef45c97b23e2beeefda80e1ce5cb3e234aa7b6888ad5cbabb75bfd654dd8e102da26469706673582212206b3d1ae2de87393fe963ec5f8872f8cbb8779d18a8a5aefca212b05fc28e2fdb64736f6c63430008100033","sourceMap":"2035:9322:50:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;751:240:16;;;;;;:::i;:::-;;:::i;:::-;;;470:14:51;;463:22;445:41;;433:2;418:18;751:240:16;;;;;;;;5008:33:47;;;;;;;;-1:-1:-1;;;;;661:32:51;;;643:51;;631:2;616:18;5008:33:47;497:203:51;5718:57:47;;;;;-1:-1:-1;;;;;5718:57:47;;;2147:28:50;;;;;10654:701;;;;;;:::i;:::-;;:::i;:::-;;;1820:25:51;;;1808:2;1793:18;10654:701:50;1674:177:51;5253:37:47;;;;;-1:-1:-1;;;;;5253:37:47;;;5175:29;;;;;-1:-1:-1;;;;;5175:29:47;;;5435:337:50;;;;;;:::i;:::-;;:::i;16870:429:47:-;;;;;;:::i;:::-;;:::i;:::-;;2254:64:50;;2312:6;2254:64;;4002:145:15;;;;;;:::i;:::-;4096:7;4120:12;;;:6;:12;;;;;;;;:22;;;4002:145;7741:237:50;;;;;;:::i;:::-;;:::i;4375:157:15:-;;;;;;:::i;:::-;;:::i;21533:109:47:-;;;:::i;5366:222:15:-;;;;;;:::i;:::-;;:::i;15759:380:47:-;;;;;;:::i;:::-;;:::i;8363:665:50:-;;;;;;:::i;:::-;;:::i;14071:386:47:-;;;;;;:::i;:::-;;:::i;17909:445::-;;;;;;:::i;:::-;;:::i;21361:130::-;;;:::i;19979:265::-;;;;;;:::i;:::-;;:::i;4403:32::-;;;;;;16270:469;;;;;;:::i;:::-;;:::i;4814:27::-;;;;;;;;;4722:30;;;;;;18497:359;;;;;;:::i;:::-;;:::i;3749:45::-;;3790:4;3749:45;;14642:380;;;;;;:::i;:::-;;:::i;20806:170::-;;;;;;:::i;:::-;;:::i;3847:39::-;;;;;5426;;;;;-1:-1:-1;;;;;5426:39:47;;;6277:1071:50;;;;;;:::i;:::-;;:::i;18995:343:47:-;;;;;;:::i;:::-;;:::i;5933:56::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;5091:39;;;;;;;;-1:-1:-1;;;;;5091:39:47;;;4588:35;;;;;;1550:167:16;;;;;;:::i;:::-;;:::i;3023:161:15:-;;;;;;:::i;:::-;;:::i;2161:49::-;;2206:4;2161:49;;19557:226:47;;;;;;:::i;:::-;;:::i;3928:70::-;;-1:-1:-1;;;;;;;;;;;3928:70:47;;17433:315;;;;;;:::i;:::-;;:::i;21686:121::-;;;:::i;15173:310::-;;;;;;:::i;:::-;;:::i;4901:24::-;;;;;;;;;;;;4180:90;;4234:36;4180:90;;5339:37;;;;;-1:-1:-1;;;;;5339:37:47;;;5531;;;;;-1:-1:-1;;;;;5531:37:47;;;1875:156:16;;;;;;:::i;:::-;;:::i;4746:159:15:-;;;;;;:::i;:::-;;:::i;9679:405:50:-;;;;;;:::i;:::-;;:::i;4053:62:47:-;;4091:24;4053:62;;5632:35;;;;;-1:-1:-1;;;;;5632:35:47;;;21196:118;;;:::i;20374:206::-;;;;;;:::i;:::-;;:::i;5826:58::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;751:240:16;856:4;-1:-1:-1;;;;;;883:57:16;;-1:-1:-1;;;883:57:16;;:103;;;950:36;974:11;950:23;:36::i;:::-;870:116;751:240;-1:-1:-1;;751:240:16:o;10654:701:50:-;10804:26;1720:1:19;2267:7;;:19;2259:63;;;;-1:-1:-1;;;2259:63:19;;;;;;;:::i;:::-;;;;;;;;;1720:1;2389:7;:18;10838:60:50::1;::::0;-1:-1:-1;;;10838:60:50;;-1:-1:-1;;;;;10838:5:50::1;:18;::::0;::::1;::::0;:60:::1;::::0;713:10:23;;10879:4:50::1;::::0;10886:11;;10838:60:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;10904:25:50::1;::::0;-1:-1:-1;;;10904:25:50;;::::1;::::0;::::1;1820::51::0;;;10904:5:50::1;-1:-1:-1::0;;;;;10904:12:50::1;::::0;::::1;::::0;1793:18:51;;10904:25:50::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;10958:35:50::1;::::0;-1:-1:-1;;;10958:35:50;;::::1;::::0;::::1;1820:25:51::0;;;10935:20:50::1;::::0;-1:-1:-1;2312:6:50::1;::::0;-1:-1:-1;;;;;;10958:5:50::1;:22;::::0;::::1;::::0;1793:18:51;;10958:35:50::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:75;;;;:::i;:::-;11039:37;::::0;-1:-1:-1;;;11039:37:50;;::::1;::::0;::::1;1820:25:51::0;;;10935:98:50;;-1:-1:-1;11048:8:50::1;-1:-1:-1::0;;;;;11039:23:50::1;::::0;::::1;::::0;1793:18:51;;11039:37:50::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;11103:94;11129:12;11149:14;11171:20;11103:18;:94::i;:::-;11208:142;::::0;;7689:25:51;;;7745:2;7730:18;;7723:34;;;-1:-1:-1;;;;;7793:32:51;;7773:18;;;7766:60;7857:2;7842:18;;7835:34;;;11208:142:50;;11082:115;;-1:-1:-1;713:10:23;;11208:142:50::1;::::0;;;;7676:3:51;11208:142:50;;::::1;-1:-1:-1::0;1679:1:19;2546:7;:22;10654:701:50;;-1:-1:-1;;;10654:701:50:o;5435:337::-;5574:20;1720:1:19;2267:7;;:19;2259:63;;;;-1:-1:-1;;;2259:63:19;;;;;;;:::i;:::-;1720:1;2389:7;:18;5617:93:50::1;5645:12:::0;5665:13;5686:18;5617:20:::1;:93::i;:::-;5716:51;::::0;-1:-1:-1;;;5716:51:50;;5602:108;;-1:-1:-1;5725:8:50::1;-1:-1:-1::0;;;;;5716:23:50::1;::::0;::::1;::::0;:51:::1;::::0;713:10:23;;5602:108:50;;5716:51:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;1679:1:19;2546:7;:22;-1:-1:-1;5435:337:50;;;-1:-1:-1;;;;5435:337:50:o;16870:429:47:-;2206:4:15;2613:30;2206:4;713:10:23;2613::15;:30::i;:::-;-1:-1:-1;;;;;16978:29:47;::::1;16974:71;;17016:29;;-1:-1:-1::0;;;17016:29:47::1;;;;;;;;;;;16974:71;17082:14;::::0;17056:59:::1;::::0;-1:-1:-1;;;;;17056:59:47;;::::1;::::0;17082:14:::1;::::0;17056:59:::1;::::0;17082:14:::1;::::0;17056:59:::1;17121:14;:49:::0;;-1:-1:-1;;;;;;17121:49:47::1;-1:-1:-1::0;;;;;17121:49:47;::::1;::::0;;::::1;::::0;;;17239:55:::1;::::0;-1:-1:-1;;;17239:55:47;;:30:::1;::::0;:55:::1;::::0;17270:8:::1;::::0;17288:4:::1;::::0;17239:55:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;16870:429:::0;;:::o;7741:237:50:-;1720:1:19;2267:7;;:19;2259:63;;;;-1:-1:-1;;;2259:63:19;;;;;;;:::i;:::-;1720:1;2389:7;:18;7865:57:50::1;7891:9:::0;7902;7913:8;7865:25:::1;:57::i;:::-;7928:45;::::0;-1:-1:-1;;;7928:45:50;;-1:-1:-1;;;;;7937:8:50::1;7928:23;::::0;::::1;::::0;:45:::1;::::0;7952:9;;7963;;7928:45:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;1679:1:19;2546:7;:22;-1:-1:-1;;;;;7741:237:50:o;4375:157:15:-;4096:7;4120:12;;;:6;:12;;;;;;;;:22;;2613:30;2624:4;713:10:23;2613::15;:30::i;:::-;4502:25:::1;4513:4;4519:7;4502:10;:25::i;21533:109:47:-:0;4091:24;2613:30:15;4091:24:47;713:10:23;2613::15;:30::i;:::-;21593:12:47::1;:19:::0;;-1:-1:-1;;21593:19:47::1;;;::::0;;21623:14:::1;::::0;::::1;::::0;21593:19;;21623:14:::1;21533:109:::0;:::o;5366:222:15:-;-1:-1:-1;;;;;5464:23:15;;713:10:23;5464:23:15;5449:101;;;;-1:-1:-1;;;5449:101:15;;8859:2:51;5449:101:15;;;8841:21:51;8898:2;8878:18;;;8871:30;8937:34;8917:18;;;8910:62;-1:-1:-1;;;8988:18:51;;;8981:45;9043:19;;5449:101:15;8657:411:51;5449:101:15;5557:26;5569:4;5575:7;5557:11;:26::i;:::-;5366:222;;:::o;15759:380:47:-;2206:4:15;2613:30;2206:4;713:10:23;2613::15;:30::i;:::-;-1:-1:-1;;;;;15859:25:47;::::1;15855:63;;15893:25;;-1:-1:-1::0;;;15893:25:47::1;;;;;;;;;;;15855:63;15951:10;::::0;15929:47:::1;::::0;-1:-1:-1;;;;;15929:47:47;;::::1;::::0;15951:10:::1;::::0;15929:47:::1;::::0;15951:10:::1;::::0;15929:47:::1;15982:10;:37:::0;;-1:-1:-1;;;;;;15982:37:47::1;-1:-1:-1::0;;;;;15982:37:47;;::::1;::::0;;::::1;::::0;;;16042:34:::1;::::0;-1:-1:-1;;;16042:34:47;;16067:8:::1;661:32:51::0;;;16042:34:47::1;::::0;::::1;643:51:51::0;-1:-1:-1;;16042:24:47::1;::::0;616:18:51;;16042:34:47::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;16026:50;;16094:15;;16086:5;:23;16082:52;;;16118:16;;-1:-1:-1::0;;;16118:16:47::1;;;;;;;;;;;8363:665:50::0;1720:1:19;2267:7;;:19;2259:63;;;;-1:-1:-1;;;2259:63:19;;;;;;;:::i;:::-;1720:1;2389:7;:18;;;8522:35:50::1;::::0;-1:-1:-1;;;8522:35:50;;::::1;::::0;::::1;1820:25:51::0;;;2312:6:50::1;::::0;8522:5:::1;-1:-1:-1::0;;;;;8522:22:50::1;::::0;::::1;::::0;1793:18:51;;8522:35:50::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:75;;;;:::i;:::-;8501:96;;8603:58;8629:9;8640:10;8652:8;8603:25;:58::i;:::-;8667:50;::::0;-1:-1:-1;;;8667:50:50;;-1:-1:-1;;;;;8676:8:50::1;8667:23;::::0;::::1;::::0;:50:::1;::::0;8699:4:::1;::::0;8706:10;;8667:50:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;8723:54:50::1;::::0;-1:-1:-1;;;8723:54:50;;-1:-1:-1;;;;;8732:8:50::1;8723:26;::::0;-1:-1:-1;8723:26:50::1;::::0;-1:-1:-1;8723:54:50::1;::::0;8758:5:::1;::::0;8766:10;;8723:54:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;8783:22:50::1;::::0;-1:-1:-1;;;8783:22:50;;::::1;::::0;::::1;1820:25:51::0;;;8783:5:50::1;-1:-1:-1::0;;;;;8783:10:50::1;::::0;::::1;::::0;1793:18:51;;8783:22:50::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;8811:5;-1:-1:-1::0;;;;;8811:20:50::1;;8839:9;2312:6;8856:10;:44;;;;:::i;:::-;8811:95;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;8918:105:50::1;::::0;;9448:25:51;;;9504:2;9489:18;;9482:34;;;9532:18;;;9525:34;;;-1:-1:-1;;;;;8918:105:50;::::1;::::0;::::1;::::0;9436:2:51;9421:18;8918:105:50::1;;;;;;;-1:-1:-1::0;;1679:1:19;2546:7;:22;-1:-1:-1;;8363:665:50:o;14071:386:47:-;2206:4:15;2613:30;2206:4;713:10:23;2613::15;:30::i;:::-;-1:-1:-1;;;;;14199:19:47;::::1;14195:56;;14227:24;;-1:-1:-1::0;;;14227:24:47::1;;;;;;;;;;;14195:56;14305:8;14301:45;;;14315:10;::::0;:31:::1;::::0;-1:-1:-1;;;14315:31:47;;-1:-1:-1;;;;;661:32:51;;;14315:31:47::1;::::0;::::1;643:51:51::0;14315:10:47;;::::1;::::0;:24:::1;::::0;616:18:51;;14315:31:47::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;14301:45;14357;::::0;;::::1;;::::0;-1:-1:-1;;;;;14357:45:47;::::1;::::0;::::1;::::0;;;::::1;-1:-1:-1::0;;;;;;14408:33:47;;;::::1;;::::0;;;:26:::1;:33;::::0;;;;:44;;-1:-1:-1;;14408:44:47::1;::::0;::::1;;::::0;;;::::1;::::0;;14071:386::o;17909:445::-;2206:4:15;2613:30;2206:4;713:10:23;2613::15;:30::i;:::-;-1:-1:-1;;;;;18037:39:47;::::1;18033:101;;18091:43;;-1:-1:-1::0;;;18091:43:47::1;;;;;;;;;;;18033:101;18188:24;::::0;18145:107:::1;::::0;-1:-1:-1;;;;;18145:107:47;;::::1;::::0;18188:24:::1;::::0;18145:107:::1;::::0;18188:24:::1;::::0;18145:107:::1;-1:-1:-1::0;18258:24:47::1;:91:::0;;-1:-1:-1;;;;;;18258:91:47::1;-1:-1:-1::0;;;;;18258:91:47;;;::::1;::::0;;;::::1;::::0;;17909:445::o;21361:130::-;2206:4:15;2613:30;2206:4;713:10:23;2613::15;:30::i;:::-;21433:15:47::1;:23:::0;;-1:-1:-1;;21433:23:47::1;::::0;;21467:19:::1;::::0;::::1;::::0;21451:5:::1;::::0;21467:19:::1;21361:130:::0;:::o;19979:265::-;-1:-1:-1;;;;;;;;;;;2613:30:15;3970:28:47;713:10:23;2613::15;:30::i;:::-;20134:20:47::1;::::0;20100:89:::1;::::0;20162:21;;20134:20;20100:89:::1;::::0;;;::::1;-1:-1:-1::0;20195:20:47::1;:44:::0;19979:265::o;16270:469::-;2206:4:15;2613:30;2206:4;713:10:23;2613::15;:30::i;:::-;-1:-1:-1;;;;;16378:29:47;::::1;16374:71;;16416:29;;-1:-1:-1::0;;;16416:29:47::1;;;;;;;;;;;16374:71;16482:14;::::0;16456:59:::1;::::0;-1:-1:-1;;;;;16456:59:47;;::::1;::::0;16482:14:::1;::::0;16456:59:::1;::::0;16482:14:::1;::::0;16456:59:::1;16521:14;:49:::0;;-1:-1:-1;;;;;;16521:49:47::1;-1:-1:-1::0;;;;;16521:49:47;::::1;::::0;;::::1;::::0;;;16678:56:::1;::::0;-1:-1:-1;;;16678:56:47;;:31:::1;::::0;:56:::1;::::0;16710:8:::1;::::0;16728:4:::1;::::0;16678:56:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;16270:469:::0;;:::o;18497:359::-;2206:4:15;2613:30;2206:4;713:10:23;2613::15;:30::i;:::-;-1:-1:-1;;;;;18617:35:47;::::1;18613:71;;18661:23;;-1:-1:-1::0;;;18661:23:47::1;;;;;;;;;;;18613:71;18734:20;::::0;18695:95:::1;::::0;-1:-1:-1;;;;;18695:95:47;;::::1;::::0;18734:20:::1;::::0;18695:95:::1;::::0;18734:20:::1;::::0;18695:95:::1;-1:-1:-1::0;18796:20:47::1;:55:::0;;-1:-1:-1;;;;;;18796:55:47::1;-1:-1:-1::0;;;;;18796:55:47;;;::::1;::::0;;;::::1;::::0;;18497:359::o;14642:380::-;2206:4:15;2613:30;2206:4;713:10:23;2613::15;:30::i;:::-;-1:-1:-1;;;;;14768:19:47;::::1;14764:56;;14796:24;;-1:-1:-1::0;;;14796:24:47::1;;;;;;;;;;;14764:56;14874:8;14870:45;;;14884:10;::::0;:31:::1;::::0;-1:-1:-1;;;14884:31:47;;-1:-1:-1;;;;;661:32:51;;;14884:31:47::1;::::0;::::1;643:51:51::0;14884:10:47;;::::1;::::0;:24:::1;::::0;616:18:51;;14884:31:47::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;14870:45;14926:43;::::0;;::::1;;::::0;-1:-1:-1;;;;;14926:43:47;::::1;::::0;::::1;::::0;;;::::1;-1:-1:-1::0;;;;;;14975:31:47;;;::::1;;::::0;;;:24:::1;:31;::::0;;;;:42;;-1:-1:-1;;14975:42:47::1;::::0;::::1;;::::0;;;::::1;::::0;;14642:380::o;20806:170::-;2206:4:15;2613:30;2206:4;713:10:23;2613::15;:30::i;:::-;20933:38:47::1;-1:-1:-1::0;;;;;20933:26:47;::::1;20960:2:::0;20964:6;20933:26:::1;:38::i;:::-;20806:170:::0;;;;:::o;6277:1071:50:-;6430:22;1720:1:19;2267:7;;:19;2259:63;;;;-1:-1:-1;;;2259:63:19;;;;;;;:::i;:::-;1720:1;2389:7;:18;;;6488:44:50::1;::::0;-1:-1:-1;;;6488:44:50;;::::1;::::0;::::1;1820:25:51::0;;;2312:6:50::1;::::0;6488:5:::1;-1:-1:-1::0;;;;;6488:22:50::1;::::0;::::1;::::0;1793:18:51;;6488:44:50::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:84;;;;:::i;:::-;6460:112;;6578:21;6602:92;6630:12;6650:13;6671:17;6602:20;:92::i;:::-;6701:53;::::0;-1:-1:-1;;;6701:53:50;;6578:116;;-1:-1:-1;;;;;;6710:8:50::1;6701:23;::::0;::::1;::::0;:53:::1;::::0;6733:4:::1;::::0;6578:116;;6701:53:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;6760:57:50::1;::::0;-1:-1:-1;;;6760:57:50;;-1:-1:-1;;;;;6769:8:50::1;6760:26;::::0;-1:-1:-1;6760:26:50::1;::::0;-1:-1:-1;6760:57:50::1;::::0;6795:5:::1;::::0;6803:13;;6760:57:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;6823:25:50::1;::::0;-1:-1:-1;;;6823:25:50;;::::1;::::0;::::1;1820::51::0;;;6823:5:50::1;-1:-1:-1::0;;;;;6823:10:50::1;::::0;::::1;::::0;1793:18:51;;6823:25:50::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;6871:5;-1:-1:-1::0;;;;;6871:20:50::1;;6899:12;713:10:23::0;;638:90;6899:12:50::1;6919:47;2312:6;6919:13:::0;:47:::1;:::i;:::-;6871:101;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6854:118;;7129:20;7112:14;:37;7108:82;;;7164:26;;-1:-1:-1::0;;;7164:26:50::1;;;;;;;;;;;7108:82;7202:141;::::0;;7689:25:51;;;7745:2;7730:18;;7723:34;;;-1:-1:-1;;;;;7793:32:51;;7773:18;;;7766:60;7857:2;7842:18;;7835:34;;;7202:141:50;;713:10:23;;7202:141:50::1;::::0;;;;;7676:3:51;7202:141:50;;::::1;-1:-1:-1::0;;1679:1:19;2546:7;:22;6277:1071:50;;-1:-1:-1;;;6277:1071:50:o;18995:343:47:-;2206:4:15;2613:30;2206:4;713:10:23;2613::15;:30::i;:::-;-1:-1:-1;;;;;19111:33:47;::::1;19107:69;;19153:23;;-1:-1:-1::0;;;19153:23:47::1;;;;;;;;;;;19107:69;19224:18;::::0;19187:89:::1;::::0;-1:-1:-1;;;;;19187:89:47;;::::1;::::0;19224:18:::1;::::0;19187:89:::1;::::0;19224:18:::1;::::0;19187:89:::1;-1:-1:-1::0;19282:18:47::1;:51:::0;;-1:-1:-1;;;;;;19282:51:47::1;-1:-1:-1::0;;;;;19282:51:47;;;::::1;::::0;;;::::1;::::0;;18995:343::o;1550:167:16:-;1660:7;1684:18;;;:12;:18;;;;;:28;;1706:5;1684:21;:28::i;:::-;1677:35;1550:167;-1:-1:-1;;;1550:167:16:o;3023:161:15:-;3129:4;3150:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;3150:29:15;;;;;;;;;;;;;;;3023:161::o;19557:226:47:-;-1:-1:-1;;;;;;;;;;;2613:30:15;3970:28:47;713:10:23;2613::15;:30::i;:::-;19696:17:47::1;::::0;19672:62:::1;::::0;19715:18;;19696:17;19672:62:::1;::::0;;;::::1;-1:-1:-1::0;19740:17:47::1;:38:::0;19557:226::o;17433:315::-;2206:4:15;2613:30;2206:4;713:10:23;2613::15;:30::i;:::-;-1:-1:-1;;;;;17543:30:47;::::1;17539:73;;17582:30;;-1:-1:-1::0;;;17582:30:47::1;;;;;;;;;;;17539:73;17650:15;::::0;17623:62:::1;::::0;-1:-1:-1;;;;;17623:62:47;;::::1;::::0;17650:15:::1;::::0;17623:62:::1;::::0;17650:15:::1;::::0;17623:62:::1;-1:-1:-1::0;17691:15:47::1;:52:::0;;-1:-1:-1;;;;;;17691:52:47::1;-1:-1:-1::0;;;;;17691:52:47;;;::::1;::::0;;;::::1;::::0;;17433:315::o;21686:121::-;2206:4:15;2613:30;2206:4;713:10:23;2613::15;:30::i;:::-;21755:12:47::1;:20:::0;;-1:-1:-1;;21755:20:47::1;::::0;;21786:16:::1;::::0;::::1;::::0;21770:5:::1;::::0;21786:16:::1;21686:121:::0;:::o;15173:310::-;2206:4:15;2613:30;2206:4;713:10:23;2613::15;:30::i;:::-;-1:-1:-1;;;;;15283:30:47;::::1;15279:68;;15322:25;;-1:-1:-1::0;;;15322:25:47::1;;;;;;;;;;;15279:68;15385:15;::::0;15358:62:::1;::::0;-1:-1:-1;;;;;15358:62:47;;::::1;::::0;15385:15;;::::1;;::::0;15358:62:::1;::::0;;;::::1;-1:-1:-1::0;15426:15:47::1;:52:::0;;-1:-1:-1;;;;;15426:52:47;;::::1;::::0;::::1;-1:-1:-1::0;;;;;;15426:52:47;;::::1;::::0;;;::::1;::::0;;15173:310::o;1875:156:16:-;1975:7;1999:18;;;:12;:18;;;;;:27;;:25;:27::i;4746:159:15:-;4096:7;4120:12;;;:6;:12;;;;;;;;:22;;2613:30;2624:4;713:10:23;2613::15;:30::i;:::-;4874:26:::1;4886:4;4892:7;4874:11;:26::i;9679:405:50:-:0;9815:26;1720:1:19;2267:7;;:19;2259:63;;;;-1:-1:-1;;;2259:63:19;;;;;;;:::i;:::-;1720:1;2389:7;:18;9849:71:50::1;::::0;-1:-1:-1;;;9849:71:50;;-1:-1:-1;;;;;9858:8:50::1;9849:31;::::0;::::1;::::0;:71:::1;::::0;713:10:23;;9903:4:50::1;::::0;9910:9;;9849:71:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;9926:34:50::1;::::0;-1:-1:-1;;;9926:34:50;;::::1;::::0;::::1;1820:25:51::0;;;9935:8:50::1;-1:-1:-1::0;;;;;9926:23:50::1;::::0;::::1;::::0;1793:18:51;;9926:34:50::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;9988:91;10014:9;10031:14;10053:20;9988:18;:91::i;:::-;1679:1:19::0;2546:7;:22;9967:112:50;9679:405;-1:-1:-1;;;;9679:405:50:o;21196:118:47:-;4091:24;2613:30:15;4091:24:47;713:10:23;2613::15;:30::i;:::-;21259:15:47::1;:22:::0;;-1:-1:-1;;21259:22:47::1;21277:4;21259:22;::::0;;21292:17:::1;::::0;::::1;::::0;21259:15:::1;::::0;21292:17:::1;21196:118:::0;:::o;20374:206::-;-1:-1:-1;;;;;;;;;;;2613:30:15;3970:28:47;713:10:23;2613::15;:30::i;:::-;20501:15:47::1;::::0;20482:53:::1;::::0;20518:16;;20501:15;20482:53:::1;::::0;;;::::1;-1:-1:-1::0;20541:15:47::1;:34:::0;20374:206::o;6749:211:15:-;6828:22;6836:4;6842:7;6828;:22::i;:::-;6823:133;;6860:12;;;;6892:4;6860:12;;;;;;;;-1:-1:-1;;;;;6860:29:15;;;;;;;;;;:36;;-1:-1:-1;;6860:36:15;;;;;;;6909:40;;713:10:23;;6860:12:15;;6909:40;;6860:12;6909:40;6749:211;;:::o;7180:144:25:-;7250:4;7269:50;7274:3;-1:-1:-1;;;;;7294:23:25;;7269:4;:50::i;2714:230:15:-;2819:4;-1:-1:-1;;;;;;2846:47:15;;-1:-1:-1;;;2846:47:15;;:93;;-1:-1:-1;;;;;;;;;;993:40:24;;;2903:36:15;867:171:24;10159:1820:47;22074:12;;10314:26;;22074:12;;;;;22070:44;;;22095:19;;-1:-1:-1;;;22095:19:47;;;;;;;;;;;22070:44;-1:-1:-1;;;;;10353:40:47;::::1;;::::0;;;:24:::1;:40;::::0;;;;;::::1;;10348:72;;10402:18;;-1:-1:-1::0;;;10402:18:47::1;;;;;;;;;;;10348:72;10479:14;::::0;-1:-1:-1;;;;;10479:14:47::1;:31;10511:8;713:10:23::0;10479:55:47::1;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;10557:14:47::1;::::0;:54:::1;::::0;-1:-1:-1;;;10557:54:47;;10540:14:::1;::::0;-1:-1:-1;;;;;;10557:14:47;;::::1;::::0;-1:-1:-1;10557:30:47::1;::::0;:54:::1;::::0;10588:8:::1;::::0;713:10:23;;10557:54:47::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;10540:71:::0;-1:-1:-1;10540:71:47;10617:52:::1;;10650:19;;-1:-1:-1::0;;;10650:19:47::1;;;;;;;;;;;10617:52;10724:26;10784:14;10771:9;10754:14;:12;:14::i;:::-;:26;;;;:::i;:::-;10753:45;;;;:::i;:::-;10724:74;;10829:20;;10808:18;:41;10804:86;;;10864:26;;-1:-1:-1::0;;;10864:26:47::1;;;;;;;;;;;10804:86;10957:18;::::0;:118:::1;::::0;-1:-1:-1;;;10957:118:47;;10943:11:::1;::::0;-1:-1:-1;;;;;10957:18:47::1;::::0;:34:::1;::::0;:118:::1;::::0;10999:8:::1;::::0;11015:14;;11037:6;;11051:18;;10957:118:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;10943:132;;11092:18;11086:3;:24;11082:63;;;11119:26;;-1:-1:-1::0;;;11119:26:47::1;;;;;;;;;;;11082:63;11152:15;::::0;:152:::1;::::0;-1:-1:-1;;;11152:152:47;;-1:-1:-1;;;;;11152:15:47;;::::1;::::0;:39:::1;::::0;:152:::1;::::0;:15;;11250:8:::1;::::0;11266:6;;11280:18;;11152:152:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;11475:10:47::1;::::0;:40:::1;::::0;-1:-1:-1;;;11475:40:47;;-1:-1:-1;;;;;661:32:51;;;11475:40:47::1;::::0;::::1;643:51:51::0;11475:10:47;;::::1;::::0;-1:-1:-1;11475:24:47::1;::::0;-1:-1:-1;616:18:51;;11475:40:47::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;11439:14;-1:-1:-1::0;;;;;11424:39:47::1;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;11418:47;::::0;:2:::1;:47;:::i;:::-;11382:24;11403:3:::0;11382:18;:24:::1;:::i;:::-;11381:84;;;;:::i;:::-;11380:135;;;;:::i;:::-;11353:162;;11547:20;11526:18;:41;11522:83;;;11582:23;;-1:-1:-1::0;;;11582:23:47::1;;;;;;;;;;;11522:83;11612:15;::::0;:122:::1;::::0;-1:-1:-1;;;11612:122:47;;:15;;;::::1;-1:-1:-1::0;;;;;11612:15:47::1;::::0;:29:::1;::::0;:122:::1;::::0;11657:8:::1;::::0;11674:14;;11696:6;;11710:18;;11612:122:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;11741:69;11777:12;713:10:23::0;;638:90;11777:12:47::1;-1:-1:-1::0;;;;;11741:35:47;::::1;::::0;11791:18;11741:35:::1;:69::i;:::-;11822:152;::::0;;12668:25:51;;;-1:-1:-1;;;;;12729:32:51;;12724:2;12709:18;;12702:60;12778:18;;;12771:34;;;12836:2;12821:18;;12814:34;;;12879:3;12864:19;;12857:35;;;11860:6:47;;713:10:23;;11822:152:47::1;::::0;12655:3:51;12640:19;11822:152:47::1;;;;;;;;10342:1637;;;10159:1820:::0;;;;;:::o;7562:1861::-;21915:15;;7722:20;;21915:15;;21911:49;;;21939:21;;-1:-1:-1;;;21939:21:47;;;;;;;;;;;21911:49;-1:-1:-1;;;;;7755:40:47;::::1;;::::0;;;:26:::1;:40;::::0;;;;;::::1;;7750:72;;7804:18;;-1:-1:-1::0;;;7804:18:47::1;;;;;;;;;;;7750:72;7877:14;::::0;-1:-1:-1;;;;;7877:14:47::1;:31;7909:8;713:10:23::0;7877:55:47::1;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;7955:14:47::1;::::0;:54:::1;::::0;-1:-1:-1;;;7955:54:47;;7938:14:::1;::::0;-1:-1:-1;;;;;;7955:14:47;;::::1;::::0;-1:-1:-1;7955:30:47::1;::::0;:54:::1;::::0;7986:8:::1;::::0;713:10:23;;7955:54:47::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7938:71:::0;-1:-1:-1;7938:71:47;8015:52:::1;;8048:19;;-1:-1:-1::0;;;8048:19:47::1;;;;;;;;;;;8015:52;8074:105;-1:-1:-1::0;;;;;8074:37:47;::::1;713:10:23::0;8147:4:47::1;8160:13:::0;8074:37:::1;:105::i;:::-;8227:15;::::0;8185:74:::1;::::0;-1:-1:-1;;;;;8185:33:47;;::::1;::::0;8227:15;;::::1;;8245:13:::0;8185:33:::1;:74::i;:::-;8266:15;::::0;:67:::1;::::0;-1:-1:-1;;;8266:67:47;;:15;;;::::1;-1:-1:-1::0;;;;;8266:15:47::1;::::0;:28:::1;::::0;:67:::1;::::0;8295:8:::1;::::0;8305:12;;8319:13;;8266:67:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;8388:23;8500:12;-1:-1:-1::0;;;;;8485:37:47::1;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8479:45;::::0;:2:::1;:45;:::i;:::-;8415:10;::::0;:38:::1;::::0;-1:-1:-1;;;8415:38:47;;-1:-1:-1;;;;;661:32:51;;;8415:38:47::1;::::0;::::1;643:51:51::0;8462:13:47;;8415:10:::1;::::0;:24:::1;::::0;616:18:51;;8415:38:47::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:60;;;;:::i;:::-;8414:110;;;;:::i;:::-;8388:136;;8553:17;;8535:15;:35;8531:71;;;8579:23;;-1:-1:-1::0;;;8579:23:47::1;;;;;;;;;;;8531:71;8658:20;::::0;:115:::1;::::0;-1:-1:-1;;;8658:115:47;;8644:11:::1;::::0;-1:-1:-1;;;;;8658:20:47::1;::::0;:36:::1;::::0;:115:::1;::::0;8702:8:::1;::::0;8718:12;;8738:6;;8752:15;;8658:115:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8644:129;;8790:15;8784:3;:21;8780:62;;;8814:28;;-1:-1:-1::0;;;8814:28:47::1;;;;;;;;;;;8780:62;9008:14;:12;:14::i;:::-;8990;8965:21;8983:3:::0;8965:15;:21:::1;:::i;:::-;8964:40;;;;:::i;:::-;8963:59;;;;:::i;:::-;8948:74;;9048:18;9033:12;:33;9029:72;;;9075:26;;-1:-1:-1::0;;;9075:26:47::1;;;;;;;;;;;9029:72;9108:15;::::0;:151:::1;::::0;-1:-1:-1;;;9108:151:47;;-1:-1:-1;;;;;9108:15:47;;::::1;::::0;:39:::1;::::0;:151:::1;::::0;:15:::1;::::0;9208:8:::1;::::0;9224:6;;9238:15;;9108:151:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;9311:6;9291:12;713:10:23::0;;638:90;9291:12:47::1;9271:147;::::0;;12668:25:51;;;-1:-1:-1;;;;;12729:32:51;;;12724:2;12709:18;;12702:60;12778:18;;;12771:34;;;12836:2;12821:18;;12814:34;;;12879:3;12864:19;;12857:35;;;9271:147:47;::::1;::::0;::::1;::::0;12655:3:51;12640:19;9271:147:47::1;12409:489:51::0;3449:386:15;3533:22;3541:4;3547:7;3533;:22::i;:::-;3528:303;;3668:41;3696:7;-1:-1:-1;;;;;3668:41:15;3706:2;3668:19;:41::i;:::-;3756:38;3784:4;3791:2;3756:19;:38::i;:::-;3599:207;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3599:207:15;;;;;;;;;;-1:-1:-1;;;3565:259:15;;;;;;;:::i;12614:967:47:-;21915:15;;;;21911:49;;;21939:21;;-1:-1:-1;;;21939:21:47;;;;;;;;;;;21911:49;4234:36:::1;2613:30:15;4234:36:47::0;713:10:23;2613::15;:30::i;:::-:1;12842:14:47::2;::::0;:52:::2;::::0;-1:-1:-1;;;12842:52:47;;-1:-1:-1;;;;;12842:14:47;;::::2;::::0;:31:::2;::::0;:52:::2;::::0;12874:8:::2;::::0;12884:9;;12842:52:::2;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;12917:14:47::2;::::0;:51:::2;::::0;-1:-1:-1;;;12917:51:47;;12900:14:::2;::::0;-1:-1:-1;;;;;;12917:14:47;;::::2;::::0;-1:-1:-1;12917:30:47::2;::::0;:51:::2;::::0;12948:8:::2;::::0;12958:9;;12917:51:::2;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12900:68:::0;-1:-1:-1;12900:68:47;12974:52:::2;;13007:19;;-1:-1:-1::0;;;13007:19:47::2;;;;;;;;;;;12974:52;13086:23;13143:14;13125;:12;:14::i;:::-;13113:26;::::0;:9;:26:::2;:::i;:::-;13112:45;;;;:::i;:::-;13164:24;::::0;:114:::2;::::0;-1:-1:-1;;;13164:114:47;;13086:71;;-1:-1:-1;;;;;;13164:24:47::2;::::0;:65:::2;::::0;:114:::2;::::0;713:10:23;;13086:71:47;;13164:114:::2;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;13284:15:47::2;::::0;:151:::2;::::0;-1:-1:-1;;;13284:151:47;;-1:-1:-1;;;;;13284:15:47;;::::2;::::0;-1:-1:-1;13284:39:47::2;::::0;-1:-1:-1;13284:151:47::2;::::0;:15:::2;::::0;13384:8:::2;::::0;13400:6;;13414:15;;13284:151:::2;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;13508:6;13491:9;-1:-1:-1::0;;;;;13446:130:47::2;13471:12;713:10:23::0;;638:90;13471:12:47::2;13446:130;::::0;;9448:25:51;;;9504:2;9489:18;;9482:34;;;9532:18;;;9525:34;;;-1:-1:-1;;;;;13446:130:47;;;::::2;::::0;::::2;::::0;9436:2:51;9421:18;13446:130:47::2;;;;;;;12787:794;;21966:1:::1;12614:967:::0;;;:::o;2111:156:16:-;2194:31;2211:4;2217:7;2194:16;:31::i;:::-;2231:18;;;;:12;:18;;;;;:31;;2254:7;2231:22;:31::i;2348:175::-;2446:32;2464:4;2470:7;2446:17;:32::i;:::-;2484:18;;;;:12;:18;;;;;:34;;2510:7;2484:25;:34::i;1190:160:22:-;1272:71;1292:5;1314;-1:-1:-1;;;;;1314:14:22;;1331:2;1335:5;1299:43;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1299:43:22;;;;;;;;;;;1272:19;:71::i;8386:164:25:-;8472:7;8520:22;8524:3;8536:5;8520:3;:22::i;7957:109::-;8020:7;8042:19;8050:3;3752:18;;3674:101;1643:354;1706:4;3572:19;;;:12;;;:19;;;;;;1718:275;;-1:-1:-1;1754:23:25;;;;;;;;:11;:23;;;;;;;;;;;;;1916:18;;1894:19;;;:12;;;:19;;;;;;:40;;;;1942:11;;1718:275;-1:-1:-1;1981:5:25;1974:12;;13700:182:47;13782:10;;:34;;-1:-1:-1;;;13782:34:47;;-1:-1:-1;;;;;13807:8:47;661:32:51;;13782:34:47;;;643:51:51;-1:-1:-1;;13782:10:47;;:24;;616:18:51;;13782:34:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;13771:45;;13837:15;;13826:8;:26;13822:55;;;13861:16;;-1:-1:-1;;;13861:16:47;;;;;;;;;;;13822:55;13700:182;:::o;1589:188:22:-;1689:81;1709:5;1731;-1:-1:-1;;;;;1731:18:22;;1752:4;1758:2;1762:5;1716:53;;;;;;;;;;:::i;4371:380::-;4458:25;4501:5;-1:-1:-1;;;;;4501:13:22;;4517:7;4526:5;4486:47;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4486:47:22;;;;;;;;;;;4458:75;;4549:44;4573:5;4580:12;4549:23;:44::i;:::-;4544:201;;4609:71;4629:5;4651;-1:-1:-1;;;;;4651:13:22;;4667:7;4676:1;4636:43;;;;;;;;;:::i;4609:71::-;4694:40;4714:5;4721:12;4694:19;:40::i;1428:413:27:-;1515:13;1538:19;1570:10;1574:6;1570:1;:10;:::i;:::-;:14;;1583:1;1570:14;:::i;:::-;1560:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1560:25:27;;1538:47;;-1:-1:-1;;;1591:6:27;1598:1;1591:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1591:15:27;;;;;;;;;-1:-1:-1;;;1612:6:27;1619:1;1612:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1612:15:27;;;;;;;;-1:-1:-1;1638:9:27;1650:10;1654:6;1650:1;:10;:::i;:::-;:14;;1663:1;1650:14;:::i;:::-;1638:26;;1633:116;1670:1;1666;:5;1633:116;;;-1:-1:-1;;;1711:5:27;1719:3;1711:11;1698:25;;;;;;;:::i;:::-;;;;1686:6;1693:1;1686:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;1686:37:27;;;;;;;;-1:-1:-1;1741:1:27;1731:11;;;;;1673:3;;;:::i;:::-;;;1633:116;;;-1:-1:-1;1762:10:27;;1754:55;;;;-1:-1:-1;;;1754:55:27;;15400:2:51;1754:55:27;;;15382:21:51;;;15419:18;;;15412:30;15478:34;15458:18;;;15451:62;15530:18;;1754:55:27;15198:356:51;7073:212:15;7152:22;7160:4;7166:7;7152;:22::i;:::-;7148:133;;;7216:5;7184:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;7184:29:15;;;;;;;;;;:37;;-1:-1:-1;;7184:37:15;;;7234:40;713:10:23;;7184:12:15;;7234:40;;7216:5;7234:40;7073:212;;:::o;7478:160:25:-;7559:4;7580:53;7588:3;-1:-1:-1;;;;;7608:23:25;;7580:7;:53::i;5248:720:22:-;5328:18;5356:19;5494:4;5491:1;5484:4;5478:11;5471:4;5465;5461:15;5458:1;5451:5;5444;5439:60;5551:7;5541:176;;5595:4;5589:11;5640:16;5637:1;5632:3;5617:40;5686:16;5681:3;5674:29;5541:176;-1:-1:-1;;5794:1:22;5788:8;5744:16;;-1:-1:-1;5820:15:22;;:68;;5872:11;5887:1;5872:16;;5820:68;;;-1:-1:-1;;;;;5838:26:22;;;:31;5820:68;5816:146;;;5911:40;;-1:-1:-1;;;5911:40:22;;-1:-1:-1;;;;;661:32:51;;5911:40:22;;;643:51:51;616:18;;5911:40:22;497:203:51;4095:112:25;4162:7;4184:3;:11;;4196:5;4184:18;;;;;;;;:::i;:::-;;;;;;;;;4177:25;;4095:112;;;;:::o;6470:480:22:-;6553:4;6569:12;6591:18;6619:19;6753:4;6750:1;6743:4;6737:11;6730:4;6724;6720:15;6717:1;6710:5;6703;6698:60;6687:71;;6785:16;6771:30;;6835:1;6829:8;6814:23;;6863:7;:80;;;;-1:-1:-1;6875:15:22;;:67;;6926:11;6941:1;6926:16;6875:67;;;6922:1;6901:5;-1:-1:-1;;;;;6893:26:22;;:30;6875:67;6856:87;6470:480;-1:-1:-1;;;;;;6470:480:22:o;2151:1242:25:-;2217:4;2346:19;;;:12;;;:19;;;;;;2376:15;;2372:1017;;2715:21;2739:14;2752:1;2739:10;:14;:::i;:::-;2781:18;;2715:38;;-1:-1:-1;2761:17:25;;2781:22;;2802:1;;2781:22;:::i;:::-;2761:42;;2829:13;2816:9;:26;2812:352;;2854:17;2874:3;:11;;2886:9;2874:22;;;;;;;;:::i;:::-;;;;;;;;;2854:42;;3009:9;2980:3;:11;;2992:13;2980:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;3076:23;;;:12;;;:23;;;;;:36;;;2812:352;3230:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;3310:3;:12;;:19;3323:5;3310:19;;;;;;;;;;;3303:26;;;3345:4;3338:11;;;;;;;2372:1017;3377:5;3370:12;;;;;14:286:51;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:51;;209:43;;199:71;;266:1;263;256:12;1169:173;1237:20;;-1:-1:-1;;;;;1286:31:51;;1276:42;;1266:70;;1332:1;1329;1322:12;1266:70;1169:173;;;:::o;1347:322::-;1424:6;1432;1440;1493:2;1481:9;1472:7;1468:23;1464:32;1461:52;;;1509:1;1506;1499:12;1461:52;1545:9;1532:23;1522:33;;1574:38;1608:2;1597:9;1593:18;1574:38;:::i;:::-;1564:48;;1659:2;1648:9;1644:18;1631:32;1621:42;;1347:322;;;;;:::o;2316:::-;2393:6;2401;2409;2462:2;2450:9;2441:7;2437:23;2433:32;2430:52;;;2478:1;2475;2468:12;2430:52;2501:29;2520:9;2501:29;:::i;:::-;2491:39;2577:2;2562:18;;2549:32;;-1:-1:-1;2628:2:51;2613:18;;;2600:32;;2316:322;-1:-1:-1;;;2316:322:51:o;2643:186::-;2702:6;2755:2;2743:9;2734:7;2730:23;2726:32;2723:52;;;2771:1;2768;2761:12;2723:52;2794:29;2813:9;2794:29;:::i;2834:180::-;2893:6;2946:2;2934:9;2925:7;2921:23;2917:32;2914:52;;;2962:1;2959;2952:12;2914:52;-1:-1:-1;2985:23:51;;2834:180;-1:-1:-1;2834:180:51:o;3528:254::-;3596:6;3604;3657:2;3645:9;3636:7;3632:23;3628:32;3625:52;;;3673:1;3670;3663:12;3625:52;3709:9;3696:23;3686:33;;3738:38;3772:2;3761:9;3757:18;3738:38;:::i;:::-;3728:48;;3528:254;;;;;:::o;3787:118::-;3873:5;3866:13;3859:21;3852:5;3849:32;3839:60;;3895:1;3892;3885:12;3839:60;3787:118;:::o;3910:315::-;3975:6;3983;4036:2;4024:9;4015:7;4011:23;4007:32;4004:52;;;4052:1;4049;4042:12;4004:52;4075:29;4094:9;4075:29;:::i;:::-;4065:39;;4154:2;4143:9;4139:18;4126:32;4167:28;4189:5;4167:28;:::i;:::-;4214:5;4204:15;;;3910:315;;;;;:::o;4415:328::-;4492:6;4500;4508;4561:2;4549:9;4540:7;4536:23;4532:32;4529:52;;;4577:1;4574;4567:12;4529:52;4600:29;4619:9;4600:29;:::i;:::-;4590:39;;4648:38;4682:2;4671:9;4667:18;4648:38;:::i;5214:248::-;5282:6;5290;5343:2;5331:9;5322:7;5318:23;5314:32;5311:52;;;5359:1;5356;5349:12;5311:52;-1:-1:-1;;5382:23:51;;;5452:2;5437:18;;;5424:32;;-1:-1:-1;5214:248:51:o;5925:355::-;6127:2;6109:21;;;6166:2;6146:18;;;6139:30;6205:33;6200:2;6185:18;;6178:61;6271:2;6256:18;;5925:355::o;6285:375::-;-1:-1:-1;;;;;6543:15:51;;;6525:34;;6595:15;;;;6590:2;6575:18;;6568:43;6642:2;6627:18;;6620:34;;;;6475:2;6460:18;;6285:375::o;6665:245::-;6732:6;6785:2;6773:9;6764:7;6760:23;6756:32;6753:52;;;6801:1;6798;6791:12;6753:52;6833:9;6827:16;6852:28;6874:5;6852:28;:::i;6915:184::-;6985:6;7038:2;7026:9;7017:7;7013:23;7009:32;7006:52;;;7054:1;7051;7044:12;7006:52;-1:-1:-1;7077:16:51;;6915:184;-1:-1:-1;6915:184:51:o;7104:127::-;7165:10;7160:3;7156:20;7153:1;7146:31;7196:4;7193:1;7186:15;7220:4;7217:1;7210:15;7236:217;7276:1;7302;7292:132;;7346:10;7341:3;7337:20;7334:1;7327:31;7381:4;7378:1;7371:15;7409:4;7406:1;7399:15;7292:132;-1:-1:-1;7438:9:51;;7236:217::o;7880:274::-;-1:-1:-1;;;;;8072:32:51;;;;8054:51;;8136:2;8121:18;;8114:34;8042:2;8027:18;;7880:274::o;8159:304::-;-1:-1:-1;;;;;8389:15:51;;;8371:34;;8441:15;;8436:2;8421:18;;8414:43;8321:2;8306:18;;8159:304::o;9073:168::-;9113:7;9179:1;9175;9171:6;9167:14;9164:1;9161:21;9156:1;9149:9;9142:17;9138:45;9135:71;;;9186:18;;:::i;:::-;-1:-1:-1;9226:9:51;;9073:168::o;9570:447::-;-1:-1:-1;;;;;9857:15:51;;;9839:34;;9909:15;;;;9904:2;9889:18;;9882:43;9956:2;9941:18;;9934:34;9999:2;9984:18;;9977:34;;;;9788:3;9773:19;;9570:447::o;10022:588::-;10258:3;10243:19;;10292:1;10281:13;;10271:144;;10337:10;10332:3;10328:20;10325:1;10318:31;10372:4;10369:1;10362:15;10400:4;10397:1;10390:15;10271:144;10424:25;;;-1:-1:-1;;;;;10485:32:51;;;;10480:2;10465:18;;10458:60;10549:2;10534:18;;10527:34;;;;10592:2;10577:18;;;10570:34;10022:588;:::o;10615:273::-;10683:6;10736:2;10724:9;10715:7;10711:23;10707:32;10704:52;;;10752:1;10749;10742:12;10704:52;10784:9;10778:16;10834:4;10827:5;10823:16;10816:5;10813:27;10803:55;;10854:1;10851;10844:12;10893:422;10982:1;11025:5;10982:1;11039:270;11060:7;11050:8;11047:21;11039:270;;;11119:4;11115:1;11111:6;11107:17;11101:4;11098:27;11095:53;;;11128:18;;:::i;:::-;11178:7;11168:8;11164:22;11161:55;;;11198:16;;;;11161:55;11277:22;;;;11237:15;;;;11039:270;;;11043:3;10893:422;;;;;:::o;11320:806::-;11369:5;11399:8;11389:80;;-1:-1:-1;11440:1:51;11454:5;;11389:80;11488:4;11478:76;;-1:-1:-1;11525:1:51;11539:5;;11478:76;11570:4;11588:1;11583:59;;;;11656:1;11651:130;;;;11563:218;;11583:59;11613:1;11604:10;;11627:5;;;11651:130;11688:3;11678:8;11675:17;11672:43;;;11695:18;;:::i;:::-;-1:-1:-1;;11751:1:51;11737:16;;11766:5;;11563:218;;11865:2;11855:8;11852:16;11846:3;11840:4;11837:13;11833:36;11827:2;11817:8;11814:16;11809:2;11803:4;11800:12;11796:35;11793:77;11790:159;;;-1:-1:-1;11902:19:51;;;11934:5;;11790:159;11981:34;12006:8;12000:4;11981:34;:::i;:::-;12051:6;12047:1;12043:6;12039:19;12030:7;12027:32;12024:58;;;12062:18;;:::i;:::-;12100:20;;11320:806;-1:-1:-1;;;11320:806:51:o;12131:140::-;12189:5;12218:47;12259:4;12249:8;12245:19;12239:4;12218:47;:::i;12276:128::-;12343:9;;;12364:11;;;12361:37;;;12378:18;;:::i;12903:250::-;12988:1;12998:113;13012:6;13009:1;13006:13;12998:113;;;13088:11;;;13082:18;13069:11;;;13062:39;13034:2;13027:10;12998:113;;;-1:-1:-1;;13145:1:51;13127:16;;13120:27;12903:250::o;13158:812::-;13569:25;13564:3;13557:38;13539:3;13624:6;13618:13;13640:75;13708:6;13703:2;13698:3;13694:12;13687:4;13679:6;13675:17;13640:75;:::i;:::-;-1:-1:-1;;;13774:2:51;13734:16;;;13766:11;;;13759:40;13824:13;;13846:76;13824:13;13908:2;13900:11;;13893:4;13881:17;;13846:76;:::i;:::-;13942:17;13961:2;13938:26;;13158:812;-1:-1:-1;;;;13158:812:51:o;13975:396::-;14124:2;14113:9;14106:21;14087:4;14156:6;14150:13;14199:6;14194:2;14183:9;14179:18;14172:34;14215:79;14287:6;14282:2;14271:9;14267:18;14262:2;14254:6;14250:15;14215:79;:::i;:::-;14355:2;14334:15;-1:-1:-1;;14330:29:51;14315:45;;;;14362:2;14311:54;;13975:396;-1:-1:-1;;13975:396:51:o;14663:125::-;14728:9;;;14749:10;;;14746:36;;;14762:18;;:::i;14793:127::-;14854:10;14849:3;14845:20;14842:1;14835:31;14885:4;14882:1;14875:15;14909:4;14906:1;14899:15;14925:127;14986:10;14981:3;14977:20;14974:1;14967:31;15017:4;15014:1;15007:15;15041:4;15038:1;15031:15;15057:136;15096:3;15124:5;15114:39;;15133:18;;:::i;:::-;-1:-1:-1;;;15169:18:51;;15057:136::o;15559:127::-;15620:10;15615:3;15611:20;15608:1;15601:31;15651:4;15648:1;15641:15;15675:4;15672:1;15665:15","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa26469706673582212206b3d1ae2de87393fe963ec5f8872f8cbb8779d18a8a5aefca212b05fc28e2fdb64736f6c63430008100033","offset":15347}},"immutableReferences":{"5821":[{"start":1505,"length":32},{"start":8970,"length":32},{"start":11024,"length":32},{"start":11850,"length":32}],"5857":[{"start":938,"length":32},{"start":2611,"length":32},{"start":2889,"length":32},{"start":3179,"length":32},{"start":3364,"length":32},{"start":3901,"length":32},{"start":4282,"length":32},{"start":4408,"length":32},{"start":5654,"length":32},{"start":6435,"length":32},{"start":6561,"length":32},{"start":7923,"length":32},{"start":8070,"length":32},{"start":8673,"length":32},{"start":8827,"length":32},{"start":9108,"length":32},{"start":9299,"length":32},{"start":9722,"length":32},{"start":10062,"length":32},{"start":10216,"length":32},{"start":10453,"length":32},{"start":10866,"length":32},{"start":11163,"length":32},{"start":11572,"length":32},{"start":11707,"length":32},{"start":12053,"length":32},{"start":12534,"length":32}],"7149":[{"start":1020,"length":32},{"start":2185,"length":32},{"start":2332,"length":32},{"start":2469,"length":32},{"start":4121,"length":32},{"start":4455,"length":32},{"start":4587,"length":32},{"start":4689,"length":32},{"start":6269,"length":32},{"start":6608,"length":32},{"start":6740,"length":32},{"start":6842,"length":32}]},"transformations":[{"id":"5821","type":"replace","offset":1505,"reason":"immutable"},{"id":"5821","type":"replace","offset":8970,"reason":"immutable"},{"id":"5821","type":"replace","offset":11024,"reason":"immutable"},{"id":"5821","type":"replace","offset":11850,"reason":"immutable"},{"id":"5857","type":"replace","offset":938,"reason":"immutable"},{"id":"5857","type":"replace","offset":2611,"reason":"immutable"},{"id":"5857","type":"replace","offset":2889,"reason":"immutable"},{"id":"5857","type":"replace","offset":3179,"reason":"immutable"},{"id":"5857","type":"replace","offset":3364,"reason":"immutable"},{"id":"5857","type":"replace","offset":3901,"reason":"immutable"},{"id":"5857","type":"replace","offset":4282,"reason":"immutable"},{"id":"5857","type":"replace","offset":4408,"reason":"immutable"},{"id":"5857","type":"replace","offset":5654,"reason":"immutable"},{"id":"5857","type":"replace","offset":6435,"reason":"immutable"},{"id":"5857","type":"replace","offset":6561,"reason":"immutable"},{"id":"5857","type":"replace","offset":7923,"reason":"immutable"},{"id":"5857","type":"replace","offset":8070,"reason":"immutable"},{"id":"5857","type":"replace","offset":8673,"reason":"immutable"},{"id":"5857","type":"replace","offset":8827,"reason":"immutable"},{"id":"5857","type":"replace","offset":9108,"reason":"immutable"},{"id":"5857","type":"replace","offset":9299,"reason":"immutable"},{"id":"5857","type":"replace","offset":9722,"reason":"immutable"},{"id":"5857","type":"replace","offset":10062,"reason":"immutable"},{"id":"5857","type":"replace","offset":10216,"reason":"immutable"},{"id":"5857","type":"replace","offset":10453,"reason":"immutable"},{"id":"5857","type":"replace","offset":10866,"reason":"immutable"},{"id":"5857","type":"replace","offset":11163,"reason":"immutable"},{"id":"5857","type":"replace","offset":11572,"reason":"immutable"},{"id":"5857","type":"replace","offset":11707,"reason":"immutable"},{"id":"5857","type":"replace","offset":12053,"reason":"immutable"},{"id":"5857","type":"replace","offset":12534,"reason":"immutable"},{"id":"7149","type":"replace","offset":1020,"reason":"immutable"},{"id":"7149","type":"replace","offset":2185,"reason":"immutable"},{"id":"7149","type":"replace","offset":2332,"reason":"immutable"},{"id":"7149","type":"replace","offset":2469,"reason":"immutable"},{"id":"7149","type":"replace","offset":4121,"reason":"immutable"},{"id":"7149","type":"replace","offset":4455,"reason":"immutable"},{"id":"7149","type":"replace","offset":4587,"reason":"immutable"},{"id":"7149","type":"replace","offset":4689,"reason":"immutable"},{"id":"7149","type":"replace","offset":6269,"reason":"immutable"},{"id":"7149","type":"replace","offset":6608,"reason":"immutable"},{"id":"7149","type":"replace","offset":6740,"reason":"immutable"},{"id":"7149","type":"replace","offset":6842,"reason":"immutable"},{"id":"1","type":"replace","offset":15347,"reason":"cborAuxdata"}],"transformationValues":{"immutables":{"5821":"0x0000000000000000000000000000000000000000000000000de0b6b3a7640000","5857":"0x00000000000000000000000096f6ef951840721adbf46ac996b59e0235cb985c","7149":"0x000000000000000000000000af37c1167910ebc994e266949387d2c7c326b879"},"cborAuxdata":{"1":"0xa2646970667358221220b36c68333eacbc0fb788b29b7499d75cfd90c1b8511eed3b0987bcc335b444aa64736f6c63430008100033"}}},"deployment":{"transactionHash":"0xa65d7e9c8f7c7cc9bf341f3b14d3effce5151842da5fdca19adbc72afc11bb53","blockNumber":"23970980","transactionIndex":"60","deployer":"0x1dd6bCf6d188f11D8dE64b5c8575FB86c4b3D9ff"},"sources":{"contracts/xManager/rwaManagers/USDY_InstantManager.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\n/*\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n */\npragma solidity 0.8.16;\n\nimport \"contracts/xManager/rwaManagers/BaseRWAManager.sol\";\nimport \"contracts/interfaces/IRWALike.sol\";\nimport \"contracts/usdy/rusdy/rUSDY.sol\";\nimport \"contracts/xManager/interfaces/IUSDY_InstantManager.sol\";\n\n/**\n * @title  USDY_InstantManager\n * @author Ondo Finance\n * @notice This contract manages instant subscriptions and redemptions of USDY and rUSDY tokens,\n *         with support for conversion between USDY and rUSDY.\n *\n *         This contract allows for:\n *         - Users to instantly subscribe to USDY or rUSDY by depositing supported tokens\n *         - Users to redeem USDY or rUSDY back to supported tokens\n *         - An admin to execute manual subscriptions for specialized use cases\n */\ncontract USDY_InstantManager is BaseRWAManager, IUSDY_InstantManager {\n  /// The rebasing USDY token contract\n  rUSDY public immutable rusdy;\n\n  /// Helper constant for converting between USDY tokens and rUSDY shares\n  uint256 public constant USDY_TO_RUSDY_SHARES_MULTIPLIER = 10_000;\n\n  /**\n   * @notice Event emitted when a user mints rUSDY\n   * @param  recipient      Address of the recipient\n   * @param  usdyAmountOut  Amount of USDY wrapped for the user\n   * @param  rusdyAmountOut Amount of rUSDY sent to user\n   * @param  depositToken   Address of the token deposited\n   * @param  depositAmount  Amount of tokens deposited, denoted in decimals of `depositToken`\n   */\n  event InstantSubscriptionRebasingUSDY(\n    address indexed recipient,\n    uint256 usdyAmountOut,\n    uint256 rusdyAmountOut,\n    address depositToken,\n    uint256 depositAmount\n  );\n\n  /**\n   * @notice Event emitted when a user redeems rUSDY\n   * @param  redeemer           Address of the redeemer\n   * @param  usdyAmountIn       Amount of USDY unwrapped for the user\n   * @param  rusdyAmountIn      Amount of the rUSDY burned for the redemption\n   * @param  receivingToken     Address of the token received\n   * @param  receiveTokenAmount Amount of tokens received, denoted in decimals of `receivingToken`\n   */\n  event InstantRedemptionRebasingUSDY(\n    address indexed redeemer,\n    uint256 usdyAmountIn,\n    uint256 rusdyAmountIn,\n    address receivingToken,\n    uint256 receiveTokenAmount\n  );\n\n  /**\n   * @notice Event emitted when an admin mints rUSDY\n   * @param  recipient   Address of the recipient\n   * @param  usdyAmount  Amount of USDY wrapped for the user\n   * @param  rusdyAmount Amount of rUSDY sent to recipient\n   * @param  metadata    Metadata for the subscription\n   */\n  event AdminSubscriptionRebasingUSDY(\n    address indexed recipient,\n    uint256 usdyAmount,\n    uint256 rusdyAmount,\n    bytes32 metadata\n  );\n\n  /// Error emitted when setting the rUSDY address to the zero address\n  error RebasingUSDYCantBeZeroAddress();\n\n  /**\n   * @param _defaultAdmin            The default admin address\n   * @param _rwaToken                The USDY token address\n   * @param _rusdy                   The rUSDY token address\n   * @param _minimumDepositAmount    The minimum deposit amount\n   * @param _minimumRedemptionAmount The minimum redemption amount\n   */\n  constructor(\n    address _defaultAdmin,\n    address _rwaToken,\n    address _rusdy,\n    uint256 _minimumDepositAmount,\n    uint256 _minimumRedemptionAmount\n  )\n    BaseRWAManager(\n      _defaultAdmin,\n      _rwaToken,\n      _minimumDepositAmount,\n      _minimumRedemptionAmount\n    )\n  {\n    if (_rusdy == address(0)) revert RebasingUSDYCantBeZeroAddress();\n    rusdy = rUSDY(_rusdy);\n  }\n\n  /**\n   * @notice Subscribes to the RWA using the specified deposit token and amount\n   * @param  depositToken       The address of the token to be deposited\n   * @param  depositAmount      The amount of the deposit token to be deposited, expected to be in\n   *                            decimals of `depositToken`\n   * @param  minimumRwaReceived The minimum amount of RWA to be received from the subscription,\n   *                            expected to be in decimals of the RWA token\n   * @return rwaAmountOut       The amount of RWA received from the subscription, expected to be in\n   *                            decimals of the RWA token\n   */\n  function subscribe(\n    address depositToken,\n    uint256 depositAmount,\n    uint256 minimumRwaReceived\n  ) external nonReentrant returns (uint256 rwaAmountOut) {\n    rwaAmountOut = _processSubscription(\n      depositToken,\n      depositAmount,\n      minimumRwaReceived\n    );\n    IRWALike(rwaToken).mint(_msgSender(), rwaAmountOut);\n  }\n\n  /**\n   * @notice Subscribes to rUSDY. This works similar to `subscribe`, but\n   *         wraps the USDY into rUSDY before transferring to the user.\n   * @param  depositToken         The token to deposit\n   * @param  depositAmount        Amount of tokens to deposit, denoted in decimals of the\n   *                              `depositToken`\n   * @param  minimumRusdyReceived Minimum amount of rUSDY to receive\n   * @return rusdyAmountOut       Amount of rUSDY received, in decimals of rUSDY\n   */\n  function subscribeRebasingUSDY(\n    address depositToken,\n    uint256 depositAmount,\n    uint256 minimumRusdyReceived\n  ) external nonReentrant returns (uint256 rusdyAmountOut) {\n    uint256 minimumOusgAmount = rusdy.getSharesByRUSDY(minimumRusdyReceived) /\n      USDY_TO_RUSDY_SHARES_MULTIPLIER;\n    uint256 usdyAmountOut = _processSubscription(\n      depositToken,\n      depositAmount,\n      minimumOusgAmount\n    );\n\n    IRWALike(rwaToken).mint(address(this), usdyAmountOut);\n    IRWALike(rwaToken).approve(address(rusdy), usdyAmountOut);\n    rusdy.wrap(usdyAmountOut);\n    rusdyAmountOut = rusdy.transferShares(\n      _msgSender(),\n      usdyAmountOut * USDY_TO_RUSDY_SHARES_MULTIPLIER\n    );\n\n    // Verify rUSDY amount received directly, avoiding precision loss from checking USDY values\n    // in `_processSubscription`\n    if (rusdyAmountOut < minimumRusdyReceived)\n      revert RwaReceiveAmountTooSmall();\n\n    emit InstantSubscriptionRebasingUSDY(\n      _msgSender(),\n      usdyAmountOut,\n      rusdyAmountOut,\n      depositToken,\n      depositAmount\n    );\n  }\n\n  /**\n   * @notice Allows an admin to subscribe on behalf of a recipient with the specified RWA amount\n   *         and metadata\n   * @param  recipient The address of the recipient\n   * @param  rwaAmount The amount of RWA to be subscribed, expected to be in decimals of the RWA\n   *                   token\n   * @param  metadata  Additional metadata associated with the subscription\n   */\n  function adminSubscribe(\n    address recipient,\n    uint256 rwaAmount,\n    bytes32 metadata\n  ) external nonReentrant {\n    _adminProcessSubscription(recipient, rwaAmount, metadata);\n    IRWALike(rwaToken).mint(recipient, rwaAmount);\n  }\n\n  /**\n   * @notice Performs an admin subscription to rUSDY. This works similar to\n   *         `adminSubscribe`, but wraps the USDY to rUSDY before transferring the tokens\n   *         to the user.\n   * @param  recipient    Recipient of the rUSDY\n   * @param  rusdyAmount  Amount of rUSDY to send, in decimals of rUSDY\n   * @param  metadata     Metadata for the subscription\n   */\n  function adminSubscribeRebasingUSDY(\n    address recipient,\n    uint256 rusdyAmount,\n    bytes32 metadata\n  ) external nonReentrant {\n    uint256 usdyAmount = rusdy.getSharesByRUSDY(rusdyAmount) /\n      USDY_TO_RUSDY_SHARES_MULTIPLIER;\n    _adminProcessSubscription(recipient, usdyAmount, metadata);\n    IRWALike(rwaToken).mint(address(this), usdyAmount);\n    IRWALike(rwaToken).approve(address(rusdy), usdyAmount);\n    rusdy.wrap(usdyAmount);\n    rusdy.transferShares(\n      recipient,\n      usdyAmount * USDY_TO_RUSDY_SHARES_MULTIPLIER\n    );\n\n    emit AdminSubscriptionRebasingUSDY(\n      recipient,\n      usdyAmount,\n      rusdyAmount,\n      metadata\n    );\n  }\n\n  /**\n   * @notice Redeems the specified amount of RWA for the receiving token\n   * @param  rwaAmount            The amount of RWA to be redeemed, expected to be in decimals of\n   *                              the RWA token\n   * @param  receivingToken       The address of the token to receive\n   * @param  minimumTokenReceived The minimum amount of the receiving token to be received,\n   *                              expected to be in decimals of `receivingToken`\n   * @return receiveTokenAmount   The amount of the token received from the redemption, expected\n   *                              to be in decimals of the `receivingToken`\n   */\n  function redeem(\n    uint256 rwaAmount,\n    address receivingToken,\n    uint256 minimumTokenReceived\n  ) external nonReentrant returns (uint256 receiveTokenAmount) {\n    IRWALike(rwaToken).transferFrom(_msgSender(), address(this), rwaAmount);\n    IRWALike(rwaToken).burn(rwaAmount);\n\n    receiveTokenAmount = _processRedemption(\n      rwaAmount,\n      receivingToken,\n      minimumTokenReceived\n    );\n  }\n\n  /**\n   * @notice Performs a rUSDY redemption. This works similar to `redeem`, but\n   *         unwraps the rUSDY to USDY before processing the redemption.\n   * @param  rusdyAmount            Amount of rUSDY to redeem\n   * @param  receivingToken         Token to receive\n   * @param  minimumTokenReceived   Minimum amount of tokens to receive, denoted in decimals of\n   *                                `receivingToken`\n   * @return receiveTokenAmount     Amount of tokens received, denoted in decimals of\n   *                                `receivingToken`\n   */\n  function redeemRebasingUSDY(\n    uint256 rusdyAmount,\n    address receivingToken,\n    uint256 minimumTokenReceived\n  ) external nonReentrant returns (uint256 receiveTokenAmount) {\n    rusdy.transferFrom(_msgSender(), address(this), rusdyAmount);\n    rusdy.unwrap(rusdyAmount);\n    uint256 usdyAmountIn = rusdy.getSharesByRUSDY(rusdyAmount) /\n      USDY_TO_RUSDY_SHARES_MULTIPLIER;\n    IRWALike(rwaToken).burn(usdyAmountIn);\n    receiveTokenAmount = _processRedemption(\n      usdyAmountIn,\n      receivingToken,\n      minimumTokenReceived\n    );\n    emit InstantRedemptionRebasingUSDY(\n      _msgSender(),\n      usdyAmountIn,\n      rusdyAmount,\n      receivingToken,\n      receiveTokenAmount\n    );\n  }\n}\n"},"contracts/xManager/rwaManagers/BaseRWAManager.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\n/*\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n */\npragma solidity 0.8.16;\nimport \"contracts/xManager/interfaces/ITokenSource.sol\";\nimport \"contracts/xManager/interfaces/ITokenRecipient.sol\";\nimport \"contracts/xManager/interfaces/IOndoTokenRouter.sol\";\nimport \"contracts/xManager/interfaces/IOndoIDRegistry.sol\";\nimport \"contracts/xManager/interfaces/IOndoCompliance.sol\";\nimport \"contracts/xManager/interfaces/IOndoRateLimiter.sol\";\nimport \"contracts/xManager/interfaces/IOndoOracle.sol\";\nimport \"contracts/xManager/interfaces/IOndoFees.sol\";\nimport \"contracts/xManager/interfaces/IAdminSubscriptionChecker.sol\";\nimport \"contracts/interfaces/IRWALike.sol\";\nimport \"contracts/xManager/rwaManagers/IBaseRWAManagerEvents.sol\";\nimport \"contracts/xManager/rwaManagers/IBaseRWAManagerErrors.sol\";\nimport \"contracts/external/openzeppelin/contracts/token/IERC20Metadata.sol\";\nimport \"contracts/external/openzeppelin/contracts/access/AccessControlEnumerable.sol\";\nimport \"contracts/external/openzeppelin/contracts/security/ReentrancyGuard.sol\";\nimport \"contracts/external/openzeppelin/contracts/token/SafeERC20.sol\";\n\n/**\n * @title  BaseRWAManager\n * @author Ondo Finance\n * @notice The BaseRWAManager contract contains the core logic for processing subscriptions\n *         and redemptions of RWA tokens. The abstract logic of this contract never touches\n *         RWA tokens, so inheriting child classes may implement the RWA token processing as they\n *         see fit.\n *         The responsibilities of this contract are:\n *          - Receiving deposits of tokens and depositing them into the OndoTokenRouter\n *          - Calculating the amount of RWA tokens to mint and/or transfer\n *            based on the deposit amount of subscriptions\n *          - Calculating the amount of tokens to return to users based on the redemption amount\n *          - Withdrawing tokens from the OndoTokenRouter and sending them to users\n *          - Enforcing the minimum deposit and redemption amounts\n *          - Ensuring users are registered with the OndoIDRegistry\n *          - Ensuring users are compliant with the OndoCompliance contract\n *         -  Checking user-specific and global rate limits\n *         -  Calculating the fees incurred by users for subscriptions and\n *            redemptions\n */\nabstract contract BaseRWAManager is\n  IBaseRWAManagerEvents,\n  IBaseRWAManagerErrors,\n  ReentrancyGuard,\n  AccessControlEnumerable\n{\n  using SafeERC20 for IERC20;\n  /// The decimals normalizer for USD\n  uint256 public constant USD_NORMALIZER = 1e18;\n\n  /// The decimals normalizer for the RWA token\n  uint256 public immutable RWA_NORMALIZER;\n\n  /// Role to configure the contract\n  bytes32 public constant CONFIGURER_ROLE = keccak256(\"CONFIGURER_ROLE\");\n\n  /// Role to pause subscriptions and redemptions\n  bytes32 public constant PAUSER_ROLE = keccak256(\"PAUSER_ROLE\");\n\n  /// Role to manually service a subscription to RWA tokens\n  bytes32 public constant ADMIN_SUBSCRIPTION_ROLE =\n    keccak256(\"ADMIN_SUBSCRIPTION_ROLE\");\n\n  /**\n   * @notice Minimum USD amount required to subscribe to a RWA token, denoted in USD with 18\n   *         decimals.\n   */\n  uint256 public minimumDepositUSD;\n\n  /**\n   * @notice Minimum USD amount required to perform an RWA token redemption to be allowed,\n   *         denoted in USD with 18 decimals\n   */\n  uint256 public minimumRedemptionUSD;\n\n  /// Minimum price of RWA token that this contract will use, denoted in USD with 18 decimals\n  uint256 public minimumRwaPrice;\n\n  /// Whether subscriptions are paused for this contract\n  bool public subscribePaused;\n\n  /// Whether redemptions are paused for this contract\n  bool public redeemPaused;\n\n  /// The contract address for the RWA token this contract is responsible for\n  address public immutable rwaToken;\n\n  /// The `OndoTokenRouter` contract address\n  IOndoTokenRouter public ondoTokenRouter;\n\n  /// The `OndoOracle` contract address\n  IOndoOracle public ondoOracle;\n\n  /// The `OndoCompliance` contract address\n  IOndoCompliance public ondoCompliance;\n\n  /// The `OndoIDRegistry` contract address\n  IOndoIDRegistry public ondoIDRegistry;\n\n  /// The `OndoRateLimiter` contract address\n  IOndoRateLimiter public ondoRateLimiter;\n\n  /// The `OndoFees` contract for managing subscription fees\n  IOndoFees public ondoSubscriptionFees;\n\n  /// The `OndoFees` contract for managing redemption fees\n  IOndoFees public ondoRedemptionFees;\n\n  /// The `AdminSubscriptionChecker` contract\n  IAdminSubscriptionChecker public adminSubscriptionChecker;\n\n  /// Mapping of accepted subscription tokens\n  mapping(address => bool) public acceptedSubscriptionTokens;\n\n  /// Mapping of accepted redemption tokens\n  mapping(address => bool) public acceptedRedemptionTokens;\n\n  /**\n   * @param _defaultAdmin         The default admin role for the contract\n   * @param _rwaToken             The RWA token address\n   * @param _minimumDepositUSD    The minimum subscription amount, denoted in USD with 18 decimals\n   * @param _minimumRedemptionUSD The minimum redemption amount, denoted in USD with 18 decimals\n   */\n  constructor(\n    address _defaultAdmin,\n    address _rwaToken,\n    uint256 _minimumDepositUSD,\n    uint256 _minimumRedemptionUSD\n  ) {\n    if (_rwaToken == address(0)) revert TokenAddressCantBeZero();\n\n    rwaToken = _rwaToken;\n    RWA_NORMALIZER = 10 ** IERC20Metadata(_rwaToken).decimals();\n    minimumDepositUSD = _minimumDepositUSD;\n    minimumRedemptionUSD = _minimumRedemptionUSD;\n    _grantRole(DEFAULT_ADMIN_ROLE, _defaultAdmin);\n  }\n\n  /**\n   * @notice Internal function for processing subscriptions\n   * @param  depositToken       The token to deposit\n   * @param  depositAmount      The amount of tokens to deposit, in decimals of the\n   *                            token being deposited\n   * @param  minimumRwaReceived The minimum amount of RWA tokens to receive, in\n   *                            decimals of the RWA token\n   * @return rwaAmountOut       The amount of RWA tokens to mint or transfer, in\n   *                            decimals of the RWA token\n   * @dev    This function will transfer the deposit tokens from the `msg.sender` to this contract\n   *         and then deposit them via the `OndoTokenRouter`. The mint or transfer of the RWA token\n   *         must be done in the child class.\n   */\n  function _processSubscription(\n    address depositToken,\n    uint256 depositAmount,\n    uint256 minimumRwaReceived\n  ) internal whenSubscribeNotPaused returns (uint256 rwaAmountOut) {\n    if (!acceptedSubscriptionTokens[depositToken]) revert TokenNotAccepted();\n\n    // Reverts if user address is not compliant\n    ondoCompliance.checkIsCompliant(rwaToken, _msgSender());\n    bytes32 userId = ondoIDRegistry.getRegisteredID(rwaToken, _msgSender());\n    if (userId == bytes32(0)) revert UserNotRegistered();\n\n    IERC20(depositToken).safeTransferFrom(\n      _msgSender(),\n      address(this),\n      depositAmount\n    );\n    IERC20(depositToken).forceApprove(address(ondoTokenRouter), depositAmount);\n\n    ondoTokenRouter.depositToken(rwaToken, depositToken, depositAmount);\n\n    // USD values are normalized to 18 decimals\n    uint256 depositUSDValue = (ondoOracle.getAssetPrice(depositToken) *\n      depositAmount) / 10 ** IERC20Metadata(depositToken).decimals();\n\n    if (depositUSDValue < minimumDepositUSD) revert DepositAmountTooSmall();\n\n    // Fee in USD with 18 decimals\n    uint256 fee = ondoSubscriptionFees.getAndUpdateFee(\n      rwaToken,\n      depositToken,\n      userId,\n      depositUSDValue\n    );\n\n    if (fee > depositUSDValue) revert FeeGreaterThanSubscription();\n\n    // Prices are returned in 18 decimals, so multiply by the rwa normalizer to get the RWA amount\n    rwaAmountOut = ((depositUSDValue - fee) * RWA_NORMALIZER) / _getRwaPrice();\n\n    if (rwaAmountOut < minimumRwaReceived) revert RwaReceiveAmountTooSmall();\n\n    ondoRateLimiter.checkAndUpdateRateLimit(\n      IOndoRateLimiter.TransactionType.SUBSCRIPTION,\n      rwaToken,\n      userId,\n      depositUSDValue\n    );\n\n    emit Subscription(\n      _msgSender(),\n      userId,\n      rwaAmountOut,\n      depositToken,\n      depositAmount,\n      depositUSDValue,\n      fee\n    );\n  }\n\n  /**\n   * @notice Internal function for processing redemptions\n   * @param  rwaAmount            The amount of RWA tokens to redeem, in decimals of\n   *                              the RWA token\n   * @param  receivingToken       The token the user receives\n   * @param  minimumTokenReceived The minimum amount of tokens to receive, in\n   *                              decimals of `receivingToken`\n   * @return receiveTokenAmount   The amount of tokens to sent back to the caller,\n   *                              in decimals of `receivingToken`\n   * @dev    This function will send tokens to send back to the caller to service redemptions.\n   *         The transfer/burn of the RWA itself must be done in the child class.\n   */\n  function _processRedemption(\n    uint256 rwaAmount,\n    address receivingToken,\n    uint256 minimumTokenReceived\n  ) internal whenRedeemNotPaused returns (uint256 receiveTokenAmount) {\n    if (!acceptedRedemptionTokens[receivingToken]) revert TokenNotAccepted();\n\n    // Reverts if the user address is not compliant\n    ondoCompliance.checkIsCompliant(rwaToken, _msgSender());\n    bytes32 userId = ondoIDRegistry.getRegisteredID(rwaToken, _msgSender());\n    if (userId == bytes32(0)) revert UserNotRegistered();\n\n    // USD values are normalized to 18 decimals\n    uint256 redemptionUSDValue = (_getRwaPrice() * rwaAmount) / RWA_NORMALIZER;\n    if (redemptionUSDValue < minimumRedemptionUSD)\n      revert RedemptionAmountTooSmall();\n\n    // Fee is denoted in USD with 18 decimals\n    uint256 fee = ondoRedemptionFees.getAndUpdateFee(\n      rwaToken,\n      receivingToken,\n      userId,\n      redemptionUSDValue\n    );\n\n    if (fee > redemptionUSDValue) revert FeeGreaterThanRedemption();\n\n    ondoRateLimiter.checkAndUpdateRateLimit(\n      IOndoRateLimiter.TransactionType.REDEMPTION,\n      rwaToken,\n      userId,\n      redemptionUSDValue\n    );\n\n    // Prices are returned in 18 decimals\n    receiveTokenAmount =\n      ((redemptionUSDValue - fee) *\n        10 ** IERC20Metadata(receivingToken).decimals()) /\n      ondoOracle.getAssetPrice(receivingToken);\n\n    if (receiveTokenAmount < minimumTokenReceived)\n      revert ReceiveAmountTooSmall();\n\n    ondoTokenRouter.withdrawToken(\n      address(rwaToken),\n      receivingToken,\n      userId,\n      receiveTokenAmount\n    );\n\n    IERC20(receivingToken).safeTransfer(_msgSender(), receiveTokenAmount);\n\n    emit Redemption(\n      _msgSender(),\n      userId,\n      rwaAmount,\n      receivingToken,\n      receiveTokenAmount,\n      redemptionUSDValue,\n      fee\n    );\n  }\n\n  /**\n   * @notice Admin function to service a subscription whose corresponding deposit been made outside\n   *         of this contracts system. This is almost identical to the `_processSubscription`\n   *         function, but skips the deposit token transfer and fee calculation (fees are\n   *         managed off-chain). The mint and/or transfer itself must be done in the child contract\n   *         implementation.\n   * @param  recipient The address to send the RWA tokens to\n   * @param  rwaAmount The amount of RWA tokens to mint and/or transfer\n   * @param  metadata  Additional metadata to emit with the subscription\n   */\n  function _adminProcessSubscription(\n    address recipient,\n    uint256 rwaAmount,\n    bytes32 metadata\n  ) internal whenSubscribeNotPaused onlyRole(ADMIN_SUBSCRIPTION_ROLE) {\n    // Will revert if the user is not compliant.\n    ondoCompliance.checkIsCompliant(rwaToken, recipient);\n    bytes32 userId = ondoIDRegistry.getRegisteredID(rwaToken, recipient);\n    if (userId == bytes32(0)) revert UserNotRegistered();\n\n    // All USD values are normalized to 18 decimals.\n    uint256 depositUSDValue = (rwaAmount * _getRwaPrice()) / RWA_NORMALIZER;\n\n    adminSubscriptionChecker.checkAndUpdateAdminSubscriptionAllowance(\n      _msgSender(),\n      depositUSDValue\n    );\n    ondoRateLimiter.checkAndUpdateRateLimit(\n      IOndoRateLimiter.TransactionType.SUBSCRIPTION,\n      rwaToken,\n      userId,\n      depositUSDValue\n    );\n    emit AdminSubscription(\n      _msgSender(),\n      recipient,\n      userId,\n      rwaAmount,\n      depositUSDValue,\n      metadata\n    );\n  }\n\n  /**\n   * @notice Gets the rwa token price from the oracle\n   * @return rwaPrice The price of the RWA token\n   */\n  function _getRwaPrice() internal view returns (uint256 rwaPrice) {\n    rwaPrice = ondoOracle.getAssetPrice(rwaToken);\n    if (rwaPrice < minimumRwaPrice) revert RWAPriceTooLow();\n  }\n\n  /**\n   * @notice Sets whether a token is accepted for subscriptions\n   * @param  token    The token address\n   * @param  accepted Whether the token is accepted for subscription\n   */\n  function setAcceptedSubscriptionToken(\n    address token,\n    bool accepted\n  ) external onlyRole(DEFAULT_ADMIN_ROLE) {\n    if (token == address(0)) revert TokenAddressCantBeZero();\n    // Ensure the oracle supports the token\n    if (accepted) ondoOracle.getAssetPrice(token);\n    emit AcceptedSubscriptionTokenSet(token, accepted);\n    acceptedSubscriptionTokens[token] = accepted;\n  }\n\n  /**\n   * @notice Sets whether a token is accepted for redemption.\n   * @param  token    The token address\n   * @param  accepted Whether the token is accepted for redemption\n   */\n  function setAcceptedRedemptionToken(\n    address token,\n    bool accepted\n  ) external onlyRole(DEFAULT_ADMIN_ROLE) {\n    if (token == address(0)) revert TokenAddressCantBeZero();\n    // Ensure the oracle supports the token\n    if (accepted) ondoOracle.getAssetPrice(token);\n    emit AcceptedRedemptionTokenSet(token, accepted);\n    acceptedRedemptionTokens[token] = accepted;\n  }\n\n  /**\n   * @notice Admin function to set the `OndoTokenRouter` contract\n   * @param  _ondoTokenRouter The `OndoTokenRouter` contract address\n   */\n  function setOndoTokenRouter(\n    address _ondoTokenRouter\n  ) external onlyRole(DEFAULT_ADMIN_ROLE) {\n    if (_ondoTokenRouter == address(0)) revert RouterAddressCantBeZero();\n    emit OndoTokenRouterSet(address(ondoTokenRouter), _ondoTokenRouter);\n    ondoTokenRouter = IOndoTokenRouter(_ondoTokenRouter);\n  }\n\n  /**\n   * @notice Admin function to set the `OndoOracle` contract\n   * @param  _ondoOracle The `OndoOracle` contract address\n   * @dev    Will revert if new `OndoOracle` contract returns a price lower than the minimum\n   *         configured price of the RWA token\n   */\n  function setOndoOracle(\n    address _ondoOracle\n  ) external onlyRole(DEFAULT_ADMIN_ROLE) {\n    if (_ondoOracle == address(0)) revert OracleAddressCantBeZero();\n    emit OndoOracleSet(address(ondoOracle), _ondoOracle);\n    ondoOracle = IOndoOracle(_ondoOracle);\n\n    uint256 price = ondoOracle.getAssetPrice(rwaToken);\n    if (price < minimumRwaPrice) revert RWAPriceTooLow();\n  }\n\n  /**\n   * @notice Sets the `OndoCompliance` contract\n   * @param  _ondoCompliance The `OndoCompliance` contract address\n   */\n  function setOndoCompliance(\n    address _ondoCompliance\n  ) external onlyRole(DEFAULT_ADMIN_ROLE) {\n    if (_ondoCompliance == address(0)) revert ComplianceAddressCantBeZero();\n    emit OndoComplianceSet(address(ondoCompliance), _ondoCompliance);\n    ondoCompliance = IOndoCompliance(_ondoCompliance);\n\n    // Ensure that the `OndoCompliance` interface is supported and\n    // this contract is compliant\n    ondoCompliance.checkIsCompliant(rwaToken, address(this));\n  }\n\n  /**\n   * @notice Sets the `OndoIDRegistry` contract\n   * @param  _ondoIDRegistry The `OndoIDRegistry` contract address\n   */\n  function setOndoIDRegistry(\n    address _ondoIDRegistry\n  ) external onlyRole(DEFAULT_ADMIN_ROLE) {\n    if (_ondoIDRegistry == address(0)) revert IDRegistryAddressCantBeZero();\n    emit OndoIDRegistrySet(address(ondoIDRegistry), _ondoIDRegistry);\n    ondoIDRegistry = IOndoIDRegistry(_ondoIDRegistry);\n    // Ensure that the `OndoIDRegistry` interface is supported\n    ondoIDRegistry.getRegisteredID(rwaToken, address(this));\n  }\n\n  /**\n   * @notice Sets the `OndoRateLimiter` contract\n   * @param  _ondoRateLimiter The `OndoRateLimiter` contract address\n   */\n  function setOndoRateLimiter(\n    address _ondoRateLimiter\n  ) external onlyRole(DEFAULT_ADMIN_ROLE) {\n    if (_ondoRateLimiter == address(0)) revert RateLimiterAddressCantBeZero();\n    emit OndoRateLimiterSet(address(ondoRateLimiter), _ondoRateLimiter);\n    ondoRateLimiter = IOndoRateLimiter(_ondoRateLimiter);\n  }\n\n  /**\n   * @notice Sets the `AdminSubscriptionChecker` contract\n   * @param  _adminSubscriptionChecker The `AdminSubscriptionChecker` contract address\n   */\n  function setAdminSubscriptionChecker(\n    address _adminSubscriptionChecker\n  ) external onlyRole(DEFAULT_ADMIN_ROLE) {\n    if (_adminSubscriptionChecker == address(0))\n      revert AdminSubscriptionCheckerAddressCantBeZero();\n    emit AdminSubscriptionCheckerSet(\n      address(adminSubscriptionChecker),\n      _adminSubscriptionChecker\n    );\n    adminSubscriptionChecker = IAdminSubscriptionChecker(\n      _adminSubscriptionChecker\n    );\n  }\n\n  /**\n   * @notice Sets the `OndoFees` contract for subscriptions\n   * @param  _ondoSubscriptionFees The `OndoFees` contract address\n   */\n  function setOndoSubscriptionFees(\n    address _ondoSubscriptionFees\n  ) external onlyRole(DEFAULT_ADMIN_ROLE) {\n    if (_ondoSubscriptionFees == address(0)) revert FeesAddressCantBeZero();\n    emit OndoSubscriptionFeesSet(\n      address(ondoSubscriptionFees),\n      _ondoSubscriptionFees\n    );\n    ondoSubscriptionFees = IOndoFees(_ondoSubscriptionFees);\n  }\n\n  /**\n   * @notice Sets the `OndoFees` contract for redemptions\n   * @param  _ondoRedemptionFees The `OndoFees` contract address\n   */\n  function setOndoRedemptionFees(\n    address _ondoRedemptionFees\n  ) external onlyRole(DEFAULT_ADMIN_ROLE) {\n    if (_ondoRedemptionFees == address(0)) revert FeesAddressCantBeZero();\n    emit OndoRedemptionFeesSet(\n      address(ondoRedemptionFees),\n      _ondoRedemptionFees\n    );\n    ondoRedemptionFees = IOndoFees(_ondoRedemptionFees);\n  }\n\n  /**\n   * @notice Sets the minimum amount required for a subscription\n   * @param  _minimumDepositUSD The minimum amount required to subscribe, denoted in\n   *                            USD with 18 decimals\n   */\n  function setMinimumDepositAmount(\n    uint256 _minimumDepositUSD\n  ) external onlyRole(CONFIGURER_ROLE) {\n    emit MinimumDepositAmountSet(minimumDepositUSD, _minimumDepositUSD);\n    minimumDepositUSD = _minimumDepositUSD;\n  }\n\n  /**\n   * @notice Sets the minimum amount to redeem\n   * @param  _minimumRedemptionUSD The minimum amount required to redeem,\n   *                               denoted in USD with 18.\n   */\n  function setMinimumRedemptionAmount(\n    uint256 _minimumRedemptionUSD\n  ) external onlyRole(CONFIGURER_ROLE) {\n    emit MinimumRedemptionAmountSet(\n      minimumRedemptionUSD,\n      _minimumRedemptionUSD\n    );\n    minimumRedemptionUSD = _minimumRedemptionUSD;\n  }\n\n  /**\n   * @notice Sets the minimum price of RWA token\n   * @param  _minimumRwaPrice The minimum price of the RWA token\n   */\n  function setMinimumRwaPrice(\n    uint256 _minimumRwaPrice\n  ) external onlyRole(CONFIGURER_ROLE) {\n    emit MinimumRwaPriceSet(minimumRwaPrice, _minimumRwaPrice);\n    minimumRwaPrice = _minimumRwaPrice;\n  }\n\n  /**\n   * @notice Rescue and transfer tokens locked in this contract\n   * @param  token  The address of the token\n   * @param  to     The address of the recipient\n   * @param  amount The amount of token to transfer\n   */\n  function retrieveTokens(\n    address token,\n    address to,\n    uint256 amount\n  ) external onlyRole(DEFAULT_ADMIN_ROLE) {\n    IERC20(token).safeTransfer(to, amount);\n  }\n\n  /*//////////////////////////////////////////////////////////////\n                          Pause/Unpause\n  //////////////////////////////////////////////////////////////*/\n\n  /// Pause the subscribe functionality.\n  function pauseSubscribe() external onlyRole(PAUSER_ROLE) {\n    subscribePaused = true;\n    emit SubscribePaused();\n  }\n\n  /// Unpause the subscribe functionality.\n  function unpauseSubscribe() external onlyRole(DEFAULT_ADMIN_ROLE) {\n    subscribePaused = false;\n    emit SubscribeUnpaused();\n  }\n\n  /// Pause the redeem functionality.\n  function pauseRedeem() external onlyRole(PAUSER_ROLE) {\n    redeemPaused = true;\n    emit RedeemPaused();\n  }\n\n  /// Unpause the redeem functionality.\n  function unpauseRedeem() external onlyRole(DEFAULT_ADMIN_ROLE) {\n    redeemPaused = false;\n    emit RedeemUnpaused();\n  }\n\n  /// Ensure that the subscribe functionality is not paused\n  modifier whenSubscribeNotPaused() {\n    if (subscribePaused) revert SubscriptionsPaused();\n    _;\n  }\n\n  /// Ensure that the redeem functionality is not paused\n  modifier whenRedeemNotPaused() {\n    if (redeemPaused) revert RedemptionsPaused();\n    _;\n  }\n}\n"},"contracts/interfaces/IRWALike.sol":{"content":"/**SPDX-License-Identifier: BUSL-1.1\n\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n */\npragma solidity 0.8.16;\n\n// This interface is not inherited directly by RWA, instead, it is a\n// subset of functions provided by all RWA tokens that the RWA Hub\n// Client uses.\nimport \"contracts/external/openzeppelin/contracts/token/IERC20.sol\";\n\ninterface IRWALike is IERC20 {\n  function mint(address to, uint256 amount) external;\n\n  function burn(uint256 amount) external;\n\n  function burnFrom(address from, uint256 amount) external;\n}\n"},"contracts/usdy/rusdy/rUSDY.sol":{"content":"/**SPDX-License-Identifier: BUSL-1.1\n\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n\n */\npragma solidity 0.8.16;\n\nimport \"contracts/external/openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol\";\nimport \"contracts/external/openzeppelin/contracts-upgradeable/token/ERC20/IERC20MetadataUpgradeable.sol\";\nimport \"contracts/external/openzeppelin/contracts-upgradeable/proxy/Initializable.sol\";\nimport \"contracts/external/openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol\";\nimport \"contracts/external/openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol\";\nimport \"contracts/external/openzeppelin/contracts-upgradeable/access/AccessControlEnumerableUpgradeable.sol\";\nimport \"contracts/usdy/blocklist/BlocklistClientUpgradeable.sol\";\nimport \"contracts/sanctions/SanctionsListClientUpgradeable.sol\";\nimport \"contracts/interfaces/IUSDY.sol\";\nimport \"contracts/rwaOracles/IRWADynamicOracle.sol\";\n\n/**\n * @title Interest-bearing ERC20-like token for USDY.\n *\n * rUSDY balances are dynamic and represent the holder's share of the underlying USDY\n * controlled by the protocol. To calculate each account's balance, we do\n *\n *   shares[account] * usdyPrice\n *\n * For example, assume that we have:\n *\n *   usdyPrice = 1.05 (18 decimals)\n *   rusdy.sharesOf(user1) -> 1 (22 decimals)\n *   rusdy.sharesOf(user2) -> 4 (22 decimals)\n *   rusdy.balanceOf(rusdy) -> 5 USDY (18 decimals)\n *\n * Below would be the balances of the users:\n *\n *   balanceOf(user1) -> 1.05 rUSDY (18 decimals)\n *   balanceOf(user2) -> 4.2 rUSDY (18 decimals)\n *\n * Since balances of all token holders change when the price of USDY changes, this\n * token cannot fully implement ERC20 standard: it only emits `Transfer` events\n * upon explicit transfer between holders. In contrast, when total amount of pooled\n * Cash increases, no `Transfer` events are generated: doing so would require emitting\n * an event for each token holder and thus running an unbounded loop.\n *\n */\n\ncontract rUSDY is\n  Initializable,\n  ContextUpgradeable,\n  PausableUpgradeable,\n  AccessControlEnumerableUpgradeable,\n  BlocklistClientUpgradeable,\n  SanctionsListClientUpgradeable,\n  IERC20Upgradeable,\n  IERC20MetadataUpgradeable\n{\n  /**\n   * @dev rUSDY balances are dynamic and are calculated based on the accounts' shares (USDY)\n   * and the the price of USDY. Account shares aren't\n   * normalized, so the contract also stores the sum of all shares to calculate\n   * each account's token balance which equals to:\n   *\n   *   shares[account] * usdyPrice\n   */\n  mapping(address => uint256) private shares;\n\n  /// @dev Allowances are nominated in tokens, not token shares.\n  mapping(address => mapping(address => uint256)) private allowances;\n\n  // Total shares in existence\n  uint256 public totalShares;\n\n  // Address of the oracle that updates `usdyPrice`\n  IRWADynamicOracle public oracle;\n\n  // Address of the USDY token\n  IUSDY public usdy;\n\n  // Used to scale up usdy amount -> shares\n  uint256 public constant USDY_TO_RUSDY_SHARES_MULTIPLIER = 10_000;\n\n  // Name of the token\n  string internal _name;\n\n  // Symbol of the token\n  string internal _symbol;\n\n  // Error when redeeming shares < `USDY_TO_RUSDY_SHARES_MULTIPLIER`\n  error UnwrapTooSmall();\n\n  // Error when setting the oracle address to zero\n  error CannotSetToZeroAddress();\n\n  /// @dev Role based access control roles\n  bytes32 public constant PAUSER_ROLE = keccak256(\"PAUSER_ROLE\");\n  bytes32 public constant BURNER_ROLE = keccak256(\"BURN_ROLE\");\n  bytes32 public constant LIST_CONFIGURER_ROLE =\n    keccak256(\"LIST_CONFIGURER_ROLE\");\n\n  /// @custom:oz-upgrades-unsafe-allow constructor\n  constructor() {\n    _disableInitializers();\n  }\n\n  function initialize(\n    address blocklist,\n    address sanctionsList,\n    address _usdy,\n    address guardian,\n    address _oracle\n  ) public virtual initializer {\n    __rUSDY_init(blocklist, sanctionsList, _usdy, guardian, _oracle);\n  }\n\n  function __rUSDY_init(\n    address blocklist,\n    address sanctionsList,\n    address _usdy,\n    address guardian,\n    address _oracle\n  ) internal onlyInitializing {\n    __BlocklistClientInitializable_init(blocklist);\n    __SanctionsListClientInitializable_init(sanctionsList);\n    __rUSDY_init_unchained(_usdy, guardian, _oracle);\n  }\n\n  function __rUSDY_init_unchained(\n    address _usdy,\n    address guardian,\n    address _oracle\n  ) internal onlyInitializing {\n    usdy = IUSDY(_usdy);\n    oracle = IRWADynamicOracle(_oracle);\n    _grantRole(DEFAULT_ADMIN_ROLE, guardian);\n    _grantRole(PAUSER_ROLE, guardian);\n    _grantRole(BURNER_ROLE, guardian);\n    _grantRole(LIST_CONFIGURER_ROLE, guardian);\n    _name = \"Ondo U.S. Dollar Yield (Rebasing)\";\n    _symbol = \"rUSDY\";\n  }\n\n  /**\n   * @notice Emitted when the name is set\n   *\n   * @param oldName The old name of the token\n   * @param newName The new name of the token\n   */\n  event NameSet(string oldName, string newName);\n\n  /**\n   * @notice Emitted when the symbol is set\n   *\n   * @param oldSymbol The old symbol of the token\n   * @param newSymbol The new symbol of the token\n   */\n\n  event SymbolSet(string oldSymbol, string newSymbol);\n\n  /**\n   * @notice An executed shares transfer.\n   *\n   * @dev emitted in pair with an ERC20-defined `Transfer` event.\n   */\n  event TransferShares(\n    address indexed from,\n    address indexed to,\n    uint256 sharesValue\n  );\n\n  /**\n   * @notice Emitted when the oracle address is set\n   *\n   * @param oldOracle The address of the old oracle\n   * @param newOracle The address of the new oracle\n   */\n  event OracleSet(address indexed oldOracle, address indexed newOracle);\n\n  /**\n   * @return the name of the token.\n   */\n  function name() public view returns (string memory) {\n    return _name;\n  }\n\n  /**\n   * @return the symbol of the token, usually a shorter version of the\n   * name.\n   */\n  function symbol() public view returns (string memory) {\n    return _symbol;\n  }\n\n  /**\n   * @return the number of decimals for getting user representation of a token amount.\n   */\n  function decimals() public pure returns (uint8) {\n    return 18;\n  }\n\n  /**\n   * @return the amount of tokens in existence.\n   */\n  function totalSupply() public view returns (uint256) {\n    return\n      (totalShares * oracle.getPrice()) /\n      (1e18 * USDY_TO_RUSDY_SHARES_MULTIPLIER);\n  }\n\n  /**\n   * @return the amount of tokens owned by the `_account`.\n   *\n   * @dev Balances are dynamic and equal the `_account`'s USDY shares multiplied\n   *      by the price of USDY\n   */\n  function balanceOf(address _account) public view returns (uint256) {\n    return\n      (_sharesOf(_account) * oracle.getPrice()) /\n      (1e18 * USDY_TO_RUSDY_SHARES_MULTIPLIER);\n  }\n\n  /**\n   * @notice Moves `_amount` tokens from the caller's account to the `_recipient` account.\n   *\n   * @return a boolean value indicating whether the operation succeeded.\n   * Emits a `Transfer` event.\n   * Emits a `TransferShares` event.\n   *\n   * Requirements:\n   *\n   * - `_recipient` cannot be the zero address.\n   * - the caller must have a balance of at least `_amount`.\n   * - the contract must not be paused.\n   *\n   * @dev The `_amount` argument is the amount of tokens, not shares.\n   */\n  function transfer(address _recipient, uint256 _amount) public returns (bool) {\n    _transfer(msg.sender, _recipient, _amount);\n    return true;\n  }\n\n  /**\n   * @return the remaining number of tokens that `_spender` is allowed to spend\n   * on behalf of `_owner` through `transferFrom`. This is zero by default.\n   *\n   * @dev This value changes when `approve` or `transferFrom` is called.\n   */\n  function allowance(\n    address _owner,\n    address _spender\n  ) public view returns (uint256) {\n    return allowances[_owner][_spender];\n  }\n\n  /**\n   * @notice Sets `_amount` as the allowance of `_spender` over the caller's tokens.\n   *\n   * @return a boolean value indicating whether the operation succeeded.\n   * Emits an `Approval` event.\n   *\n   * Requirements:\n   *\n   * - `_spender` cannot be the zero address.\n   * - the contract must not be paused.\n   *\n   * @dev The `_amount` argument is the amount of tokens, not shares.\n   */\n  function approve(address _spender, uint256 _amount) public returns (bool) {\n    _approve(msg.sender, _spender, _amount);\n    return true;\n  }\n\n  /**\n   * @notice Moves `_amount` tokens from `_sender` to `_recipient` using the\n   * allowance mechanism. `_amount` is then deducted from the caller's\n   * allowance.\n   *\n   * @return a boolean value indicating whether the operation succeeded.\n   *\n   * Emits a `Transfer` event.\n   * Emits a `TransferShares` event.\n   * Emits an `Approval` event indicating the updated allowance.\n   *\n   * Requirements:\n   *\n   * - `_sender` and `_recipient` cannot be the zero addresses.\n   * - `_sender` must have a balance of at least `_amount`.\n   * - the caller must have allowance for `_sender`'s tokens of at least `_amount`.\n   * - the contract must not be paused.\n   *\n   * @dev The `_amount` argument is the amount of tokens, not shares.\n   */\n  function transferFrom(\n    address _sender,\n    address _recipient,\n    uint256 _amount\n  ) public returns (bool) {\n    uint256 currentAllowance = allowances[_sender][msg.sender];\n    require(currentAllowance >= _amount, \"TRANSFER_AMOUNT_EXCEEDS_ALLOWANCE\");\n\n    _transfer(_sender, _recipient, _amount);\n    _approve(_sender, msg.sender, currentAllowance - _amount);\n    return true;\n  }\n\n  /**\n   * @notice Atomically increases the allowance granted to `_spender` by the caller by `_addedValue`.\n   *\n   * This is an alternative to `approve` that can be used as a mitigation for\n   * problems described in:\n   * https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/IERC20.sol#L42\n   * Emits an `Approval` event indicating the updated allowance.\n   *\n   * Requirements:\n   *\n   * - `_spender` cannot be the the zero address.\n   * - the contract must not be paused.\n   */\n  function increaseAllowance(\n    address _spender,\n    uint256 _addedValue\n  ) public returns (bool) {\n    _approve(\n      msg.sender,\n      _spender,\n      allowances[msg.sender][_spender] + _addedValue\n    );\n    return true;\n  }\n\n  /**\n   * @notice Atomically decreases the allowance granted to `_spender` by the caller by `_subtractedValue`.\n   *\n   * This is an alternative to `approve` that can be used as a mitigation for\n   * problems described in:\n   * https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/IERC20.sol#L42\n   * Emits an `Approval` event indicating the updated allowance.\n   *\n   * Requirements:\n   *\n   * - `_spender` cannot be the zero address.\n   * - `_spender` must have allowance for the caller of at least `_subtractedValue`.\n   * - the contract must not be paused.\n   */\n  function decreaseAllowance(\n    address _spender,\n    uint256 _subtractedValue\n  ) public returns (bool) {\n    uint256 currentAllowance = allowances[msg.sender][_spender];\n    require(\n      currentAllowance >= _subtractedValue,\n      \"DECREASED_ALLOWANCE_BELOW_ZERO\"\n    );\n    _approve(msg.sender, _spender, currentAllowance - _subtractedValue);\n    return true;\n  }\n\n  /**\n   * @return the amount of shares owned by `_account`.\n   *\n   * @dev This is the equivalent to the amount of USDY wrapped by `_account`.\n   */\n  function sharesOf(address _account) public view returns (uint256) {\n    return _sharesOf(_account);\n  }\n\n  /**\n   * @return the amount of shares that corresponds to `_rUSDYAmount` of rUSDY\n   */\n  function getSharesByRUSDY(\n    uint256 _rUSDYAmount\n  ) public view returns (uint256) {\n    return\n      (_rUSDYAmount * 1e18 * USDY_TO_RUSDY_SHARES_MULTIPLIER) /\n      oracle.getPrice();\n  }\n\n  /**\n   * @return the amount of rUSDY that corresponds to `_shares` of usdy.\n   */\n  function getRUSDYByShares(uint256 _shares) public view returns (uint256) {\n    return\n      (_shares * oracle.getPrice()) / (1e18 * USDY_TO_RUSDY_SHARES_MULTIPLIER);\n  }\n\n  /**\n   * @notice Moves `_sharesAmount` token shares from the caller's account to the `_recipient` account.\n   *\n   * @return amount of transferred tokens.\n   * Emits a `TransferShares` event.\n   * Emits a `Transfer` event.\n   *\n   * Requirements:\n   *\n   * - `_recipient` cannot be the zero address.\n   * - the caller must have at least `_sharesAmount` shares.\n   * - the contract must not be paused.\n   *\n   * @dev The `_sharesAmount` argument is the amount of shares, not tokens.\n   */\n  function transferShares(\n    address _recipient,\n    uint256 _sharesAmount\n  ) public returns (uint256) {\n    _transferShares(msg.sender, _recipient, _sharesAmount);\n    emit TransferShares(msg.sender, _recipient, _sharesAmount);\n    uint256 tokensAmount = getRUSDYByShares(_sharesAmount);\n    emit Transfer(msg.sender, _recipient, tokensAmount);\n    return tokensAmount;\n  }\n\n  /**\n   * @notice Function called by users to wrap their USDY tokens\n   *\n   * @param _USDYAmount The amount of USDY Tokens to wrap\n   *\n   * @dev Sanctions and Blocklist checks implicit in USDY Transfer\n   */\n  function wrap(uint256 _USDYAmount) external whenNotPaused {\n    require(_USDYAmount > 0, \"rUSDY: can't wrap zero USDY tokens\");\n    uint256 usdySharesAmount = _USDYAmount * USDY_TO_RUSDY_SHARES_MULTIPLIER;\n    _mintShares(msg.sender, usdySharesAmount);\n    usdy.transferFrom(msg.sender, address(this), _USDYAmount);\n    emit Transfer(address(0), msg.sender, getRUSDYByShares(usdySharesAmount));\n    emit TransferShares(address(0), msg.sender, usdySharesAmount);\n  }\n\n  /**\n   * @notice Function called by users to unwrap their rUSDY tokens by rUSDY amount\n   *\n   * @param _rUSDYAmount The amount of rUSDY to unwrap\n   *\n   * @dev Sanctions and Blocklist checks implicit in USDY Transfer\n   */\n  function unwrap(uint256 _rUSDYAmount) external whenNotPaused {\n    require(_rUSDYAmount > 0, \"rUSDY: can't unwrap zero rUSDY tokens\");\n    uint256 usdySharesAmount = getSharesByRUSDY(_rUSDYAmount);\n    if (usdySharesAmount < USDY_TO_RUSDY_SHARES_MULTIPLIER)\n      revert UnwrapTooSmall();\n    _burnShares(msg.sender, usdySharesAmount);\n    usdy.transfer(\n      msg.sender,\n      usdySharesAmount / USDY_TO_RUSDY_SHARES_MULTIPLIER\n    );\n    emit Transfer(msg.sender, address(0), _rUSDYAmount);\n    emit TransferShares(msg.sender, address(0), usdySharesAmount);\n  }\n\n  /**\n   * @notice Function called by users to unwrap their rUSDY tokens by shares\n   *\n   * @param _sharesAmount The amount of shares to transfer\n   *\n   * @dev Sanctions and Blocklist checks implicit in USDY Transfer\n   * @dev This is a more precise unwrap, as it avoids the division by price when converting rUSDY to shares\n   */\n  function unwrapShares(uint256 _sharesAmount) external whenNotPaused {\n    if (_sharesAmount < USDY_TO_RUSDY_SHARES_MULTIPLIER)\n      revert UnwrapTooSmall();\n\n    uint256 rUSDYAmount = getRUSDYByShares(_sharesAmount);\n\n    _burnShares(msg.sender, _sharesAmount);\n    usdy.transfer(msg.sender, _sharesAmount / USDY_TO_RUSDY_SHARES_MULTIPLIER);\n    emit Transfer(msg.sender, address(0), rUSDYAmount);\n    emit TransferShares(msg.sender, address(0), _sharesAmount);\n  }\n\n  /**\n   * @notice Moves `_amount` tokens from `_sender` to `_recipient`.\n   * Emits a `Transfer` event.\n   * Emits a `TransferShares` event.\n   */\n  function _transfer(\n    address _sender,\n    address _recipient,\n    uint256 _amount\n  ) internal {\n    uint256 _sharesToTransfer = getSharesByRUSDY(_amount);\n    _transferShares(_sender, _recipient, _sharesToTransfer);\n    emit Transfer(_sender, _recipient, _amount);\n    emit TransferShares(_sender, _recipient, _sharesToTransfer);\n  }\n\n  /**\n   * @notice Sets `_amount` as the allowance of `_spender` over the `_owner` s tokens.\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   * - the contract must not be paused.\n   */\n  function _approve(\n    address _owner,\n    address _spender,\n    uint256 _amount\n  ) internal whenNotPaused {\n    require(_owner != address(0), \"APPROVE_FROM_ZERO_ADDRESS\");\n    require(_spender != address(0), \"APPROVE_TO_ZERO_ADDRESS\");\n\n    allowances[_owner][_spender] = _amount;\n    emit Approval(_owner, _spender, _amount);\n  }\n\n  /**\n   * @return the amount of shares owned by `_account`.\n   */\n  function _sharesOf(address _account) internal view returns (uint256) {\n    return shares[_account];\n  }\n\n  /**\n   * @notice Moves `_sharesAmount` shares from `_sender` to `_recipient`.\n   *\n   * Requirements:\n   *\n   * - `_sender` cannot be the zero address.\n   * - `_recipient` cannot be the zero address.\n   * - `_sender` must hold at least `_sharesAmount` shares.\n   * - the contract must not be paused.\n   */\n  function _transferShares(\n    address _sender,\n    address _recipient,\n    uint256 _sharesAmount\n  ) internal whenNotPaused {\n    require(_sender != address(0), \"TRANSFER_FROM_THE_ZERO_ADDRESS\");\n    require(_recipient != address(0), \"TRANSFER_TO_THE_ZERO_ADDRESS\");\n\n    _beforeTokenTransfer(_sender, _recipient, _sharesAmount);\n\n    uint256 currentSenderShares = shares[_sender];\n    require(\n      _sharesAmount <= currentSenderShares,\n      \"TRANSFER_AMOUNT_EXCEEDS_BALANCE\"\n    );\n\n    shares[_sender] = currentSenderShares - _sharesAmount;\n    shares[_recipient] += _sharesAmount;\n  }\n\n  /**\n   * @notice Creates `_sharesAmount` shares and assigns them to `_recipient`, increasing the total amount of shares.\n   *\n   * Requirements:\n   *\n   * - `_recipient` cannot be the zero address.\n   * - the contract must not be paused.\n   */\n  function _mintShares(address _recipient, uint256 _sharesAmount) internal {\n    require(_recipient != address(0), \"MINT_TO_THE_ZERO_ADDRESS\");\n\n    _beforeTokenTransfer(address(0), _recipient, _sharesAmount);\n\n    totalShares += _sharesAmount;\n\n    shares[_recipient] += _sharesAmount;\n  }\n\n  /**\n   * @notice Destroys `_sharesAmount` shares from `_account`'s holdings, decreasing the total amount of shares.\n   *\n   * Requirements:\n   *\n   * - `_account` cannot be the zero address.\n   * - `_account` must hold at least `_sharesAmount` shares.\n   * - the contract must not be paused.\n   */\n  function _burnShares(address _account, uint256 _sharesAmount) internal {\n    require(_account != address(0), \"BURN_FROM_THE_ZERO_ADDRESS\");\n\n    _beforeTokenTransfer(_account, address(0), _sharesAmount);\n\n    uint256 accountShares = shares[_account];\n    require(_sharesAmount <= accountShares, \"BURN_AMOUNT_EXCEEDS_BALANCE\");\n\n    totalShares -= _sharesAmount;\n\n    shares[_account] = accountShares - _sharesAmount;\n  }\n\n  /**\n   * @dev Hook that is called before any transfer of tokens. This includes\n   * minting and burning.\n   *\n   * Calling conditions:\n   *\n   * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\n   * will be transferred to `to`.\n   * - when `from` is zero, `amount` tokens will be minted for `to`.\n   * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\n   * - `from` and `to` are never both zero.\n   *\n   * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\n   */\n  function _beforeTokenTransfer(\n    address from,\n    address to,\n    uint256\n  ) internal view {\n    // Check constraints when `transferFrom` is called to facliitate\n    // a transfer between two parties that are not `from` or `to`.\n    if (from != msg.sender && to != msg.sender) {\n      require(!_isBlocked(msg.sender), \"rUSDY: 'sender' address blocked\");\n      require(!_isSanctioned(msg.sender), \"rUSDY: 'sender' address sanctioned\");\n    }\n\n    if (from != address(0)) {\n      // If not minting\n      require(!_isBlocked(from), \"rUSDY: 'from' address blocked\");\n      require(!_isSanctioned(from), \"rUSDY: 'from' address sanctioned\");\n    }\n\n    if (to != address(0)) {\n      // If not burning\n      require(!_isBlocked(to), \"rUSDY: 'to' address blocked\");\n      require(!_isSanctioned(to), \"rUSDY: 'to' address sanctioned\");\n    }\n  }\n\n  /**\n   * @notice Sets the Oracle address\n   * @dev The new oracle must comply with the IRWADynamicOracle interface\n   * @param _oracle Address of the new oracle\n   */\n  function setOracle(address _oracle) external onlyRole(DEFAULT_ADMIN_ROLE) {\n    if (_oracle == address(0)) {\n      revert CannotSetToZeroAddress();\n    }\n    emit OracleSet(address(oracle), _oracle);\n    oracle = IRWADynamicOracle(_oracle);\n  }\n\n  /**\n   * @notice Sets the token name\n   * @param newName New name of the token\n   */\n  function setName(\n    string memory newName\n  ) external onlyRole(DEFAULT_ADMIN_ROLE) {\n    emit NameSet(_name, newName);\n    _name = newName;\n  }\n\n  /**\n   * @notice Sets the token symbol\n   * @param newSymbol New symbol of the token\n   */\n  function setSymbol(\n    string memory newSymbol\n  ) external onlyRole(DEFAULT_ADMIN_ROLE) {\n    emit SymbolSet(_symbol, newSymbol);\n    _symbol = newSymbol;\n  }\n\n  /**\n   * @notice Admin burn function to burn rUSDY tokens from any account\n   * @param _account The account to burn tokens from\n   * @param _sharesAmount  The amount of USDY shares to burn\n   * @dev Burns shares and transfers USDY (if any) to `msg.sender`\n   */\n  function burnShares(\n    address _account,\n    uint256 _sharesAmount\n  ) external onlyRole(BURNER_ROLE) {\n    require(_sharesAmount > 0, \"rUSDY: can't burn zero shares\");\n\n    uint256 rUSDYAmount = getRUSDYByShares(_sharesAmount);\n\n    _burnShares(_account, _sharesAmount);\n    emit TransferShares(_account, address(0), _sharesAmount);\n\n    if (_sharesAmount >= USDY_TO_RUSDY_SHARES_MULTIPLIER) {\n      usdy.transfer(\n        msg.sender,\n        _sharesAmount / USDY_TO_RUSDY_SHARES_MULTIPLIER\n      );\n      emit Transfer(_account, address(0), rUSDYAmount);\n    }\n  }\n\n  function pause() external onlyRole(PAUSER_ROLE) {\n    _pause();\n  }\n\n  function unpause() external onlyRole(DEFAULT_ADMIN_ROLE) {\n    _unpause();\n  }\n\n  /**\n   * @notice Sets the blocklist address\n   *\n   * @param blocklist New blocklist address\n   */\n  function setBlocklist(\n    address blocklist\n  ) external override onlyRole(LIST_CONFIGURER_ROLE) {\n    _setBlocklist(blocklist);\n  }\n\n  /**\n   * @notice Sets the sanctions list address\n   *\n   * @param sanctionsList New sanctions list address\n   */\n  function setSanctionsList(\n    address sanctionsList\n  ) external override onlyRole(LIST_CONFIGURER_ROLE) {\n    _setSanctionsList(sanctionsList);\n  }\n}\n"},"contracts/xManager/interfaces/IUSDY_InstantManager.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\n/*\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n */\npragma solidity 0.8.16;\n\ninterface IUSDY_InstantManager {\n  function subscribe(\n    address depositToken,\n    uint256 depositAmount,\n    uint256 minimumRwaReceived\n  ) external returns (uint256 rwaAmountOut);\n\n  function subscribeRebasingUSDY(\n    address depositToken,\n    uint256 depositAmount,\n    uint256 minimumRwaReceived\n  ) external returns (uint256 rusdyAmountOut);\n\n  function adminSubscribe(\n    address recipient,\n    uint256 rwaAmount,\n    bytes32 metadata\n  ) external;\n\n  function adminSubscribeRebasingUSDY(\n    address recipient,\n    uint256 rusdyAmount,\n    bytes32 metadata\n  ) external;\n\n  function redeem(\n    uint256 rwaAmount,\n    address receivingToken,\n    uint256 minimumTokenReceived\n  ) external returns (uint256 receiveTokenAmount);\n\n  function redeemRebasingUSDY(\n    uint256 rwaAmount,\n    address receivingToken,\n    uint256 minimumTokenReceived\n  ) external returns (uint256 receiveTokenAmount);\n}\n"},"contracts/xManager/interfaces/ITokenSource.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\n/*\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n */\npragma solidity 0.8.16;\n\ninterface ITokenSource {\n  /**\n   * @notice Emitted when tokens are withdrawn from the source\n   * @param  requestedBy    The address of the account that requested the withdraw\n   * @param  withdrawnFrom  The address of the source contract from which the tokens were withdrawn\n   * @param  withdrawToken  The address of the token that was withdrawn\n   * @param  withdrawAmount The amount of tokens that were withdrawn, denoted in the decimals of\n   *                        `withdrawToken`\n   */\n  event TokensWithdrawn(\n    address indexed requestedBy,\n    address indexed withdrawnFrom,\n    address indexed withdrawToken,\n    uint256 withdrawAmount\n  );\n\n  /// Thrown when the requested token is not the expected token\n  error InvalidTokenAddressForTokenSource();\n\n  /// Thrown when attempting to set an address to address(0) which is not allowed\n  error ZeroAddressNotAllowed();\n\n  function withdrawToken(\n    address tokenToWithdraw,\n    uint256 withdrawAmount\n  ) external;\n\n  function availableToWithdraw(\n    address tokenToWithdraw\n  ) external view returns (uint256);\n}\n"},"contracts/xManager/interfaces/ITokenRecipient.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\n/*\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n */\npragma solidity 0.8.16;\n\ninterface ITokenRecipient {\n  /**\n   * @notice Emitted when tokens are deposited into the recipient\n   * @param  depositToken       The address of the token deposited\n   * @param  depositDestination The address of the recipient contract that received the tokens\n   * @param  depositAmount      The amount of tokens that were deposited, denoted in the decimals\n   *                            of `depositToken`\n   */\n  event TokensDeposited(\n    address indexed depositToken,\n    address indexed depositDestination,\n    uint256 depositAmount\n  );\n\n  /// Error thrown when attempting to set a zero address\n  error ZeroAddressNotAllowed();\n\n  function depositToken(address depositToken, uint256 depositAmount) external;\n}\n"},"contracts/xManager/interfaces/IOndoTokenRouter.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\n/*\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n */\npragma solidity 0.8.16;\n\ninterface IOndoTokenRouter {\n  function depositToken(\n    address rwaToken,\n    address tokenToDeposit,\n    uint256 depositAmount\n  ) external;\n\n  function withdrawToken(\n    address rwaTokenRedeemed,\n    address tokenToWithdraw,\n    bytes32 userID,\n    uint256 withdrawAmount\n  ) external;\n\n  function availableToWithdraw(\n    address rwaToken,\n    address tokenToWithdraw,\n    bytes32 userID\n  ) external view returns (uint256 totalAvailable);\n}\n"},"contracts/xManager/interfaces/IOndoIDRegistry.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\n/*\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n */\npragma solidity 0.8.16;\n\ninterface IOndoIDRegistry {\n  function getRegisteredID(\n    address rwaToken,\n    address user\n  ) external view returns (bytes32 userID);\n}\n"},"contracts/xManager/interfaces/IOndoCompliance.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\n/*\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n */\npragma solidity 0.8.16;\n\ninterface IOndoCompliance {\n  function checkIsCompliant(address rwaToken, address user) external;\n}\n"},"contracts/xManager/interfaces/IOndoRateLimiter.sol":{"content":"// SPDX-License-Identifier: MIT\n/*\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n */\npragma solidity 0.8.16;\n\ninterface IOndoRateLimiter {\n  enum TransactionType {\n    SUBSCRIPTION,\n    REDEMPTION\n  }\n\n  function checkAndUpdateRateLimit(\n    TransactionType transactionType,\n    address rwaToken,\n    bytes32 userID,\n    uint256 usdValue\n  ) external;\n}\n"},"contracts/xManager/interfaces/IOndoOracle.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\n/*\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n */\npragma solidity 0.8.16;\n\ninterface IOndoOracle {\n  function getAssetPrice(address token) external view returns (uint256 price);\n}\n"},"contracts/xManager/interfaces/IOndoFees.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\n/*\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n */\npragma solidity 0.8.16;\n\ninterface IOndoFees {\n  function getAndUpdateFee(\n    address rwaToken,\n    address stablecoin,\n    bytes32 userID,\n    uint256 usdValue\n  ) external returns (uint256 usdFee);\n}\n"},"contracts/xManager/interfaces/IAdminSubscriptionChecker.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\n/*\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n */\npragma solidity 0.8.16;\n\ninterface IAdminSubscriptionChecker {\n  function checkAndUpdateAdminSubscriptionAllowance(\n    address admin,\n    uint256 usdAmount\n  ) external;\n}\n"},"contracts/xManager/rwaManagers/IBaseRWAManagerEvents.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\n/*\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n */\npragma solidity 0.8.16;\n\ninterface IBaseRWAManagerEvents {\n  /**\n   * @notice Event emitted when a user subscribes to an RWA token\n   * @param  subscriber      The address of the subscriber\n   * @param  subscriberId    The user ID of the subscriber\n   * @param  rwaAmount       The amount of RWA tokens minted and/or transferred, in\n   *                         decimals of the RWA token\n   * @param  depositToken    The token deposited\n   * @param  depositAmount   The amount of tokens deposited, in decimals of the\n   *                         token\n   * @param  depositUSDValue The USD value of the deposit, in 18 decimals\n   * @param  fee             The fee charged for the subscription, in USD with 18 decimals\n   */\n  event Subscription(\n    address indexed subscriber,\n    bytes32 indexed subscriberId,\n    uint256 rwaAmount,\n    address depositToken,\n    uint256 depositAmount,\n    uint256 depositUSDValue,\n    uint256 fee\n  );\n\n  /**\n   * @notice Event emitted when a user redeems an RWA token\n   * @param  redeemer           The address of the redeemer\n   * @param  redeemerId         The user ID of the redeemer\n   * @param  rwaAmount          The amount of RWA tokens redeemed, in decimals of\n   *                            the RWA token\n   * @param  receivingToken     The token received\n   * @param  receiveTokenAmount The amount of tokens received, in decimals of the\n   *                            token\n   * @param  redemptionUSDValue The USD value of the redemption, in 18 decimals\n   * @param  fee                The fee charged for the redemption, in USD with 18 decimals\n   */\n  event Redemption(\n    address indexed redeemer,\n    bytes32 indexed redeemerId,\n    uint256 rwaAmount,\n    address receivingToken,\n    uint256 receiveTokenAmount,\n    uint256 redemptionUSDValue,\n    uint256 fee\n  );\n\n  /**\n   * @notice Event emitted when an admin completes a subscription for a recipient\n   * @param  adminCaller  The address of the admin account executing the subscription\n   * @param  recipient    The address of the recipient that receives the RWA tokens\n   * @param  recipientId  The user ID of the recipient\n   * @param  rwaAmount    The amount of RWA tokens minted and/or transferred, in\n   *                      decimals of the RWA token\n   * @param  usdAmount    The USD value of the subscription, in 18 decimals\n   * @param  metadata     Additional metadata to associate with the subscription\n   */\n  event AdminSubscription(\n    address indexed adminCaller,\n    address indexed recipient,\n    bytes32 indexed recipientId,\n    uint256 rwaAmount,\n    uint256 usdAmount,\n    bytes32 metadata\n  );\n\n  /**\n   * @notice Event emitted when the `OndoTokenRouter` contract is set\n   * @param  oldOndoTokenRouter The old `OndoTokenRouter` contract address\n   * @param  newOndoTokenRouter The new `OndoTokenRouter` contract address\n   */\n  event OndoTokenRouterSet(\n    address indexed oldOndoTokenRouter,\n    address indexed newOndoTokenRouter\n  );\n\n  /**\n   * @notice Event emitted when the `OndoOracle` contract is set\n   * @param  oldOndoOracle The old `OndoOracle` contract address\n   * @param  newOndoOracle The new `OndoOracle` contract address\n   */\n  event OndoOracleSet(\n    address indexed oldOndoOracle,\n    address indexed newOndoOracle\n  );\n\n  /**\n   * @notice Event emitted when the `OndoCompliance` contract is set.\n   * @param  oldOndoCompliance The old `OndoCompliance` contract address\n   * @param  newOndoCompliance The new `OndoCompliance` contract address\n   */\n  event OndoComplianceSet(\n    address indexed oldOndoCompliance,\n    address indexed newOndoCompliance\n  );\n\n  /**\n   * @notice Event emitted when the `OndoIDRegistry` contract is set\n   * @param  oldOndoIDRegistry The old `OndoIDRegistry` contract address\n   * @param  newOndoIDRegistry The new `OndoIDRegistry` contract address\n   */\n  event OndoIDRegistrySet(\n    address indexed oldOndoIDRegistry,\n    address indexed newOndoIDRegistry\n  );\n\n  /**\n   * @notice Event emitted when the `OndoRateLimiter` contract is set\n   * @param  oldOndoRateLimiter The old `OndoRateLimiter` contract address\n   * @param  newOndoRateLimiter The new `OndoRateLimiter` contract address\n   */\n  event OndoRateLimiterSet(\n    address indexed oldOndoRateLimiter,\n    address indexed newOndoRateLimiter\n  );\n\n  /**\n   * @notice Event emitted when the `OndoFees` subscription contract is set\n   * @param  oldOndoSubscriptionFees The old `OndoFees` contract address for subscriptions\n   * @param  newOndoSubscriptionFees The new `OndoFees` contract address for subscriptions\n   */\n  event OndoSubscriptionFeesSet(\n    address indexed oldOndoSubscriptionFees,\n    address indexed newOndoSubscriptionFees\n  );\n\n  /**\n   * @notice Event emitted when the `OndoFees` redemption contract is set\n   * @param  oldOndoRedemptionFees The old `OndoFees` contract address for redemptions\n   * @param  newOndoRedemptionFees The new `OndoFees` contract address for redemptions\n   */\n  event OndoRedemptionFeesSet(\n    address indexed oldOndoRedemptionFees,\n    address indexed newOndoRedemptionFees\n  );\n\n  /**\n   * @notice Event emitted when the `AdminSubscriptionChecker` contract is set\n   * @param  oldAdminSubscriptionChecker The old `AdminSubscriptionChecker` contract address\n   * @param  newAdminSubscriptionChecker The new `AdminSubscriptionChecker` contract address\n   */\n  event AdminSubscriptionCheckerSet(\n    address indexed oldAdminSubscriptionChecker,\n    address indexed newAdminSubscriptionChecker\n  );\n\n  /**\n   * @notice Event emitted when a token's supported status is set for subscriptions\n   * @param  token    The token address\n   * @param  accepted Whether the token is accepted for deposit\n   */\n  event AcceptedSubscriptionTokenSet(\n    address indexed token,\n    bool indexed accepted\n  );\n\n  /**\n   * @notice Event emitted when a token's supported status for redemptions\n   * @param  token    The token address\n   * @param  accepted Whether the token is accepted for redemption\n   */\n  event AcceptedRedemptionTokenSet(\n    address indexed token,\n    bool indexed accepted\n  );\n\n  /**\n   * @notice Event emitted when subscription minimum is set\n   * @param  oldMinDepositAmount Old subscription minimum\n   * @param  newMinDepositAmount New subscription minimum\n   */\n  event MinimumDepositAmountSet(\n    uint256 indexed oldMinDepositAmount,\n    uint256 indexed newMinDepositAmount\n  );\n\n  /**\n   * @notice Event emitted when redeem minimum is set\n   * @param  oldMinRedemptionAmount Old redeem minimum\n   * @param  newMinRedemptionAmount New redeem minimum\n   */\n  event MinimumRedemptionAmountSet(\n    uint256 indexed oldMinRedemptionAmount,\n    uint256 indexed newMinRedemptionAmount\n  );\n\n  /**\n   * @notice Event emitted when the minimum RWA token price is set\n   * @param  oldMinimumRwaPrice Old minimum RWA token price\n   * @param  newMinimumRwaPrice New minimum RWA token price\n   */\n  event MinimumRwaPriceSet(\n    uint256 indexed oldMinimumRwaPrice,\n    uint256 indexed newMinimumRwaPrice\n  );\n\n  /// Event emitted when subscription functionality is paused\n  event SubscribePaused();\n\n  /// Event emitted when subscription functionality is unpaused\n  event SubscribeUnpaused();\n\n  /// Event emitted when redeem functionality is paused\n  event RedeemPaused();\n\n  /// Event emitted when redeem functionality is unpaused\n  event RedeemUnpaused();\n}\n"},"contracts/xManager/rwaManagers/IBaseRWAManagerErrors.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\n/*\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n */\npragma solidity 0.8.16;\n\ninterface IBaseRWAManagerErrors {\n  /// Error emitted when the token address is zero\n  error TokenAddressCantBeZero();\n\n  /// Error emitted when the token is not accepted for subscription\n  error TokenNotAccepted();\n\n  /// Error emitted when the deposit amount is too small\n  error DepositAmountTooSmall();\n\n  /// Error emitted when rwa amount is below the `minimumRwaReceived` in a subscription\n  error RwaReceiveAmountTooSmall();\n\n  /// Error emitted when the user is not registered with the ID registry\n  error UserNotRegistered();\n\n  /// Error emitted when the redemption amount is too small\n  error RedemptionAmountTooSmall();\n\n  /// Error emitted when the receive amount is below the `minimumReceiveAmount` in a redemption\n  error ReceiveAmountTooSmall();\n\n  /// Error emitted when attempting to set the `OndoTokenRouter` address to zero\n  error RouterAddressCantBeZero();\n\n  /// Error emitted when attempting to set the `OndoOracle` address to zero\n  error OracleAddressCantBeZero();\n\n  /// Error emitted when attempting to set the `OndoCompliance` address to zero\n  error ComplianceAddressCantBeZero();\n\n  /// Error emitted when attempting to set the `OndoIDRegistry` address to zero\n  error IDRegistryAddressCantBeZero();\n\n  /// Error emitted when attempting to set the `OndoRateLimiter` address to zero\n  error RateLimiterAddressCantBeZero();\n\n  /// Error emitted when attempting to set the `OndoFees` address to zero\n  error FeesAddressCantBeZero();\n\n  /// Error emitted when attempting to set the `AdminSubscriptionChecker` address to zero\n  error AdminSubscriptionCheckerAddressCantBeZero();\n\n  /// Error emitted when the price of RWA token returned from the oracle is below the minimum price\n  error RWAPriceTooLow();\n\n  /// Error emitted when the subscription functionality is paused\n  error SubscriptionsPaused();\n\n  /// Error emitted when the redemption functionality is paused\n  error RedemptionsPaused();\n\n  /// Error emitted when the fee is greater than the redemption amount\n  error FeeGreaterThanRedemption();\n\n  /// Error emitted when the fee is greater than the subscription amount\n  error FeeGreaterThanSubscription();\n}\n"},"contracts/external/openzeppelin/contracts/token/IERC20Metadata.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)\n\npragma solidity ^0.8.0;\n\nimport \"contracts/external/openzeppelin/contracts/token/IERC20.sol\";\n\n/**\n * @dev Interface for the optional metadata functions from the ERC20 standard.\n *\n * _Available since v4.1._\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"},"contracts/external/openzeppelin/contracts/access/AccessControlEnumerable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol)\n\npragma solidity ^0.8.0;\n\nimport \"contracts/external/openzeppelin/contracts/access/IAccessControlEnumerable.sol\";\nimport \"contracts/external/openzeppelin/contracts/access/AccessControl.sol\";\nimport \"contracts/external/openzeppelin/contracts/utils/EnumerableSet.sol\";\n\n/**\n * @dev Extension of {AccessControl} that allows enumerating the members of each role.\n */\nabstract contract AccessControlEnumerable is\n  IAccessControlEnumerable,\n  AccessControl\n{\n  using EnumerableSet for EnumerableSet.AddressSet;\n\n  mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;\n\n  /**\n   * @dev See {IERC165-supportsInterface}.\n   */\n  function supportsInterface(bytes4 interfaceId)\n    public\n    view\n    virtual\n    override\n    returns (bool)\n  {\n    return\n      interfaceId == type(IAccessControlEnumerable).interfaceId ||\n      super.supportsInterface(interfaceId);\n  }\n\n  /**\n   * @dev Returns one of the accounts that have `role`. `index` must be a\n   * value between 0 and {getRoleMemberCount}, non-inclusive.\n   *\n   * Role bearers are not sorted in any particular way, and their ordering may\n   * change at any point.\n   *\n   * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\n   * you perform all queries on the same block. See the following\n   * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\n   * for more information.\n   */\n  function getRoleMember(bytes32 role, uint256 index)\n    public\n    view\n    virtual\n    override\n    returns (address)\n  {\n    return _roleMembers[role].at(index);\n  }\n\n  /**\n   * @dev Returns the number of accounts that have `role`. Can be used\n   * together with {getRoleMember} to enumerate all bearers of a role.\n   */\n  function getRoleMemberCount(bytes32 role)\n    public\n    view\n    virtual\n    override\n    returns (uint256)\n  {\n    return _roleMembers[role].length();\n  }\n\n  /**\n   * @dev Overload {_grantRole} to track enumerable memberships\n   */\n  function _grantRole(bytes32 role, address account) internal virtual override {\n    super._grantRole(role, account);\n    _roleMembers[role].add(account);\n  }\n\n  /**\n   * @dev Overload {_revokeRole} to track enumerable memberships\n   */\n  function _revokeRole(bytes32 role, address account)\n    internal\n    virtual\n    override\n  {\n    super._revokeRole(role, account);\n    _roleMembers[role].remove(account);\n  }\n}\n"},"contracts/external/openzeppelin/contracts/security/ReentrancyGuard.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Contract module that helps prevent reentrant calls to a function.\n *\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\n * available, which can be applied to functions to make sure there are no nested\n * (reentrant) calls to them.\n *\n * Note that because there is a single `nonReentrant` guard, functions marked as\n * `nonReentrant` may not call one another. This can be worked around by making\n * those functions `private`, and then adding `external` `nonReentrant` entry\n * points to them.\n *\n * TIP: If you would like to learn more about reentrancy and alternative ways\n * to protect against it, check out our blog post\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\n */\nabstract contract ReentrancyGuard {\n  // Booleans are more expensive than uint256 or any type that takes up a full\n  // word because each write operation emits an extra SLOAD to first read the\n  // slot's contents, replace the bits taken up by the boolean, and then write\n  // back. This is the compiler's defense against contract upgrades and\n  // pointer aliasing, and it cannot be disabled.\n\n  // The values being non-zero value makes deployment a bit more expensive,\n  // but in exchange the refund on every call to nonReentrant will be lower in\n  // amount. Since refunds are capped to a percentage of the total\n  // transaction's gas, it is best to keep them low in cases like this one, to\n  // increase the likelihood of the full refund coming into effect.\n  uint256 private constant _NOT_ENTERED = 1;\n  uint256 private constant _ENTERED = 2;\n\n  uint256 private _status;\n\n  constructor() {\n    _status = _NOT_ENTERED;\n  }\n\n  /**\n   * @dev Prevents a contract from calling itself, directly or indirectly.\n   * Calling a `nonReentrant` function from another `nonReentrant`\n   * function is not supported. It is possible to prevent this from happening\n   * by making the `nonReentrant` function external, and making it call a\n   * `private` function that does the actual work.\n   */\n  modifier nonReentrant() {\n    // On the first call to nonReentrant, _notEntered will be true\n    require(_status != _ENTERED, \"ReentrancyGuard: reentrant call\");\n\n    // Any calls to nonReentrant after this point will fail\n    _status = _ENTERED;\n\n    _;\n\n    // By storing the original value once again, a refund is triggered (see\n    // https://eips.ethereum.org/EIPS/eip-2200)\n    _status = _NOT_ENTERED;\n  }\n}\n"},"contracts/external/openzeppelin/contracts/token/SafeERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.2.0) (token/ERC20/utils/SafeERC20.sol)\n\npragma solidity ^0.8.0;\n\nimport \"contracts/external/openzeppelin/contracts/token/IERC20.sol\";\n\n/**\n * @title SafeERC20\n * @dev Wrappers around ERC-20 operations that throw on failure (when the token\n * contract returns false). Tokens that return no value (and instead revert or\n * throw on failure) are also supported, non-reverting calls are assumed to be\n * successful.\n * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\n */\nlibrary SafeERC20 {\n    /**\n     * @dev An operation with an ERC-20 token failed.\n     */\n    error SafeERC20FailedOperation(address token);\n\n    /**\n     * @dev Indicates a failed `decreaseAllowance` request.\n     */\n    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);\n\n    /**\n     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     */\n    function safeTransfer(IERC20 token, address to, uint256 value) internal {\n        _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));\n    }\n\n    /**\n     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the\n     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.\n     */\n    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {\n        _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));\n    }\n\n    /**\n     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     *\n     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \"client\"\n     * smart contract uses ERC-7674 to set temporary allowances, then the \"client\" smart contract should avoid using\n     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\n     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.\n     */\n    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\n        uint256 oldAllowance = token.allowance(address(this), spender);\n        forceApprove(token, spender, oldAllowance + value);\n    }\n\n    /**\n     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no\n     * value, non-reverting calls are assumed to be successful.\n     *\n     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \"client\"\n     * smart contract uses ERC-7674 to set temporary allowances, then the \"client\" smart contract should avoid using\n     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\n     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.\n     */\n    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {\n        unchecked {\n            uint256 currentAllowance = token.allowance(address(this), spender);\n            if (currentAllowance < requestedDecrease) {\n                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);\n            }\n            forceApprove(token, spender, currentAllowance - requestedDecrease);\n        }\n    }\n\n    /**\n     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval\n     * to be set to zero before setting it to a non-zero value, such as USDT.\n     *\n     * NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function\n     * only sets the \"standard\" allowance. Any temporary allowance will remain active, in addition to the value being\n     * set here.\n     */\n    function forceApprove(IERC20 token, address spender, uint256 value) internal {\n        bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));\n\n        if (!_callOptionalReturnBool(token, approvalCall)) {\n            _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));\n            _callOptionalReturn(token, approvalCall);\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n     * on the return value: the return value is optional (but if data is returned, it must not be false).\n     * @param token The token targeted by the call.\n     * @param data The call data (encoded using abi.encode or one of its variants).\n     *\n     * This is a variant of {_callOptionalReturnBool} that reverts if call fails to meet the requirements.\n     */\n    function _callOptionalReturn(IERC20 token, bytes memory data) private {\n        uint256 returnSize;\n        uint256 returnValue;\n        assembly (\"memory-safe\") {\n            let success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)\n            // bubble errors\n            if iszero(success) {\n                let ptr := mload(0x40)\n                returndatacopy(ptr, 0, returndatasize())\n                revert(ptr, returndatasize())\n            }\n            returnSize := returndatasize()\n            returnValue := mload(0)\n        }\n\n        if (returnSize == 0 ? address(token).code.length == 0 : returnValue != 1) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n     * on the return value: the return value is optional (but if data is returned, it must not be false).\n     * @param token The token targeted by the call.\n     * @param data The call data (encoded using abi.encode or one of its variants).\n     *\n     * This is a variant of {_callOptionalReturn} that silently catches all reverts and returns a bool instead.\n     */\n    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {\n        bool success;\n        uint256 returnSize;\n        uint256 returnValue;\n        assembly (\"memory-safe\") {\n            success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)\n            returnSize := returndatasize()\n            returnValue := mload(0)\n        }\n        return success && (returnSize == 0 ? address(token).code.length > 0 : returnValue == 1);\n    }\n}"},"contracts/external/openzeppelin/contracts/token/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP.\n */\ninterface IERC20 {\n  /**\n   * @dev Returns the amount of tokens in existence.\n   */\n  function totalSupply() external view returns (uint256);\n\n  /**\n   * @dev Returns the amount of tokens owned by `account`.\n   */\n  function balanceOf(address account) external view returns (uint256);\n\n  /**\n   * @dev Moves `amount` 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 amount) 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)\n    external\n    view\n    returns (uint256);\n\n  /**\n   * @dev Sets `amount` as the allowance of `spender` over the 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 amount) external returns (bool);\n\n  /**\n   * @dev Moves `amount` tokens from `from` to `to` using the\n   * allowance mechanism. `amount` 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(\n    address from,\n    address to,\n    uint256 amount\n  ) external returns (bool);\n\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"},"contracts/external/openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP.\n */\ninterface IERC20Upgradeable {\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 amount of tokens in existence.\n   */\n  function totalSupply() external view returns (uint256);\n\n  /**\n   * @dev Returns the amount of tokens owned by `account`.\n   */\n  function balanceOf(address account) external view returns (uint256);\n\n  /**\n   * @dev Moves `amount` 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 amount) 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)\n    external\n    view\n    returns (uint256);\n\n  /**\n   * @dev Sets `amount` as the allowance of `spender` over the 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 amount) external returns (bool);\n\n  /**\n   * @dev Moves `amount` tokens from `from` to `to` using the\n   * allowance mechanism. `amount` 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(\n    address from,\n    address to,\n    uint256 amount\n  ) external returns (bool);\n}\n"},"contracts/external/openzeppelin/contracts-upgradeable/token/ERC20/IERC20MetadataUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)\n\npragma solidity ^0.8.0;\n\nimport \"contracts/external/openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol\";\n\n/**\n * @dev Interface for the optional metadata functions from the ERC20 standard.\n *\n * _Available since v4.1._\n */\ninterface IERC20MetadataUpgradeable is IERC20Upgradeable {\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"},"contracts/external/openzeppelin/contracts-upgradeable/proxy/Initializable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.7.0) (proxy/utils/Initializable.sol)\n\npragma solidity ^0.8.2;\n\nimport \"contracts/external/openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol\";\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 * ```\n * contract MyToken is ERC20Upgradeable {\n *     function initialize() initializer public {\n *         __ERC20_init(\"MyToken\", \"MTK\");\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 Indicates that the contract has been initialized.\n   * @custom:oz-retyped-from bool\n   */\n  uint8 private _initialized;\n\n  /**\n   * @dev Indicates that the contract is in the process of being initialized.\n   */\n  bool private _initializing;\n\n  /**\n   * @dev Triggered when the contract has been initialized or reinitialized.\n   */\n  event Initialized(uint8 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. Equivalent to `reinitializer(1)`.\n   */\n  modifier initializer() {\n    bool isTopLevelCall = !_initializing;\n    require(\n      (isTopLevelCall && _initialized < 1) ||\n        (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),\n      \"Initializable: contract is already initialized\"\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   * `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original\n   * initialization step. This is essential to configure modules that are added through upgrades and that require\n   * initialization.\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  modifier reinitializer(uint8 version) {\n    require(\n      !_initializing && _initialized < version,\n      \"Initializable: contract is already initialized\"\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    require(_initializing, \"Initializable: contract is not initializing\");\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  function _disableInitializers() internal virtual {\n    require(!_initializing, \"Initializable: contract is initializing\");\n    if (_initialized < type(uint8).max) {\n      _initialized = type(uint8).max;\n      emit Initialized(type(uint8).max);\n    }\n  }\n}\n"},"contracts/external/openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\n\npragma solidity ^0.8.0;\nimport \"contracts/external/openzeppelin/contracts-upgradeable/proxy/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  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  /**\n   * @dev This empty reserved space is put in place to allow future versions to add new\n   * variables without shifting down storage in the inheritance chain.\n   * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\n   */\n  uint256[50] private __gap;\n}\n"},"contracts/external/openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)\n\npragma solidity ^0.8.0;\n\nimport \"contracts/external/openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol\";\nimport \"contracts/external/openzeppelin/contracts-upgradeable/proxy/Initializable.sol\";\n\n/**\n * @dev Contract module which allows children to implement an emergency stop\n * mechanism that can be triggered by an authorized account.\n *\n * This module is used through inheritance. It will make available the\n * modifiers `whenNotPaused` and `whenPaused`, which can be applied to\n * the functions of your contract. Note that they will not be pausable by\n * simply including this module, only once the modifiers are put in place.\n */\nabstract contract PausableUpgradeable is Initializable, ContextUpgradeable {\n  /**\n   * @dev Emitted when the pause is triggered by `account`.\n   */\n  event Paused(address account);\n\n  /**\n   * @dev Emitted when the pause is lifted by `account`.\n   */\n  event Unpaused(address account);\n\n  bool private _paused;\n\n  /**\n   * @dev Initializes the contract in unpaused state.\n   */\n  function __Pausable_init() internal onlyInitializing {\n    __Pausable_init_unchained();\n  }\n\n  function __Pausable_init_unchained() internal onlyInitializing {\n    _paused = false;\n  }\n\n  /**\n   * @dev Modifier to make a function callable only when the contract is not paused.\n   *\n   * Requirements:\n   *\n   * - The contract must not be paused.\n   */\n  modifier whenNotPaused() {\n    _requireNotPaused();\n    _;\n  }\n\n  /**\n   * @dev Modifier to make a function callable only when the contract is paused.\n   *\n   * Requirements:\n   *\n   * - The contract must be paused.\n   */\n  modifier whenPaused() {\n    _requirePaused();\n    _;\n  }\n\n  /**\n   * @dev Returns true if the contract is paused, and false otherwise.\n   */\n  function paused() public view virtual returns (bool) {\n    return _paused;\n  }\n\n  /**\n   * @dev Throws if the contract is paused.\n   */\n  function _requireNotPaused() internal view virtual {\n    require(!paused(), \"Pausable: paused\");\n  }\n\n  /**\n   * @dev Throws if the contract is not paused.\n   */\n  function _requirePaused() internal view virtual {\n    require(paused(), \"Pausable: not paused\");\n  }\n\n  /**\n   * @dev Triggers stopped state.\n   *\n   * Requirements:\n   *\n   * - The contract must not be paused.\n   */\n  function _pause() internal virtual whenNotPaused {\n    _paused = true;\n    emit Paused(_msgSender());\n  }\n\n  /**\n   * @dev Returns to normal state.\n   *\n   * Requirements:\n   *\n   * - The contract must be paused.\n   */\n  function _unpause() internal virtual whenPaused {\n    _paused = false;\n    emit Unpaused(_msgSender());\n  }\n\n  /**\n   * @dev This empty reserved space is put in place to allow future versions to add new\n   * variables without shifting down storage in the inheritance chain.\n   * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\n   */\n  uint256[49] private __gap;\n}\n"},"contracts/external/openzeppelin/contracts-upgradeable/access/AccessControlEnumerableUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol)\n\npragma solidity ^0.8.0;\n\nimport \"contracts/external/openzeppelin/contracts-upgradeable/access/IAccessControlEnumerableUpgradeable.sol\";\nimport \"contracts/external/openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol\";\nimport \"contracts/external/openzeppelin/contracts-upgradeable/utils/EnumerableSetUpgradeable.sol\";\nimport \"contracts/external/openzeppelin/contracts-upgradeable/proxy/Initializable.sol\";\n\n/**\n * @dev Extension of {AccessControl} that allows enumerating the members of each role.\n */\nabstract contract AccessControlEnumerableUpgradeable is\n  Initializable,\n  IAccessControlEnumerableUpgradeable,\n  AccessControlUpgradeable\n{\n  function __AccessControlEnumerable_init() internal onlyInitializing {}\n\n  function __AccessControlEnumerable_init_unchained()\n    internal\n    onlyInitializing\n  {}\n\n  using EnumerableSetUpgradeable for EnumerableSetUpgradeable.AddressSet;\n\n  mapping(bytes32 => EnumerableSetUpgradeable.AddressSet) private _roleMembers;\n\n  /**\n   * @dev See {IERC165-supportsInterface}.\n   */\n  function supportsInterface(bytes4 interfaceId)\n    public\n    view\n    virtual\n    override\n    returns (bool)\n  {\n    return\n      interfaceId == type(IAccessControlEnumerableUpgradeable).interfaceId ||\n      super.supportsInterface(interfaceId);\n  }\n\n  /**\n   * @dev Returns one of the accounts that have `role`. `index` must be a\n   * value between 0 and {getRoleMemberCount}, non-inclusive.\n   *\n   * Role bearers are not sorted in any particular way, and their ordering may\n   * change at any point.\n   *\n   * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\n   * you perform all queries on the same block. See the following\n   * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\n   * for more information.\n   */\n  function getRoleMember(bytes32 role, uint256 index)\n    public\n    view\n    virtual\n    override\n    returns (address)\n  {\n    return _roleMembers[role].at(index);\n  }\n\n  /**\n   * @dev Returns the number of accounts that have `role`. Can be used\n   * together with {getRoleMember} to enumerate all bearers of a role.\n   */\n  function getRoleMemberCount(bytes32 role)\n    public\n    view\n    virtual\n    override\n    returns (uint256)\n  {\n    return _roleMembers[role].length();\n  }\n\n  /**\n   * @dev Overload {_grantRole} to track enumerable memberships\n   */\n  function _grantRole(bytes32 role, address account) internal virtual override {\n    super._grantRole(role, account);\n    _roleMembers[role].add(account);\n  }\n\n  /**\n   * @dev Overload {_revokeRole} to track enumerable memberships\n   */\n  function _revokeRole(bytes32 role, address account)\n    internal\n    virtual\n    override\n  {\n    super._revokeRole(role, account);\n    _roleMembers[role].remove(account);\n  }\n\n  /**\n   * @dev This empty reserved space is put in place to allow future versions to add new\n   * variables without shifting down storage in the inheritance chain.\n   * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\n   */\n  uint256[49] private __gap;\n}\n"},"contracts/usdy/blocklist/BlocklistClientUpgradeable.sol":{"content":"/**SPDX-License-Identifier: BUSL-1.1\n\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n\n */\npragma solidity 0.8.16;\n\nimport \"contracts/interfaces/IBlocklist.sol\";\nimport \"contracts/interfaces/IBlocklistClient.sol\";\nimport \"contracts/external/openzeppelin/contracts-upgradeable/proxy/Initializable.sol\";\n\n/**\n * @title BlocklistClient\n * @author Ondo Finance\n * @notice This abstract contract manages state for upgradeable blocklist\n *         clients\n */\nabstract contract BlocklistClientUpgradeable is\n  Initializable,\n  IBlocklistClient\n{\n  // Blocklist contract\n  IBlocklist public override blocklist;\n\n  /**\n   * @notice Initialize the contract by setting blocklist variable\n   *\n   * @param _blocklist Address of the blocklist contract\n   *\n   * @dev Function should be called by the inheriting contract on\n   *      initialization\n   */\n  function __BlocklistClientInitializable_init(\n    address _blocklist\n  ) internal onlyInitializing {\n    __BlocklistClientInitializable_init_unchained(_blocklist);\n  }\n\n  /**\n   * @dev Internal function to future-proof parent linearization. Matches OZ\n   *      upgradeable suggestions\n   */\n  function __BlocklistClientInitializable_init_unchained(\n    address _blocklist\n  ) internal onlyInitializing {\n    _setBlocklist(_blocklist);\n  }\n\n  /**\n   * @notice Sets the blocklist address for this client\n   *\n   * @param _blocklist The new blocklist address\n   */\n  function _setBlocklist(address _blocklist) internal {\n    if (_blocklist == address(0)) {\n      revert BlocklistZeroAddress();\n    }\n    address oldBlocklist = address(blocklist);\n    blocklist = IBlocklist(_blocklist);\n    emit BlocklistSet(oldBlocklist, _blocklist);\n  }\n\n  /**\n   * @notice Checks whether an address has been blocked\n   *\n   * @param account The account to check\n   */\n  function _isBlocked(address account) internal view returns (bool) {\n    return blocklist.isBlocked(account);\n  }\n\n  /**\n   * @dev This empty reserved space is put in place to allow future versions to add new\n   * variables without shifting down storage in the inheritance chain.\n   * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\n   */\n  uint256[50] private __gap;\n}\n"},"contracts/sanctions/SanctionsListClientUpgradeable.sol":{"content":"/**SPDX-License-Identifier: BUSL-1.1\n\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n\n */\npragma solidity 0.8.16;\n\nimport \"contracts/external/openzeppelin/contracts-upgradeable/proxy/Initializable.sol\";\nimport \"contracts/external/chainalysis/ISanctionsList.sol\";\nimport \"contracts/sanctions/ISanctionsListClient.sol\";\n\n/**\n * @title SanctionsListClient\n * @author Ondo Finance\n * @notice This abstract contract enables inheritors to query whether accounts\n *         are sanctioned or not\n */\nabstract contract SanctionsListClientUpgradeable is\n  Initializable,\n  ISanctionsListClient\n{\n  // Sanctions list address\n  ISanctionsList public override sanctionsList;\n\n  /**\n   * @notice Initialize the contract by setting blocklist variable\n   *\n   * @param _sanctionsList Address of the sanctionsList contract\n   *\n   * @dev Function should be called by the inheriting contract on\n   *      initialization\n   */\n  function __SanctionsListClientInitializable_init(\n    address _sanctionsList\n  ) internal onlyInitializing {\n    __SanctionsListClientInitializable_init_unchained(_sanctionsList);\n  }\n\n  /**\n   * @dev Internal function to future-proof parent linearization. Matches OZ\n   *      upgradeable suggestions\n   */\n  function __SanctionsListClientInitializable_init_unchained(\n    address _sanctionsList\n  ) internal onlyInitializing {\n    _setSanctionsList(_sanctionsList);\n  }\n\n  /**\n   * @notice Sets the sanctions list address for this client\n   *\n   * @param _sanctionsList The new sanctions list address\n   */\n  function _setSanctionsList(address _sanctionsList) internal {\n    if (_sanctionsList == address(0)) {\n      revert SanctionsListZeroAddress();\n    }\n    address oldSanctionsList = address(sanctionsList);\n    sanctionsList = ISanctionsList(_sanctionsList);\n    emit SanctionsListSet(oldSanctionsList, _sanctionsList);\n  }\n\n  /**\n   * @notice Checks whether an address has been sanctioned\n   *\n   * @param account The account to check\n   */\n  function _isSanctioned(address account) internal view returns (bool) {\n    return sanctionsList.isSanctioned(account);\n  }\n\n  /**\n   * @dev This empty reserved space is put in place to allow future versions to add new\n   * variables without shifting down storage in the inheritance chain.\n   * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\n   */\n  uint256[50] private __gap;\n}\n"},"contracts/interfaces/IUSDY.sol":{"content":"/**SPDX-License-Identifier: BUSL-1.1\n\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n\n */\n\nimport \"contracts/external/openzeppelin/contracts/token/IERC20.sol\";\n\npragma solidity 0.8.16; // latest available for using OZ\n\ninterface IUSDY is IERC20 {\n  function getPooledCashByShares(uint256) external view returns (uint256);\n\n  function getSharesByPooledCash(uint256) external view returns (uint256);\n}\n"},"contracts/rwaOracles/IRWADynamicOracle.sol":{"content":"/**SPDX-License-Identifier: BUSL-1.1\n\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n\n */\npragma solidity 0.8.16;\n\ninterface IRWADynamicOracle {\n  /// @notice Retrieve RWA price data\n  function getPrice() external view returns (uint256);\n}\n"},"contracts/external/openzeppelin/contracts/access/IAccessControlEnumerable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)\n\npragma solidity ^0.8.0;\n\nimport \"contracts/external/openzeppelin/contracts/access/IAccessControl.sol\";\n\n/**\n * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.\n */\ninterface IAccessControlEnumerable is IAccessControl {\n  /**\n   * @dev Returns one of the accounts that have `role`. `index` must be a\n   * value between 0 and {getRoleMemberCount}, non-inclusive.\n   *\n   * Role bearers are not sorted in any particular way, and their ordering may\n   * change at any point.\n   *\n   * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\n   * you perform all queries on the same block. See the following\n   * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\n   * for more information.\n   */\n  function getRoleMember(bytes32 role, uint256 index)\n    external\n    view\n    returns (address);\n\n  /**\n   * @dev Returns the number of accounts that have `role`. Can be used\n   * together with {getRoleMember} to enumerate all bearers of a role.\n   */\n  function getRoleMemberCount(bytes32 role) external view returns (uint256);\n}\n"},"contracts/external/openzeppelin/contracts/access/AccessControl.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol)\n\npragma solidity ^0.8.0;\n\nimport \"contracts/external/openzeppelin/contracts/access/IAccessControl.sol\";\nimport \"contracts/external/openzeppelin/contracts/utils/Context.sol\";\nimport \"contracts/external/openzeppelin/contracts/utils/Strings.sol\";\nimport \"contracts/external/openzeppelin/contracts/utils/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 * ```\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 * ```\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.\n */\nabstract contract AccessControl is Context, IAccessControl, ERC165 {\n  struct RoleData {\n    mapping(address => bool) members;\n    bytes32 adminRole;\n  }\n\n  mapping(bytes32 => 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 a standardized message including the required role.\n   *\n   * The format of the revert reason is given by the following regular expression:\n   *\n   *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/\n   *\n   * _Available since v4.1._\n   */\n  modifier onlyRole(bytes32 role) {\n    _checkRole(role, _msgSender());\n    _;\n  }\n\n  /**\n   * @dev See {IERC165-supportsInterface}.\n   */\n  function supportsInterface(bytes4 interfaceId)\n    public\n    view\n    virtual\n    override\n    returns (bool)\n  {\n    return\n      interfaceId == type(IAccessControl).interfaceId ||\n      super.supportsInterface(interfaceId);\n  }\n\n  /**\n   * @dev Returns `true` if `account` has been granted `role`.\n   */\n  function hasRole(bytes32 role, address account)\n    public\n    view\n    virtual\n    override\n    returns (bool)\n  {\n    return _roles[role].members[account];\n  }\n\n  /**\n   * @dev Revert with a standard message if `account` is missing `role`.\n   *\n   * The format of the revert reason is given by the following regular expression:\n   *\n   *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/\n   */\n  function _checkRole(bytes32 role, address account) internal view virtual {\n    if (!hasRole(role, account)) {\n      revert(\n        string(\n          abi.encodePacked(\n            \"AccessControl: account \",\n            Strings.toHexString(uint160(account), 20),\n            \" is missing role \",\n            Strings.toHexString(uint256(role), 32)\n          )\n        )\n      );\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)\n    public\n    view\n    virtual\n    override\n    returns (bytes32)\n  {\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  function grantRole(bytes32 role, address account)\n    public\n    virtual\n    override\n    onlyRole(getRoleAdmin(role))\n  {\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  function revokeRole(bytes32 role, address account)\n    public\n    virtual\n    override\n    onlyRole(getRoleAdmin(role))\n  {\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 `account`.\n   */\n  function renounceRole(bytes32 role, address account) public virtual override {\n    require(\n      account == _msgSender(),\n      \"AccessControl: can only renounce roles for self\"\n    );\n\n    _revokeRole(role, account);\n  }\n\n  /**\n   * @dev Grants `role` to `account`.\n   *\n   * If `account` had not been already granted `role`, emits a {RoleGranted}\n   * event. Note that unlike {grantRole}, this function doesn't perform any\n   * checks on the calling account.\n   *\n   * [WARNING]\n   * ====\n   * This function should only be called from the constructor when setting\n   * up the initial roles for the system.\n   *\n   * Using this function in any other way is effectively circumventing the admin\n   * system imposed by {AccessControl}.\n   * ====\n   *\n   * NOTE: This function is deprecated in favor of {_grantRole}.\n   */\n  function _setupRole(bytes32 role, address account) internal virtual {\n    _grantRole(role, account);\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 Grants `role` to `account`.\n   *\n   * Internal function without access restriction.\n   */\n  function _grantRole(bytes32 role, address account) internal virtual {\n    if (!hasRole(role, account)) {\n      _roles[role].members[account] = true;\n      emit RoleGranted(role, account, _msgSender());\n    }\n  }\n\n  /**\n   * @dev Revokes `role` from `account`.\n   *\n   * Internal function without access restriction.\n   */\n  function _revokeRole(bytes32 role, address account) internal virtual {\n    if (hasRole(role, account)) {\n      _roles[role].members[account] = false;\n      emit RoleRevoked(role, account, _msgSender());\n    }\n  }\n}\n"},"contracts/external/openzeppelin/contracts/utils/EnumerableSet.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/structs/EnumerableSet.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Library for managing\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n * types.\n *\n * Sets have the following properties:\n *\n * - Elements are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n *     // Add the library methods\n *     using EnumerableSet for EnumerableSet.AddressSet;\n *\n *     // Declare a set state variable\n *     EnumerableSet.AddressSet private mySet;\n * }\n * ```\n *\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n * and `uint256` (`UintSet`) are supported.\n */\nlibrary EnumerableSet {\n  // To implement this library for multiple types with as little code\n  // repetition as possible, we write it in terms of a generic Set type with\n  // bytes32 values.\n  // The Set implementation uses private functions, and user-facing\n  // implementations (such as AddressSet) are just wrappers around the\n  // underlying Set.\n  // This means that we can only create new EnumerableSets for types that fit\n  // in bytes32.\n\n  struct Set {\n    // Storage of set values\n    bytes32[] _values;\n    // Position of the value in the `values` array, plus 1 because index 0\n    // means a value is not in the set.\n    mapping(bytes32 => uint256) _indexes;\n  }\n\n  /**\n   * @dev Add a value to a set. O(1).\n   *\n   * Returns true if the value was added to the set, that is if it was not\n   * already present.\n   */\n  function _add(Set storage set, bytes32 value) private returns (bool) {\n    if (!_contains(set, value)) {\n      set._values.push(value);\n      // The value is stored at length-1, but we add 1 to all indexes\n      // and use 0 as a sentinel value\n      set._indexes[value] = set._values.length;\n      return true;\n    } else {\n      return false;\n    }\n  }\n\n  /**\n   * @dev Removes a value from a set. O(1).\n   *\n   * Returns true if the value was removed from the set, that is if it was\n   * present.\n   */\n  function _remove(Set storage set, bytes32 value) private returns (bool) {\n    // We read and store the value's index to prevent multiple reads from the same storage slot\n    uint256 valueIndex = set._indexes[value];\n\n    if (valueIndex != 0) {\n      // Equivalent to contains(set, value)\n      // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\n      // the array, and then remove the last element (sometimes called as 'swap and pop').\n      // This modifies the order of the array, as noted in {at}.\n\n      uint256 toDeleteIndex = valueIndex - 1;\n      uint256 lastIndex = set._values.length - 1;\n\n      if (lastIndex != toDeleteIndex) {\n        bytes32 lastvalue = set._values[lastIndex];\n\n        // Move the last value to the index where the value to delete is\n        set._values[toDeleteIndex] = lastvalue;\n        // Update the index for the moved value\n        set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex\n      }\n\n      // Delete the slot where the moved value was stored\n      set._values.pop();\n\n      // Delete the index for the deleted slot\n      delete set._indexes[value];\n\n      return true;\n    } else {\n      return false;\n    }\n  }\n\n  /**\n   * @dev Returns true if the value is in the set. O(1).\n   */\n  function _contains(Set storage set, bytes32 value)\n    private\n    view\n    returns (bool)\n  {\n    return set._indexes[value] != 0;\n  }\n\n  /**\n   * @dev Returns the number of values on the set. O(1).\n   */\n  function _length(Set storage set) private view returns (uint256) {\n    return set._values.length;\n  }\n\n  /**\n   * @dev Returns the value stored at position `index` in the set. O(1).\n   *\n   * Note that there are no guarantees on the ordering of values inside the\n   * array, and it may change when more values are added or removed.\n   *\n   * Requirements:\n   *\n   * - `index` must be strictly less than {length}.\n   */\n  function _at(Set storage set, uint256 index) private view returns (bytes32) {\n    return set._values[index];\n  }\n\n  /**\n   * @dev Return the entire set in an array\n   *\n   * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n   * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n   * this function has an unbounded cost, and using it as part of a state-changing function may render the function\n   * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\n   */\n  function _values(Set storage set) private view returns (bytes32[] memory) {\n    return set._values;\n  }\n\n  // Bytes32Set\n\n  struct Bytes32Set {\n    Set _inner;\n  }\n\n  /**\n   * @dev Add a value to a set. O(1).\n   *\n   * Returns true if the value was added to the set, that is if it was not\n   * already present.\n   */\n  function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n    return _add(set._inner, value);\n  }\n\n  /**\n   * @dev Removes a value from a set. O(1).\n   *\n   * Returns true if the value was removed from the set, that is if it was\n   * present.\n   */\n  function remove(Bytes32Set storage set, bytes32 value)\n    internal\n    returns (bool)\n  {\n    return _remove(set._inner, value);\n  }\n\n  /**\n   * @dev Returns true if the value is in the set. O(1).\n   */\n  function contains(Bytes32Set storage set, bytes32 value)\n    internal\n    view\n    returns (bool)\n  {\n    return _contains(set._inner, value);\n  }\n\n  /**\n   * @dev Returns the number of values in the set. O(1).\n   */\n  function length(Bytes32Set storage set) internal view returns (uint256) {\n    return _length(set._inner);\n  }\n\n  /**\n   * @dev Returns the value stored at position `index` in the set. O(1).\n   *\n   * Note that there are no guarantees on the ordering of values inside the\n   * array, and it may change when more values are added or removed.\n   *\n   * Requirements:\n   *\n   * - `index` must be strictly less than {length}.\n   */\n  function at(Bytes32Set storage set, uint256 index)\n    internal\n    view\n    returns (bytes32)\n  {\n    return _at(set._inner, index);\n  }\n\n  /**\n   * @dev Return the entire set in an array\n   *\n   * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n   * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n   * this function has an unbounded cost, and using it as part of a state-changing function may render the function\n   * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\n   */\n  function values(Bytes32Set storage set)\n    internal\n    view\n    returns (bytes32[] memory)\n  {\n    return _values(set._inner);\n  }\n\n  // AddressSet\n\n  struct AddressSet {\n    Set _inner;\n  }\n\n  /**\n   * @dev Add a value to a set. O(1).\n   *\n   * Returns true if the value was added to the set, that is if it was not\n   * already present.\n   */\n  function add(AddressSet storage set, address value) internal returns (bool) {\n    return _add(set._inner, bytes32(uint256(uint160(value))));\n  }\n\n  /**\n   * @dev Removes a value from a set. O(1).\n   *\n   * Returns true if the value was removed from the set, that is if it was\n   * present.\n   */\n  function remove(AddressSet storage set, address value)\n    internal\n    returns (bool)\n  {\n    return _remove(set._inner, bytes32(uint256(uint160(value))));\n  }\n\n  /**\n   * @dev Returns true if the value is in the set. O(1).\n   */\n  function contains(AddressSet storage set, address value)\n    internal\n    view\n    returns (bool)\n  {\n    return _contains(set._inner, bytes32(uint256(uint160(value))));\n  }\n\n  /**\n   * @dev Returns the number of values in the set. O(1).\n   */\n  function length(AddressSet storage set) internal view returns (uint256) {\n    return _length(set._inner);\n  }\n\n  /**\n   * @dev Returns the value stored at position `index` in the set. O(1).\n   *\n   * Note that there are no guarantees on the ordering of values inside the\n   * array, and it may change when more values are added or removed.\n   *\n   * Requirements:\n   *\n   * - `index` must be strictly less than {length}.\n   */\n  function at(AddressSet storage set, uint256 index)\n    internal\n    view\n    returns (address)\n  {\n    return address(uint160(uint256(_at(set._inner, index))));\n  }\n\n  /**\n   * @dev Return the entire set in an array\n   *\n   * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n   * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n   * this function has an unbounded cost, and using it as part of a state-changing function may render the function\n   * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\n   */\n  function values(AddressSet storage set)\n    internal\n    view\n    returns (address[] memory)\n  {\n    bytes32[] memory store = _values(set._inner);\n    address[] memory result;\n\n    assembly {\n      result := store\n    }\n\n    return result;\n  }\n\n  // UintSet\n\n  struct UintSet {\n    Set _inner;\n  }\n\n  /**\n   * @dev Add a value to a set. O(1).\n   *\n   * Returns true if the value was added to the set, that is if it was not\n   * already present.\n   */\n  function add(UintSet storage set, uint256 value) internal returns (bool) {\n    return _add(set._inner, bytes32(value));\n  }\n\n  /**\n   * @dev Removes a value from a set. O(1).\n   *\n   * Returns true if the value was removed from the set, that is if it was\n   * present.\n   */\n  function remove(UintSet storage set, uint256 value) internal returns (bool) {\n    return _remove(set._inner, bytes32(value));\n  }\n\n  /**\n   * @dev Returns true if the value is in the set. O(1).\n   */\n  function contains(UintSet storage set, uint256 value)\n    internal\n    view\n    returns (bool)\n  {\n    return _contains(set._inner, bytes32(value));\n  }\n\n  /**\n   * @dev Returns the number of values on the set. O(1).\n   */\n  function length(UintSet storage set) internal view returns (uint256) {\n    return _length(set._inner);\n  }\n\n  /**\n   * @dev Returns the value stored at position `index` in the set. O(1).\n   *\n   * Note that there are no guarantees on the ordering of values inside the\n   * array, and it may change when more values are added or removed.\n   *\n   * Requirements:\n   *\n   * - `index` must be strictly less than {length}.\n   */\n  function at(UintSet storage set, uint256 index)\n    internal\n    view\n    returns (uint256)\n  {\n    return uint256(_at(set._inner, index));\n  }\n\n  /**\n   * @dev Return the entire set in an array\n   *\n   * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n   * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n   * this function has an unbounded cost, and using it as part of a state-changing function may render the function\n   * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\n   */\n  function values(UintSet storage set)\n    internal\n    view\n    returns (uint256[] memory)\n  {\n    bytes32[] memory store = _values(set._inner);\n    uint256[] memory result;\n\n    assembly {\n      result := store\n    }\n\n    return result;\n  }\n}\n"},"contracts/external/openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)\n\npragma solidity ^0.8.1;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary AddressUpgradeable {\n  /**\n   * @dev Returns true if `account` is a contract.\n   *\n   * [IMPORTANT]\n   * ====\n   * It is unsafe to assume that an address for which this function returns\n   * false is an externally-owned account (EOA) and not a contract.\n   *\n   * Among others, `isContract` will return false for the following\n   * types of addresses:\n   *\n   *  - an externally-owned account\n   *  - a contract in construction\n   *  - an address where a contract will be created\n   *  - an address where a contract lived, but was destroyed\n   * ====\n   *\n   * [IMPORTANT]\n   * ====\n   * You shouldn't rely on `isContract` to protect against flash loan attacks!\n   *\n   * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\n   * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\n   * constructor.\n   * ====\n   */\n  function isContract(address account) internal view returns (bool) {\n    // This method relies on extcodesize/address.code.length, which returns 0\n    // for contracts in construction, since the code is only stored at the end\n    // of the constructor execution.\n\n    return account.code.length > 0;\n  }\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://diligence.consensys.net/posts/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.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n   */\n  function sendValue(address payable recipient, uint256 amount) internal {\n    require(address(this).balance >= amount, \"Address: insufficient balance\");\n\n    (bool success, ) = recipient.call{value: amount}(\"\");\n    require(\n      success,\n      \"Address: unable to send value, recipient may have reverted\"\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, it is bubbled up by this\n   * function (like regular Solidity function calls).\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   * _Available since v3.1._\n   */\n  function functionCall(address target, bytes memory data)\n    internal\n    returns (bytes memory)\n  {\n    return functionCall(target, data, \"Address: low-level call failed\");\n  }\n\n  /**\n   * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n   * `errorMessage` as a fallback revert reason when `target` reverts.\n   *\n   * _Available since v3.1._\n   */\n  function functionCall(\n    address target,\n    bytes memory data,\n    string memory errorMessage\n  ) internal returns (bytes memory) {\n    return functionCallWithValue(target, data, 0, errorMessage);\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   * _Available since v3.1._\n   */\n  function functionCallWithValue(\n    address target,\n    bytes memory data,\n    uint256 value\n  ) internal returns (bytes memory) {\n    return\n      functionCallWithValue(\n        target,\n        data,\n        value,\n        \"Address: low-level call with value failed\"\n      );\n  }\n\n  /**\n   * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n   * with `errorMessage` as a fallback revert reason when `target` reverts.\n   *\n   * _Available since v3.1._\n   */\n  function functionCallWithValue(\n    address target,\n    bytes memory data,\n    uint256 value,\n    string memory errorMessage\n  ) internal returns (bytes memory) {\n    require(\n      address(this).balance >= value,\n      \"Address: insufficient balance for call\"\n    );\n    require(isContract(target), \"Address: call to non-contract\");\n\n    (bool success, bytes memory returndata) = target.call{value: value}(data);\n    return verifyCallResult(success, returndata, errorMessage);\n  }\n\n  /**\n   * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n   * but performing a static call.\n   *\n   * _Available since v3.3._\n   */\n  function functionStaticCall(address target, bytes memory data)\n    internal\n    view\n    returns (bytes memory)\n  {\n    return\n      functionStaticCall(target, data, \"Address: low-level static call failed\");\n  }\n\n  /**\n   * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n   * but performing a static call.\n   *\n   * _Available since v3.3._\n   */\n  function functionStaticCall(\n    address target,\n    bytes memory data,\n    string memory errorMessage\n  ) internal view returns (bytes memory) {\n    require(isContract(target), \"Address: static call to non-contract\");\n\n    (bool success, bytes memory returndata) = target.staticcall(data);\n    return verifyCallResult(success, returndata, errorMessage);\n  }\n\n  /**\n   * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the\n   * revert reason using the provided one.\n   *\n   * _Available since v4.3._\n   */\n  function verifyCallResult(\n    bool success,\n    bytes memory returndata,\n    string memory errorMessage\n  ) internal pure returns (bytes memory) {\n    if (success) {\n      return returndata;\n    } else {\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        /// @solidity memory-safe-assembly\n        assembly {\n          let returndata_size := mload(returndata)\n          revert(add(32, returndata), returndata_size)\n        }\n      } else {\n        revert(errorMessage);\n      }\n    }\n  }\n}\n"},"contracts/external/openzeppelin/contracts-upgradeable/access/IAccessControlEnumerableUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)\n\npragma solidity ^0.8.0;\n\nimport \"./IAccessControlUpgradeable.sol\";\n\n/**\n * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.\n */\ninterface IAccessControlEnumerableUpgradeable is IAccessControlUpgradeable {\n  /**\n   * @dev Returns one of the accounts that have `role`. `index` must be a\n   * value between 0 and {getRoleMemberCount}, non-inclusive.\n   *\n   * Role bearers are not sorted in any particular way, and their ordering may\n   * change at any point.\n   *\n   * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\n   * you perform all queries on the same block. See the following\n   * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\n   * for more information.\n   */\n  function getRoleMember(bytes32 role, uint256 index)\n    external\n    view\n    returns (address);\n\n  /**\n   * @dev Returns the number of accounts that have `role`. Can be used\n   * together with {getRoleMember} to enumerate all bearers of a role.\n   */\n  function getRoleMemberCount(bytes32 role) external view returns (uint256);\n}\n"},"contracts/external/openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol)\n\npragma solidity ^0.8.0;\n\nimport \"contracts/external/openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable.sol\";\nimport \"contracts/external/openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol\";\nimport \"contracts/external/openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol\";\nimport \"contracts/external/openzeppelin/contracts-upgradeable/utils/ERC165Upgradeable.sol\";\nimport \"contracts/external/openzeppelin/contracts-upgradeable/proxy/Initializable.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 * ```\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 * ```\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.\n */\nabstract contract AccessControlUpgradeable is\n  Initializable,\n  ContextUpgradeable,\n  IAccessControlUpgradeable,\n  ERC165Upgradeable\n{\n  function __AccessControl_init() internal onlyInitializing {}\n\n  function __AccessControl_init_unchained() internal onlyInitializing {}\n\n  struct RoleData {\n    mapping(address => bool) members;\n    bytes32 adminRole;\n  }\n\n  mapping(bytes32 => 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 a standardized message including the required role.\n   *\n   * The format of the revert reason is given by the following regular expression:\n   *\n   *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/\n   *\n   * _Available since v4.1._\n   */\n  modifier onlyRole(bytes32 role) {\n    _checkRole(role);\n    _;\n  }\n\n  /**\n   * @dev See {IERC165-supportsInterface}.\n   */\n  function supportsInterface(bytes4 interfaceId)\n    public\n    view\n    virtual\n    override\n    returns (bool)\n  {\n    return\n      interfaceId == type(IAccessControlUpgradeable).interfaceId ||\n      super.supportsInterface(interfaceId);\n  }\n\n  /**\n   * @dev Returns `true` if `account` has been granted `role`.\n   */\n  function hasRole(bytes32 role, address account)\n    public\n    view\n    virtual\n    override\n    returns (bool)\n  {\n    return _roles[role].members[account];\n  }\n\n  /**\n   * @dev Revert with a standard message if `_msgSender()` is missing `role`.\n   * Overriding this function changes the behavior of the {onlyRole} modifier.\n   *\n   * Format of the revert message is described in {_checkRole}.\n   *\n   * _Available since v4.6._\n   */\n  function _checkRole(bytes32 role) internal view virtual {\n    _checkRole(role, _msgSender());\n  }\n\n  /**\n   * @dev Revert with a standard message if `account` is missing `role`.\n   *\n   * The format of the revert reason is given by the following regular expression:\n   *\n   *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/\n   */\n  function _checkRole(bytes32 role, address account) internal view virtual {\n    if (!hasRole(role, account)) {\n      revert(\n        string(\n          abi.encodePacked(\n            \"AccessControl: account \",\n            StringsUpgradeable.toHexString(uint160(account), 20),\n            \" is missing role \",\n            StringsUpgradeable.toHexString(uint256(role), 32)\n          )\n        )\n      );\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)\n    public\n    view\n    virtual\n    override\n    returns (bytes32)\n  {\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)\n    public\n    virtual\n    override\n    onlyRole(getRoleAdmin(role))\n  {\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)\n    public\n    virtual\n    override\n    onlyRole(getRoleAdmin(role))\n  {\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 `account`.\n   *\n   * May emit a {RoleRevoked} event.\n   */\n  function renounceRole(bytes32 role, address account) public virtual override {\n    require(\n      account == _msgSender(),\n      \"AccessControl: can only renounce roles for self\"\n    );\n\n    _revokeRole(role, account);\n  }\n\n  /**\n   * @dev Grants `role` to `account`.\n   *\n   * If `account` had not been already granted `role`, emits a {RoleGranted}\n   * event. Note that unlike {grantRole}, this function doesn't perform any\n   * checks on the calling account.\n   *\n   * May emit a {RoleGranted} event.\n   *\n   * [WARNING]\n   * ====\n   * This function should only be called from the constructor when setting\n   * up the initial roles for the system.\n   *\n   * Using this function in any other way is effectively circumventing the admin\n   * system imposed by {AccessControl}.\n   * ====\n   *\n   * NOTE: This function is deprecated in favor of {_grantRole}.\n   */\n  function _setupRole(bytes32 role, address account) internal virtual {\n    _grantRole(role, account);\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 Grants `role` to `account`.\n   *\n   * Internal function without access restriction.\n   *\n   * May emit a {RoleGranted} event.\n   */\n  function _grantRole(bytes32 role, address account) internal virtual {\n    if (!hasRole(role, account)) {\n      _roles[role].members[account] = true;\n      emit RoleGranted(role, account, _msgSender());\n    }\n  }\n\n  /**\n   * @dev Revokes `role` from `account`.\n   *\n   * Internal function without access restriction.\n   *\n   * May emit a {RoleRevoked} event.\n   */\n  function _revokeRole(bytes32 role, address account) internal virtual {\n    if (hasRole(role, account)) {\n      _roles[role].members[account] = false;\n      emit RoleRevoked(role, account, _msgSender());\n    }\n  }\n\n  /**\n   * @dev This empty reserved space is put in place to allow future versions to add new\n   * variables without shifting down storage in the inheritance chain.\n   * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\n   */\n  uint256[49] private __gap;\n}\n"},"contracts/external/openzeppelin/contracts-upgradeable/utils/EnumerableSetUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/structs/EnumerableSet.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Library for managing\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n * types.\n *\n * Sets have the following properties:\n *\n * - Elements are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n *     // Add the library methods\n *     using EnumerableSet for EnumerableSet.AddressSet;\n *\n *     // Declare a set state variable\n *     EnumerableSet.AddressSet private mySet;\n * }\n * ```\n *\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n * and `uint256` (`UintSet`) are supported.\n *\n * [WARNING]\n * ====\n *  Trying to delete such a structure from storage will likely result in data corruption, rendering the structure unusable.\n *  See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.\n *\n *  In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an array of EnumerableSet.\n * ====\n */\nlibrary EnumerableSetUpgradeable {\n  // To implement this library for multiple types with as little code\n  // repetition as possible, we write it in terms of a generic Set type with\n  // bytes32 values.\n  // The Set implementation uses private functions, and user-facing\n  // implementations (such as AddressSet) are just wrappers around the\n  // underlying Set.\n  // This means that we can only create new EnumerableSets for types that fit\n  // in bytes32.\n\n  struct Set {\n    // Storage of set values\n    bytes32[] _values;\n    // Position of the value in the `values` array, plus 1 because index 0\n    // means a value is not in the set.\n    mapping(bytes32 => uint256) _indexes;\n  }\n\n  /**\n   * @dev Add a value to a set. O(1).\n   *\n   * Returns true if the value was added to the set, that is if it was not\n   * already present.\n   */\n  function _add(Set storage set, bytes32 value) private returns (bool) {\n    if (!_contains(set, value)) {\n      set._values.push(value);\n      // The value is stored at length-1, but we add 1 to all indexes\n      // and use 0 as a sentinel value\n      set._indexes[value] = set._values.length;\n      return true;\n    } else {\n      return false;\n    }\n  }\n\n  /**\n   * @dev Removes a value from a set. O(1).\n   *\n   * Returns true if the value was removed from the set, that is if it was\n   * present.\n   */\n  function _remove(Set storage set, bytes32 value) private returns (bool) {\n    // We read and store the value's index to prevent multiple reads from the same storage slot\n    uint256 valueIndex = set._indexes[value];\n\n    if (valueIndex != 0) {\n      // Equivalent to contains(set, value)\n      // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\n      // the array, and then remove the last element (sometimes called as 'swap and pop').\n      // This modifies the order of the array, as noted in {at}.\n\n      uint256 toDeleteIndex = valueIndex - 1;\n      uint256 lastIndex = set._values.length - 1;\n\n      if (lastIndex != toDeleteIndex) {\n        bytes32 lastValue = set._values[lastIndex];\n\n        // Move the last value to the index where the value to delete is\n        set._values[toDeleteIndex] = lastValue;\n        // Update the index for the moved value\n        set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex\n      }\n\n      // Delete the slot where the moved value was stored\n      set._values.pop();\n\n      // Delete the index for the deleted slot\n      delete set._indexes[value];\n\n      return true;\n    } else {\n      return false;\n    }\n  }\n\n  /**\n   * @dev Returns true if the value is in the set. O(1).\n   */\n  function _contains(Set storage set, bytes32 value)\n    private\n    view\n    returns (bool)\n  {\n    return set._indexes[value] != 0;\n  }\n\n  /**\n   * @dev Returns the number of values on the set. O(1).\n   */\n  function _length(Set storage set) private view returns (uint256) {\n    return set._values.length;\n  }\n\n  /**\n   * @dev Returns the value stored at position `index` in the set. O(1).\n   *\n   * Note that there are no guarantees on the ordering of values inside the\n   * array, and it may change when more values are added or removed.\n   *\n   * Requirements:\n   *\n   * - `index` must be strictly less than {length}.\n   */\n  function _at(Set storage set, uint256 index) private view returns (bytes32) {\n    return set._values[index];\n  }\n\n  /**\n   * @dev Return the entire set in an array\n   *\n   * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n   * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n   * this function has an unbounded cost, and using it as part of a state-changing function may render the function\n   * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\n   */\n  function _values(Set storage set) private view returns (bytes32[] memory) {\n    return set._values;\n  }\n\n  // Bytes32Set\n\n  struct Bytes32Set {\n    Set _inner;\n  }\n\n  /**\n   * @dev Add a value to a set. O(1).\n   *\n   * Returns true if the value was added to the set, that is if it was not\n   * already present.\n   */\n  function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n    return _add(set._inner, value);\n  }\n\n  /**\n   * @dev Removes a value from a set. O(1).\n   *\n   * Returns true if the value was removed from the set, that is if it was\n   * present.\n   */\n  function remove(Bytes32Set storage set, bytes32 value)\n    internal\n    returns (bool)\n  {\n    return _remove(set._inner, value);\n  }\n\n  /**\n   * @dev Returns true if the value is in the set. O(1).\n   */\n  function contains(Bytes32Set storage set, bytes32 value)\n    internal\n    view\n    returns (bool)\n  {\n    return _contains(set._inner, value);\n  }\n\n  /**\n   * @dev Returns the number of values in the set. O(1).\n   */\n  function length(Bytes32Set storage set) internal view returns (uint256) {\n    return _length(set._inner);\n  }\n\n  /**\n   * @dev Returns the value stored at position `index` in the set. O(1).\n   *\n   * Note that there are no guarantees on the ordering of values inside the\n   * array, and it may change when more values are added or removed.\n   *\n   * Requirements:\n   *\n   * - `index` must be strictly less than {length}.\n   */\n  function at(Bytes32Set storage set, uint256 index)\n    internal\n    view\n    returns (bytes32)\n  {\n    return _at(set._inner, index);\n  }\n\n  /**\n   * @dev Return the entire set in an array\n   *\n   * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n   * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n   * this function has an unbounded cost, and using it as part of a state-changing function may render the function\n   * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\n   */\n  function values(Bytes32Set storage set)\n    internal\n    view\n    returns (bytes32[] memory)\n  {\n    return _values(set._inner);\n  }\n\n  // AddressSet\n\n  struct AddressSet {\n    Set _inner;\n  }\n\n  /**\n   * @dev Add a value to a set. O(1).\n   *\n   * Returns true if the value was added to the set, that is if it was not\n   * already present.\n   */\n  function add(AddressSet storage set, address value) internal returns (bool) {\n    return _add(set._inner, bytes32(uint256(uint160(value))));\n  }\n\n  /**\n   * @dev Removes a value from a set. O(1).\n   *\n   * Returns true if the value was removed from the set, that is if it was\n   * present.\n   */\n  function remove(AddressSet storage set, address value)\n    internal\n    returns (bool)\n  {\n    return _remove(set._inner, bytes32(uint256(uint160(value))));\n  }\n\n  /**\n   * @dev Returns true if the value is in the set. O(1).\n   */\n  function contains(AddressSet storage set, address value)\n    internal\n    view\n    returns (bool)\n  {\n    return _contains(set._inner, bytes32(uint256(uint160(value))));\n  }\n\n  /**\n   * @dev Returns the number of values in the set. O(1).\n   */\n  function length(AddressSet storage set) internal view returns (uint256) {\n    return _length(set._inner);\n  }\n\n  /**\n   * @dev Returns the value stored at position `index` in the set. O(1).\n   *\n   * Note that there are no guarantees on the ordering of values inside the\n   * array, and it may change when more values are added or removed.\n   *\n   * Requirements:\n   *\n   * - `index` must be strictly less than {length}.\n   */\n  function at(AddressSet storage set, uint256 index)\n    internal\n    view\n    returns (address)\n  {\n    return address(uint160(uint256(_at(set._inner, index))));\n  }\n\n  /**\n   * @dev Return the entire set in an array\n   *\n   * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n   * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n   * this function has an unbounded cost, and using it as part of a state-changing function may render the function\n   * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\n   */\n  function values(AddressSet storage set)\n    internal\n    view\n    returns (address[] memory)\n  {\n    bytes32[] memory store = _values(set._inner);\n    address[] memory result;\n\n    /// @solidity memory-safe-assembly\n    assembly {\n      result := store\n    }\n\n    return result;\n  }\n\n  // UintSet\n\n  struct UintSet {\n    Set _inner;\n  }\n\n  /**\n   * @dev Add a value to a set. O(1).\n   *\n   * Returns true if the value was added to the set, that is if it was not\n   * already present.\n   */\n  function add(UintSet storage set, uint256 value) internal returns (bool) {\n    return _add(set._inner, bytes32(value));\n  }\n\n  /**\n   * @dev Removes a value from a set. O(1).\n   *\n   * Returns true if the value was removed from the set, that is if it was\n   * present.\n   */\n  function remove(UintSet storage set, uint256 value) internal returns (bool) {\n    return _remove(set._inner, bytes32(value));\n  }\n\n  /**\n   * @dev Returns true if the value is in the set. O(1).\n   */\n  function contains(UintSet storage set, uint256 value)\n    internal\n    view\n    returns (bool)\n  {\n    return _contains(set._inner, bytes32(value));\n  }\n\n  /**\n   * @dev Returns the number of values on the set. O(1).\n   */\n  function length(UintSet storage set) internal view returns (uint256) {\n    return _length(set._inner);\n  }\n\n  /**\n   * @dev Returns the value stored at position `index` in the set. O(1).\n   *\n   * Note that there are no guarantees on the ordering of values inside the\n   * array, and it may change when more values are added or removed.\n   *\n   * Requirements:\n   *\n   * - `index` must be strictly less than {length}.\n   */\n  function at(UintSet storage set, uint256 index)\n    internal\n    view\n    returns (uint256)\n  {\n    return uint256(_at(set._inner, index));\n  }\n\n  /**\n   * @dev Return the entire set in an array\n   *\n   * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n   * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n   * this function has an unbounded cost, and using it as part of a state-changing function may render the function\n   * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\n   */\n  function values(UintSet storage set)\n    internal\n    view\n    returns (uint256[] memory)\n  {\n    bytes32[] memory store = _values(set._inner);\n    uint256[] memory result;\n\n    /// @solidity memory-safe-assembly\n    assembly {\n      result := store\n    }\n\n    return result;\n  }\n}\n"},"contracts/interfaces/IBlocklist.sol":{"content":"/**SPDX-License-Identifier: BUSL-1.1\n\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n\n */\npragma solidity 0.8.16;\n\ninterface IBlocklist {\n  function addToBlocklist(address[] calldata accounts) external;\n\n  function removeFromBlocklist(address[] calldata accounts) external;\n\n  function isBlocked(address account) external view returns (bool);\n\n  /**\n   * @notice Event emitted when addresses are added to the blocklist\n   *\n   * @param accounts The addresses that were added to the blocklist\n   */\n  event BlockedAddressesAdded(address[] accounts);\n\n  /**\n   * @notice Event emitted when addresses are removed from the blocklist\n   *\n   * @param accounts The addresses that were removed from the blocklist\n   */\n  event BlockedAddressesRemoved(address[] accounts);\n}\n"},"contracts/interfaces/IBlocklistClient.sol":{"content":"/**SPDX-License-Identifier: BUSL-1.1\n\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n\n */\npragma solidity 0.8.16;\n\nimport \"contracts/interfaces/IBlocklist.sol\";\n\n/**\n * @title IBlocklistClient\n * @author Ondo Finance\n * @notice The client interface for the Blocklist contract.\n */\ninterface IBlocklistClient {\n  /// @notice Returns reference to the blocklist that this client queries\n  function blocklist() external view returns (IBlocklist);\n\n  /// @notice Sets the blocklist reference\n  function setBlocklist(address registry) external;\n\n  /// @notice Error for when caller attempts to set the blocklist reference\n  ///         to the zero address\n  error BlocklistZeroAddress();\n\n  /// @notice Error for when caller attempts to perform action on a blocked\n  ///         account\n  error BlockedAccount();\n\n  /**\n   * @dev Event for when the blocklist reference is set\n   *\n   * @param oldBlocklist The old blocklist\n   * @param newBlocklist The new blocklist\n   */\n  event BlocklistSet(address oldBlocklist, address newBlocklist);\n}\n"},"contracts/external/chainalysis/ISanctionsList.sol":{"content":"/// SPDX-License-Identifier: UNLICENSED\npragma solidity 0.8.16;\n\ninterface ISanctionsList {\n  function isSanctioned(address addr) external view returns (bool);\n}\n"},"contracts/sanctions/ISanctionsListClient.sol":{"content":"/**SPDX-License-Identifier: BUSL-1.1\n\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n\n */\npragma solidity 0.8.16;\n\nimport \"contracts/external/chainalysis/ISanctionsList.sol\";\n\n/**\n * @title ISanctionsListClient\n * @author Ondo Finance\n * @notice The client interface for sanctions contract.\n */\ninterface ISanctionsListClient {\n  /// @notice Returns reference to the sanctions list that this client queries\n  function sanctionsList() external view returns (ISanctionsList);\n\n  /// @notice Sets the sanctions list reference\n  function setSanctionsList(address sanctionsList) external;\n\n  /// @notice Error for when caller attempts to set the `sanctionsList`\n  ///         reference to the zero address\n  error SanctionsListZeroAddress();\n\n  /// @notice Error for when caller attempts to perform an action on a\n  ///         sanctioned account\n  error SanctionedAccount();\n\n  /**\n   * @dev Event for when the sanctions list reference is set\n   *\n   * @param oldSanctionsList The old list\n   * @param newSanctionsList The new list\n   */\n  event SanctionsListSet(address oldSanctionsList, address newSanctionsList);\n}\n"},"contracts/external/openzeppelin/contracts/access/IAccessControl.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev External interface of AccessControl declared to support ERC165 detection.\n */\ninterface IAccessControl {\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   * _Available since v3.1._\n   */\n  event RoleAdminChanged(\n    bytes32 indexed role,\n    bytes32 indexed previousAdminRole,\n    bytes32 indexed newAdminRole\n  );\n\n  /**\n   * @dev Emitted when `account` is granted `role`.\n   *\n   * `sender` is the account that originated the contract call, an admin role\n   * bearer except when using {AccessControl-_setupRole}.\n   */\n  event RoleGranted(\n    bytes32 indexed role,\n    address indexed account,\n    address indexed sender\n  );\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(\n    bytes32 indexed role,\n    address indexed account,\n    address indexed sender\n  );\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 `account`.\n   */\n  function renounceRole(bytes32 role, address account) external;\n}\n"},"contracts/external/openzeppelin/contracts/utils/Context.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\n\npragma solidity ^0.8.0;\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"},"contracts/external/openzeppelin/contracts/utils/Strings.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev String operations.\n */\nlibrary Strings {\n  bytes16 private constant _HEX_SYMBOLS = \"0123456789abcdef\";\n\n  /**\n   * @dev Converts a `uint256` to its ASCII `string` decimal representation.\n   */\n  function toString(uint256 value) internal pure returns (string memory) {\n    // Inspired by OraclizeAPI's implementation - MIT licence\n    // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\n\n    if (value == 0) {\n      return \"0\";\n    }\n    uint256 temp = value;\n    uint256 digits;\n    while (temp != 0) {\n      digits++;\n      temp /= 10;\n    }\n    bytes memory buffer = new bytes(digits);\n    while (value != 0) {\n      digits -= 1;\n      buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));\n      value /= 10;\n    }\n    return string(buffer);\n  }\n\n  /**\n   * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.\n   */\n  function toHexString(uint256 value) internal pure returns (string memory) {\n    if (value == 0) {\n      return \"0x00\";\n    }\n    uint256 temp = value;\n    uint256 length = 0;\n    while (temp != 0) {\n      length++;\n      temp >>= 8;\n    }\n    return toHexString(value, length);\n  }\n\n  /**\n   * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.\n   */\n  function toHexString(uint256 value, uint256 length)\n    internal\n    pure\n    returns (string memory)\n  {\n    bytes memory buffer = new bytes(2 * length + 2);\n    buffer[0] = \"0\";\n    buffer[1] = \"x\";\n    for (uint256 i = 2 * length + 1; i > 1; --i) {\n      buffer[i] = _HEX_SYMBOLS[value & 0xf];\n      value >>= 4;\n    }\n    require(value == 0, \"Strings: hex length insufficient\");\n    return string(buffer);\n  }\n}\n"},"contracts/external/openzeppelin/contracts/utils/ERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)\n\npragma solidity ^0.8.0;\n\nimport \"contracts/external/openzeppelin/contracts/utils/IERC165.sol\";\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts that want to implement ERC165 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 *\n * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.\n */\nabstract contract ERC165 is IERC165 {\n  /**\n   * @dev See {IERC165-supportsInterface}.\n   */\n  function supportsInterface(bytes4 interfaceId)\n    public\n    view\n    virtual\n    override\n    returns (bool)\n  {\n    return interfaceId == type(IERC165).interfaceId;\n  }\n}\n"},"contracts/external/openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev External interface of AccessControl declared to support ERC165 detection.\n */\ninterface IAccessControlUpgradeable {\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   * _Available since v3.1._\n   */\n  event RoleAdminChanged(\n    bytes32 indexed role,\n    bytes32 indexed previousAdminRole,\n    bytes32 indexed newAdminRole\n  );\n\n  /**\n   * @dev Emitted when `account` is granted `role`.\n   *\n   * `sender` is the account that originated the contract call, an admin role\n   * bearer except when using {AccessControl-_setupRole}.\n   */\n  event RoleGranted(\n    bytes32 indexed role,\n    address indexed account,\n    address indexed sender\n  );\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(\n    bytes32 indexed role,\n    address indexed account,\n    address indexed sender\n  );\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 `account`.\n   */\n  function renounceRole(bytes32 role, address account) external;\n}\n"},"contracts/external/openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev String operations.\n */\nlibrary StringsUpgradeable {\n  bytes16 private constant _HEX_SYMBOLS = \"0123456789abcdef\";\n  uint8 private constant _ADDRESS_LENGTH = 20;\n\n  /**\n   * @dev Converts a `uint256` to its ASCII `string` decimal representation.\n   */\n  function toString(uint256 value) internal pure returns (string memory) {\n    // Inspired by OraclizeAPI's implementation - MIT licence\n    // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\n\n    if (value == 0) {\n      return \"0\";\n    }\n    uint256 temp = value;\n    uint256 digits;\n    while (temp != 0) {\n      digits++;\n      temp /= 10;\n    }\n    bytes memory buffer = new bytes(digits);\n    while (value != 0) {\n      digits -= 1;\n      buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));\n      value /= 10;\n    }\n    return string(buffer);\n  }\n\n  /**\n   * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.\n   */\n  function toHexString(uint256 value) internal pure returns (string memory) {\n    if (value == 0) {\n      return \"0x00\";\n    }\n    uint256 temp = value;\n    uint256 length = 0;\n    while (temp != 0) {\n      length++;\n      temp >>= 8;\n    }\n    return toHexString(value, length);\n  }\n\n  /**\n   * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.\n   */\n  function toHexString(uint256 value, uint256 length)\n    internal\n    pure\n    returns (string memory)\n  {\n    bytes memory buffer = new bytes(2 * length + 2);\n    buffer[0] = \"0\";\n    buffer[1] = \"x\";\n    for (uint256 i = 2 * length + 1; i > 1; --i) {\n      buffer[i] = _HEX_SYMBOLS[value & 0xf];\n      value >>= 4;\n    }\n    require(value == 0, \"Strings: hex length insufficient\");\n    return string(buffer);\n  }\n\n  /**\n   * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.\n   */\n  function toHexString(address addr) internal pure returns (string memory) {\n    return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);\n  }\n}\n"},"contracts/external/openzeppelin/contracts-upgradeable/utils/ERC165Upgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)\n\npragma solidity ^0.8.0;\n\nimport \"contracts/external/openzeppelin/contracts-upgradeable/utils/IERC165Upgradeable.sol\";\nimport \"contracts/external/openzeppelin/contracts-upgradeable/proxy/Initializable.sol\";\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts that want to implement ERC165 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 *\n * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.\n */\nabstract contract ERC165Upgradeable is Initializable, IERC165Upgradeable {\n  function __ERC165_init() internal onlyInitializing {}\n\n  function __ERC165_init_unchained() internal onlyInitializing {}\n\n  /**\n   * @dev See {IERC165-supportsInterface}.\n   */\n  function supportsInterface(bytes4 interfaceId)\n    public\n    view\n    virtual\n    override\n    returns (bool)\n  {\n    return interfaceId == type(IERC165Upgradeable).interfaceId;\n  }\n\n  /**\n   * @dev This empty reserved space is put in place to allow future versions to add new\n   * variables without shifting down storage in the inheritance chain.\n   * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\n   */\n  uint256[50] private __gap;\n}\n"},"contracts/external/openzeppelin/contracts/utils/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\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[EIP 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"},"contracts/external/openzeppelin/contracts-upgradeable/utils/IERC165Upgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\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 IERC165Upgradeable {\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[EIP 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"}},"compilation":{"language":"Solidity","compiler":"solc","compilerVersion":"0.8.16+commit.07a7930e","compilerSettings":{"viaIR":false,"metadata":{"bytecodeHash":"ipfs","useLiteralContent":false},"optimizer":{"runs":200,"enabled":true},"evmVersion":"london","remappings":["eth-gas-reporter/=node_modules/eth-gas-reporter/","forge-tests/=forge-tests/","lib/=lib/","@aragon/=node_modules/@aragon/","@ensdomains/=node_modules/@ensdomains/","@openzeppelin/=node_modules/@openzeppelin/","@uniswap/=node_modules/@uniswap/","forge-std/=lib/forge-std/src/","hardhat-deploy/=node_modules/hardhat-deploy/","hardhat/=node_modules/hardhat/","math/=node_modules/@aragon/os/contracts/lib/math/","misc/=node_modules/@aragon/os/contracts/lib/misc/","solidity-bytes-utils/=node_modules/solidity-bytes-utils/","standards/=node_modules/@aragon/os/contracts/lib/standards/","token/=node_modules/@aragon/os/contracts/lib/token/","truffle/=node_modules/truffle/"]},"name":"USDY_InstantManager","fullyQualifiedName":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},"abi":[{"type":"constructor","inputs":[{"name":"_defaultAdmin","type":"address","internalType":"address"},{"name":"_rwaToken","type":"address","internalType":"address"},{"name":"_rusdy","type":"address","internalType":"address"},{"name":"_minimumDepositAmount","type":"uint256","internalType":"uint256"},{"name":"_minimumRedemptionAmount","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"AdminSubscriptionCheckerAddressCantBeZero","type":"error","inputs":[]},{"name":"ComplianceAddressCantBeZero","type":"error","inputs":[]},{"name":"DepositAmountTooSmall","type":"error","inputs":[]},{"name":"FeeGreaterThanRedemption","type":"error","inputs":[]},{"name":"FeeGreaterThanSubscription","type":"error","inputs":[]},{"name":"FeesAddressCantBeZero","type":"error","inputs":[]},{"name":"IDRegistryAddressCantBeZero","type":"error","inputs":[]},{"name":"OracleAddressCantBeZero","type":"error","inputs":[]},{"name":"RWAPriceTooLow","type":"error","inputs":[]},{"name":"RateLimiterAddressCantBeZero","type":"error","inputs":[]},{"name":"RebasingUSDYCantBeZeroAddress","type":"error","inputs":[]},{"name":"ReceiveAmountTooSmall","type":"error","inputs":[]},{"name":"RedemptionAmountTooSmall","type":"error","inputs":[]},{"name":"RedemptionsPaused","type":"error","inputs":[]},{"name":"RouterAddressCantBeZero","type":"error","inputs":[]},{"name":"RwaReceiveAmountTooSmall","type":"error","inputs":[]},{"name":"SafeERC20FailedOperation","type":"error","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"name":"SubscriptionsPaused","type":"error","inputs":[]},{"name":"TokenAddressCantBeZero","type":"error","inputs":[]},{"name":"TokenNotAccepted","type":"error","inputs":[]},{"name":"UserNotRegistered","type":"error","inputs":[]},{"name":"AcceptedRedemptionTokenSet","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"accepted","type":"bool","indexed":true,"internalType":"bool"}],"anonymous":false},{"name":"AcceptedSubscriptionTokenSet","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"accepted","type":"bool","indexed":true,"internalType":"bool"}],"anonymous":false},{"name":"AdminSubscription","type":"event","inputs":[{"name":"adminCaller","type":"address","indexed":true,"internalType":"address"},{"name":"recipient","type":"address","indexed":true,"internalType":"address"},{"name":"recipientId","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"rwaAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"usdAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"metadata","type":"bytes32","indexed":false,"internalType":"bytes32"}],"anonymous":false},{"name":"AdminSubscriptionCheckerSet","type":"event","inputs":[{"name":"oldAdminSubscriptionChecker","type":"address","indexed":true,"internalType":"address"},{"name":"newAdminSubscriptionChecker","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"AdminSubscriptionRebasingUSDY","type":"event","inputs":[{"name":"recipient","type":"address","indexed":true,"internalType":"address"},{"name":"usdyAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"rusdyAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"metadata","type":"bytes32","indexed":false,"internalType":"bytes32"}],"anonymous":false},{"name":"InstantRedemptionRebasingUSDY","type":"event","inputs":[{"name":"redeemer","type":"address","indexed":true,"internalType":"address"},{"name":"usdyAmountIn","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"rusdyAmountIn","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"receivingToken","type":"address","indexed":false,"internalType":"address"},{"name":"receiveTokenAmount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"InstantSubscriptionRebasingUSDY","type":"event","inputs":[{"name":"recipient","type":"address","indexed":true,"internalType":"address"},{"name":"usdyAmountOut","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"rusdyAmountOut","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"depositToken","type":"address","indexed":false,"internalType":"address"},{"name":"depositAmount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"MinimumDepositAmountSet","type":"event","inputs":[{"name":"oldMinDepositAmount","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newMinDepositAmount","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"MinimumRedemptionAmountSet","type":"event","inputs":[{"name":"oldMinRedemptionAmount","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newMinRedemptionAmount","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"MinimumRwaPriceSet","type":"event","inputs":[{"name":"oldMinimumRwaPrice","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newMinimumRwaPrice","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"OndoComplianceSet","type":"event","inputs":[{"name":"oldOndoCompliance","type":"address","indexed":true,"internalType":"address"},{"name":"newOndoCompliance","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"OndoIDRegistrySet","type":"event","inputs":[{"name":"oldOndoIDRegistry","type":"address","indexed":true,"internalType":"address"},{"name":"newOndoIDRegistry","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"OndoOracleSet","type":"event","inputs":[{"name":"oldOndoOracle","type":"address","indexed":true,"internalType":"address"},{"name":"newOndoOracle","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"OndoRateLimiterSet","type":"event","inputs":[{"name":"oldOndoRateLimiter","type":"address","indexed":true,"internalType":"address"},{"name":"newOndoRateLimiter","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"OndoRedemptionFeesSet","type":"event","inputs":[{"name":"oldOndoRedemptionFees","type":"address","indexed":true,"internalType":"address"},{"name":"newOndoRedemptionFees","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"OndoSubscriptionFeesSet","type":"event","inputs":[{"name":"oldOndoSubscriptionFees","type":"address","indexed":true,"internalType":"address"},{"name":"newOndoSubscriptionFees","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"OndoTokenRouterSet","type":"event","inputs":[{"name":"oldOndoTokenRouter","type":"address","indexed":true,"internalType":"address"},{"name":"newOndoTokenRouter","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"RedeemPaused","type":"event","inputs":[],"anonymous":false},{"name":"RedeemUnpaused","type":"event","inputs":[],"anonymous":false},{"name":"Redemption","type":"event","inputs":[{"name":"redeemer","type":"address","indexed":true,"internalType":"address"},{"name":"redeemerId","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"rwaAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"receivingToken","type":"address","indexed":false,"internalType":"address"},{"name":"receiveTokenAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"redemptionUSDValue","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"fee","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"RoleAdminChanged","type":"event","inputs":[{"name":"role","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"previousAdminRole","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"newAdminRole","type":"bytes32","indexed":true,"internalType":"bytes32"}],"anonymous":false},{"name":"RoleGranted","type":"event","inputs":[{"name":"role","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"account","type":"address","indexed":true,"internalType":"address"},{"name":"sender","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"RoleRevoked","type":"event","inputs":[{"name":"role","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"account","type":"address","indexed":true,"internalType":"address"},{"name":"sender","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"SubscribePaused","type":"event","inputs":[],"anonymous":false},{"name":"SubscribeUnpaused","type":"event","inputs":[],"anonymous":false},{"name":"Subscription","type":"event","inputs":[{"name":"subscriber","type":"address","indexed":true,"internalType":"address"},{"name":"subscriberId","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"rwaAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"depositToken","type":"address","indexed":false,"internalType":"address"},{"name":"depositAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"depositUSDValue","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"fee","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"ADMIN_SUBSCRIPTION_ROLE","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"CONFIGURER_ROLE","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"DEFAULT_ADMIN_ROLE","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"PAUSER_ROLE","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"RWA_NORMALIZER","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"USDY_TO_RUSDY_SHARES_MULTIPLIER","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"USD_NORMALIZER","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"acceptedRedemptionTokens","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"acceptedSubscriptionTokens","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"adminSubscribe","type":"function","inputs":[{"name":"recipient","type":"address","internalType":"address"},{"name":"rwaAmount","type":"uint256","internalType":"uint256"},{"name":"metadata","type":"bytes32","internalType":"bytes32"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"adminSubscribeRebasingUSDY","type":"function","inputs":[{"name":"recipient","type":"address","internalType":"address"},{"name":"rusdyAmount","type":"uint256","internalType":"uint256"},{"name":"metadata","type":"bytes32","internalType":"bytes32"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"adminSubscriptionChecker","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IAdminSubscriptionChecker"}],"stateMutability":"view"},{"name":"getRoleAdmin","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"getRoleMember","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"},{"name":"index","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"getRoleMemberCount","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"grantRole","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"},{"name":"account","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"hasRole","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"},{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"minimumDepositUSD","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"minimumRedemptionUSD","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"minimumRwaPrice","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"ondoCompliance","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IOndoCompliance"}],"stateMutability":"view"},{"name":"ondoIDRegistry","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IOndoIDRegistry"}],"stateMutability":"view"},{"name":"ondoOracle","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IOndoOracle"}],"stateMutability":"view"},{"name":"ondoRateLimiter","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IOndoRateLimiter"}],"stateMutability":"view"},{"name":"ondoRedemptionFees","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IOndoFees"}],"stateMutability":"view"},{"name":"ondoSubscriptionFees","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IOndoFees"}],"stateMutability":"view"},{"name":"ondoTokenRouter","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IOndoTokenRouter"}],"stateMutability":"view"},{"name":"pauseRedeem","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"pauseSubscribe","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"redeem","type":"function","inputs":[{"name":"rwaAmount","type":"uint256","internalType":"uint256"},{"name":"receivingToken","type":"address","internalType":"address"},{"name":"minimumTokenReceived","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"receiveTokenAmount","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"redeemPaused","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"redeemRebasingUSDY","type":"function","inputs":[{"name":"rusdyAmount","type":"uint256","internalType":"uint256"},{"name":"receivingToken","type":"address","internalType":"address"},{"name":"minimumTokenReceived","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"receiveTokenAmount","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"renounceRole","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"},{"name":"account","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"retrieveTokens","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"revokeRole","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"},{"name":"account","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"rusdy","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract rUSDY"}],"stateMutability":"view"},{"name":"rwaToken","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"setAcceptedRedemptionToken","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"accepted","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setAcceptedSubscriptionToken","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"accepted","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setAdminSubscriptionChecker","type":"function","inputs":[{"name":"_adminSubscriptionChecker","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setMinimumDepositAmount","type":"function","inputs":[{"name":"_minimumDepositUSD","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setMinimumRedemptionAmount","type":"function","inputs":[{"name":"_minimumRedemptionUSD","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setMinimumRwaPrice","type":"function","inputs":[{"name":"_minimumRwaPrice","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setOndoCompliance","type":"function","inputs":[{"name":"_ondoCompliance","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setOndoIDRegistry","type":"function","inputs":[{"name":"_ondoIDRegistry","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setOndoOracle","type":"function","inputs":[{"name":"_ondoOracle","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setOndoRateLimiter","type":"function","inputs":[{"name":"_ondoRateLimiter","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setOndoRedemptionFees","type":"function","inputs":[{"name":"_ondoRedemptionFees","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setOndoSubscriptionFees","type":"function","inputs":[{"name":"_ondoSubscriptionFees","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setOndoTokenRouter","type":"function","inputs":[{"name":"_ondoTokenRouter","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"subscribe","type":"function","inputs":[{"name":"depositToken","type":"address","internalType":"address"},{"name":"depositAmount","type":"uint256","internalType":"uint256"},{"name":"minimumRwaReceived","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"rwaAmountOut","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"subscribePaused","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"subscribeRebasingUSDY","type":"function","inputs":[{"name":"depositToken","type":"address","internalType":"address"},{"name":"depositAmount","type":"uint256","internalType":"uint256"},{"name":"minimumRusdyReceived","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"rusdyAmountOut","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"supportsInterface","type":"function","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"unpauseRedeem","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"unpauseSubscribe","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"}],"metadata":{"compiler":{"version":"0.8.16+commit.07a7930e"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"_defaultAdmin","type":"address"},{"internalType":"address","name":"_rwaToken","type":"address"},{"internalType":"address","name":"_rusdy","type":"address"},{"internalType":"uint256","name":"_minimumDepositAmount","type":"uint256"},{"internalType":"uint256","name":"_minimumRedemptionAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AdminSubscriptionCheckerAddressCantBeZero","type":"error"},{"inputs":[],"name":"ComplianceAddressCantBeZero","type":"error"},{"inputs":[],"name":"DepositAmountTooSmall","type":"error"},{"inputs":[],"name":"FeeGreaterThanRedemption","type":"error"},{"inputs":[],"name":"FeeGreaterThanSubscription","type":"error"},{"inputs":[],"name":"FeesAddressCantBeZero","type":"error"},{"inputs":[],"name":"IDRegistryAddressCantBeZero","type":"error"},{"inputs":[],"name":"OracleAddressCantBeZero","type":"error"},{"inputs":[],"name":"RWAPriceTooLow","type":"error"},{"inputs":[],"name":"RateLimiterAddressCantBeZero","type":"error"},{"inputs":[],"name":"RebasingUSDYCantBeZeroAddress","type":"error"},{"inputs":[],"name":"ReceiveAmountTooSmall","type":"error"},{"inputs":[],"name":"RedemptionAmountTooSmall","type":"error"},{"inputs":[],"name":"RedemptionsPaused","type":"error"},{"inputs":[],"name":"RouterAddressCantBeZero","type":"error"},{"inputs":[],"name":"RwaReceiveAmountTooSmall","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"inputs":[],"name":"SubscriptionsPaused","type":"error"},{"inputs":[],"name":"TokenAddressCantBeZero","type":"error"},{"inputs":[],"name":"TokenNotAccepted","type":"error"},{"inputs":[],"name":"UserNotRegistered","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"bool","name":"accepted","type":"bool"}],"name":"AcceptedRedemptionTokenSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"bool","name":"accepted","type":"bool"}],"name":"AcceptedSubscriptionTokenSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"adminCaller","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":true,"internalType":"bytes32","name":"recipientId","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"rwaAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"usdAmount","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"metadata","type":"bytes32"}],"name":"AdminSubscription","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldAdminSubscriptionChecker","type":"address"},{"indexed":true,"internalType":"address","name":"newAdminSubscriptionChecker","type":"address"}],"name":"AdminSubscriptionCheckerSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"usdyAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rusdyAmount","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"metadata","type":"bytes32"}],"name":"AdminSubscriptionRebasingUSDY","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"redeemer","type":"address"},{"indexed":false,"internalType":"uint256","name":"usdyAmountIn","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rusdyAmountIn","type":"uint256"},{"indexed":false,"internalType":"address","name":"receivingToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"receiveTokenAmount","type":"uint256"}],"name":"InstantRedemptionRebasingUSDY","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"usdyAmountOut","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rusdyAmountOut","type":"uint256"},{"indexed":false,"internalType":"address","name":"depositToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"depositAmount","type":"uint256"}],"name":"InstantSubscriptionRebasingUSDY","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"oldMinDepositAmount","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"newMinDepositAmount","type":"uint256"}],"name":"MinimumDepositAmountSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"oldMinRedemptionAmount","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"newMinRedemptionAmount","type":"uint256"}],"name":"MinimumRedemptionAmountSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"oldMinimumRwaPrice","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"newMinimumRwaPrice","type":"uint256"}],"name":"MinimumRwaPriceSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldOndoCompliance","type":"address"},{"indexed":true,"internalType":"address","name":"newOndoCompliance","type":"address"}],"name":"OndoComplianceSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldOndoIDRegistry","type":"address"},{"indexed":true,"internalType":"address","name":"newOndoIDRegistry","type":"address"}],"name":"OndoIDRegistrySet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldOndoOracle","type":"address"},{"indexed":true,"internalType":"address","name":"newOndoOracle","type":"address"}],"name":"OndoOracleSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldOndoRateLimiter","type":"address"},{"indexed":true,"internalType":"address","name":"newOndoRateLimiter","type":"address"}],"name":"OndoRateLimiterSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldOndoRedemptionFees","type":"address"},{"indexed":true,"internalType":"address","name":"newOndoRedemptionFees","type":"address"}],"name":"OndoRedemptionFeesSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldOndoSubscriptionFees","type":"address"},{"indexed":true,"internalType":"address","name":"newOndoSubscriptionFees","type":"address"}],"name":"OndoSubscriptionFeesSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldOndoTokenRouter","type":"address"},{"indexed":true,"internalType":"address","name":"newOndoTokenRouter","type":"address"}],"name":"OndoTokenRouterSet","type":"event"},{"anonymous":false,"inputs":[],"name":"RedeemPaused","type":"event"},{"anonymous":false,"inputs":[],"name":"RedeemUnpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"redeemer","type":"address"},{"indexed":true,"internalType":"bytes32","name":"redeemerId","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"rwaAmount","type":"uint256"},{"indexed":false,"internalType":"address","name":"receivingToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"receiveTokenAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"redemptionUSDValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"Redemption","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[],"name":"SubscribePaused","type":"event"},{"anonymous":false,"inputs":[],"name":"SubscribeUnpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"subscriber","type":"address"},{"indexed":true,"internalType":"bytes32","name":"subscriberId","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"rwaAmount","type":"uint256"},{"indexed":false,"internalType":"address","name":"depositToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"depositAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"depositUSDValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"Subscription","type":"event"},{"inputs":[],"name":"ADMIN_SUBSCRIPTION_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CONFIGURER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RWA_NORMALIZER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"USDY_TO_RUSDY_SHARES_MULTIPLIER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"USD_NORMALIZER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"acceptedRedemptionTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"acceptedSubscriptionTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"rwaAmount","type":"uint256"},{"internalType":"bytes32","name":"metadata","type":"bytes32"}],"name":"adminSubscribe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"rusdyAmount","type":"uint256"},{"internalType":"bytes32","name":"metadata","type":"bytes32"}],"name":"adminSubscribeRebasingUSDY","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"adminSubscriptionChecker","outputs":[{"internalType":"contract IAdminSubscriptionChecker","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumDepositUSD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumRedemptionUSD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumRwaPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ondoCompliance","outputs":[{"internalType":"contract IOndoCompliance","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ondoIDRegistry","outputs":[{"internalType":"contract IOndoIDRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ondoOracle","outputs":[{"internalType":"contract IOndoOracle","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ondoRateLimiter","outputs":[{"internalType":"contract IOndoRateLimiter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ondoRedemptionFees","outputs":[{"internalType":"contract IOndoFees","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ondoSubscriptionFees","outputs":[{"internalType":"contract IOndoFees","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ondoTokenRouter","outputs":[{"internalType":"contract IOndoTokenRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseRedeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pauseSubscribe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"rwaAmount","type":"uint256"},{"internalType":"address","name":"receivingToken","type":"address"},{"internalType":"uint256","name":"minimumTokenReceived","type":"uint256"}],"name":"redeem","outputs":[{"internalType":"uint256","name":"receiveTokenAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"redeemPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rusdyAmount","type":"uint256"},{"internalType":"address","name":"receivingToken","type":"address"},{"internalType":"uint256","name":"minimumTokenReceived","type":"uint256"}],"name":"redeemRebasingUSDY","outputs":[{"internalType":"uint256","name":"receiveTokenAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"retrieveTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rusdy","outputs":[{"internalType":"contract rUSDY","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rwaToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"bool","name":"accepted","type":"bool"}],"name":"setAcceptedRedemptionToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"bool","name":"accepted","type":"bool"}],"name":"setAcceptedSubscriptionToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_adminSubscriptionChecker","type":"address"}],"name":"setAdminSubscriptionChecker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minimumDepositUSD","type":"uint256"}],"name":"setMinimumDepositAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minimumRedemptionUSD","type":"uint256"}],"name":"setMinimumRedemptionAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minimumRwaPrice","type":"uint256"}],"name":"setMinimumRwaPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_ondoCompliance","type":"address"}],"name":"setOndoCompliance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_ondoIDRegistry","type":"address"}],"name":"setOndoIDRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_ondoOracle","type":"address"}],"name":"setOndoOracle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_ondoRateLimiter","type":"address"}],"name":"setOndoRateLimiter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_ondoRedemptionFees","type":"address"}],"name":"setOndoRedemptionFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_ondoSubscriptionFees","type":"address"}],"name":"setOndoSubscriptionFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_ondoTokenRouter","type":"address"}],"name":"setOndoTokenRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"depositToken","type":"address"},{"internalType":"uint256","name":"depositAmount","type":"uint256"},{"internalType":"uint256","name":"minimumRwaReceived","type":"uint256"}],"name":"subscribe","outputs":[{"internalType":"uint256","name":"rwaAmountOut","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"subscribePaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"depositToken","type":"address"},{"internalType":"uint256","name":"depositAmount","type":"uint256"},{"internalType":"uint256","name":"minimumRusdyReceived","type":"uint256"}],"name":"subscribeRebasingUSDY","outputs":[{"internalType":"uint256","name":"rusdyAmountOut","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpauseRedeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpauseSubscribe","outputs":[],"stateMutability":"nonpayable","type":"function"}],"devdoc":{"author":"Ondo Finance","errors":{"SafeERC20FailedOperation(address)":[{"details":"An operation with an ERC-20 token failed."}]},"events":{"AdminSubscriptionRebasingUSDY(address,uint256,uint256,bytes32)":{"params":{"metadata":"Metadata for the subscription","recipient":"Address of the recipient","rusdyAmount":"Amount of rUSDY sent to recipient","usdyAmount":"Amount of USDY wrapped for the user"}},"InstantRedemptionRebasingUSDY(address,uint256,uint256,address,uint256)":{"params":{"receiveTokenAmount":"Amount of tokens received, denoted in decimals of `receivingToken`","receivingToken":"Address of the token received","redeemer":"Address of the redeemer","rusdyAmountIn":"Amount of the rUSDY burned for the redemption","usdyAmountIn":"Amount of USDY unwrapped for the user"}},"InstantSubscriptionRebasingUSDY(address,uint256,uint256,address,uint256)":{"params":{"depositAmount":"Amount of tokens deposited, denoted in decimals of `depositToken`","depositToken":"Address of the token deposited","recipient":"Address of the recipient","rusdyAmountOut":"Amount of rUSDY sent to user","usdyAmountOut":"Amount of USDY wrapped for the user"}}},"kind":"dev","methods":{"adminSubscribe(address,uint256,bytes32)":{"params":{"metadata":"Additional metadata associated with the subscription","recipient":"The address of the recipient","rwaAmount":"The amount of RWA to be subscribed, expected to be in decimals of the RWA                   token"}},"adminSubscribeRebasingUSDY(address,uint256,bytes32)":{"params":{"metadata":"Metadata for the subscription","recipient":"Recipient of the rUSDY","rusdyAmount":"Amount of rUSDY to send, in decimals of rUSDY"}},"constructor":{"params":{"_defaultAdmin":"The default admin address","_minimumDepositAmount":"The minimum deposit amount","_minimumRedemptionAmount":"The minimum redemption amount","_rusdy":"The rUSDY token address","_rwaToken":"The USDY token address"}},"getRoleAdmin(bytes32)":{"details":"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}."},"getRoleMember(bytes32,uint256)":{"details":"Returns one of the accounts that have `role`. `index` must be a value between 0 and {getRoleMemberCount}, non-inclusive. Role bearers are not sorted in any particular way, and their ordering may change at any point. WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure you perform all queries on the same block. See the following https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] for more information."},"getRoleMemberCount(bytes32)":{"details":"Returns the number of accounts that have `role`. Can be used together with {getRoleMember} to enumerate all bearers of a role."},"grantRole(bytes32,address)":{"details":"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role."},"hasRole(bytes32,address)":{"details":"Returns `true` if `account` has been granted `role`."},"redeem(uint256,address,uint256)":{"params":{"minimumTokenReceived":"The minimum amount of the receiving token to be received,                              expected to be in decimals of `receivingToken`","receivingToken":"The address of the token to receive","rwaAmount":"The amount of RWA to be redeemed, expected to be in decimals of                              the RWA token"},"returns":{"receiveTokenAmount":"  The amount of the token received from the redemption, expected                              to be in decimals of the `receivingToken`"}},"redeemRebasingUSDY(uint256,address,uint256)":{"params":{"minimumTokenReceived":"Minimum amount of tokens to receive, denoted in decimals of                                `receivingToken`","receivingToken":"Token to receive","rusdyAmount":"Amount of rUSDY to redeem"},"returns":{"receiveTokenAmount":"    Amount of tokens received, denoted in decimals of                                `receivingToken`"}},"renounceRole(bytes32,address)":{"details":"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`."},"retrieveTokens(address,address,uint256)":{"params":{"amount":"The amount of token to transfer","to":"The address of the recipient","token":"The address of the token"}},"revokeRole(bytes32,address)":{"details":"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role."},"setAcceptedRedemptionToken(address,bool)":{"params":{"accepted":"Whether the token is accepted for redemption","token":"The token address"}},"setAcceptedSubscriptionToken(address,bool)":{"params":{"accepted":"Whether the token is accepted for subscription","token":"The token address"}},"setAdminSubscriptionChecker(address)":{"params":{"_adminSubscriptionChecker":"The `AdminSubscriptionChecker` contract address"}},"setMinimumDepositAmount(uint256)":{"params":{"_minimumDepositUSD":"The minimum amount required to subscribe, denoted in                            USD with 18 decimals"}},"setMinimumRedemptionAmount(uint256)":{"params":{"_minimumRedemptionUSD":"The minimum amount required to redeem,                               denoted in USD with 18."}},"setMinimumRwaPrice(uint256)":{"params":{"_minimumRwaPrice":"The minimum price of the RWA token"}},"setOndoCompliance(address)":{"params":{"_ondoCompliance":"The `OndoCompliance` contract address"}},"setOndoIDRegistry(address)":{"params":{"_ondoIDRegistry":"The `OndoIDRegistry` contract address"}},"setOndoOracle(address)":{"details":"Will revert if new `OndoOracle` contract returns a price lower than the minimum         configured price of the RWA token","params":{"_ondoOracle":"The `OndoOracle` contract address"}},"setOndoRateLimiter(address)":{"params":{"_ondoRateLimiter":"The `OndoRateLimiter` contract address"}},"setOndoRedemptionFees(address)":{"params":{"_ondoRedemptionFees":"The `OndoFees` contract address"}},"setOndoSubscriptionFees(address)":{"params":{"_ondoSubscriptionFees":"The `OndoFees` contract address"}},"setOndoTokenRouter(address)":{"params":{"_ondoTokenRouter":"The `OndoTokenRouter` contract address"}},"subscribe(address,uint256,uint256)":{"params":{"depositAmount":"The amount of the deposit token to be deposited, expected to be in                            decimals of `depositToken`","depositToken":"The address of the token to be deposited","minimumRwaReceived":"The minimum amount of RWA to be received from the subscription,                            expected to be in decimals of the RWA token"},"returns":{"rwaAmountOut":"      The amount of RWA received from the subscription, expected to be in                            decimals of the RWA token"}},"subscribeRebasingUSDY(address,uint256,uint256)":{"params":{"depositAmount":"Amount of tokens to deposit, denoted in decimals of the                              `depositToken`","depositToken":"The token to deposit","minimumRusdyReceived":"Minimum amount of rUSDY to receive"},"returns":{"rusdyAmountOut":"      Amount of rUSDY received, in decimals of rUSDY"}},"supportsInterface(bytes4)":{"details":"See {IERC165-supportsInterface}."}},"title":"USDY_InstantManager","version":1},"userdoc":{"errors":{"AdminSubscriptionCheckerAddressCantBeZero()":[{"notice":"Error emitted when attempting to set the `AdminSubscriptionChecker` address to zero"}],"ComplianceAddressCantBeZero()":[{"notice":"Error emitted when attempting to set the `OndoCompliance` address to zero"}],"DepositAmountTooSmall()":[{"notice":"Error emitted when the deposit amount is too small"}],"FeeGreaterThanRedemption()":[{"notice":"Error emitted when the fee is greater than the redemption amount"}],"FeeGreaterThanSubscription()":[{"notice":"Error emitted when the fee is greater than the subscription amount"}],"FeesAddressCantBeZero()":[{"notice":"Error emitted when attempting to set the `OndoFees` address to zero"}],"IDRegistryAddressCantBeZero()":[{"notice":"Error emitted when attempting to set the `OndoIDRegistry` address to zero"}],"OracleAddressCantBeZero()":[{"notice":"Error emitted when attempting to set the `OndoOracle` address to zero"}],"RWAPriceTooLow()":[{"notice":"Error emitted when the price of RWA token returned from the oracle is below the minimum price"}],"RateLimiterAddressCantBeZero()":[{"notice":"Error emitted when attempting to set the `OndoRateLimiter` address to zero"}],"RebasingUSDYCantBeZeroAddress()":[{"notice":"Error emitted when setting the rUSDY address to the zero address"}],"ReceiveAmountTooSmall()":[{"notice":"Error emitted when the receive amount is below the `minimumReceiveAmount` in a redemption"}],"RedemptionAmountTooSmall()":[{"notice":"Error emitted when the redemption amount is too small"}],"RedemptionsPaused()":[{"notice":"Error emitted when the redemption functionality is paused"}],"RouterAddressCantBeZero()":[{"notice":"Error emitted when attempting to set the `OndoTokenRouter` address to zero"}],"RwaReceiveAmountTooSmall()":[{"notice":"Error emitted when rwa amount is below the `minimumRwaReceived` in a subscription"}],"SubscriptionsPaused()":[{"notice":"Error emitted when the subscription functionality is paused"}],"TokenAddressCantBeZero()":[{"notice":"Error emitted when the token address is zero"}],"TokenNotAccepted()":[{"notice":"Error emitted when the token is not accepted for subscription"}],"UserNotRegistered()":[{"notice":"Error emitted when the user is not registered with the ID registry"}]},"events":{"AcceptedRedemptionTokenSet(address,bool)":{"notice":"Event emitted when a token's supported status for redemptions"},"AcceptedSubscriptionTokenSet(address,bool)":{"notice":"Event emitted when a token's supported status is set for subscriptions"},"AdminSubscription(address,address,bytes32,uint256,uint256,bytes32)":{"notice":"Event emitted when an admin completes a subscription for a recipient"},"AdminSubscriptionCheckerSet(address,address)":{"notice":"Event emitted when the `AdminSubscriptionChecker` contract is set"},"AdminSubscriptionRebasingUSDY(address,uint256,uint256,bytes32)":{"notice":"Event emitted when an admin mints rUSDY"},"InstantRedemptionRebasingUSDY(address,uint256,uint256,address,uint256)":{"notice":"Event emitted when a user redeems rUSDY"},"InstantSubscriptionRebasingUSDY(address,uint256,uint256,address,uint256)":{"notice":"Event emitted when a user mints rUSDY"},"MinimumDepositAmountSet(uint256,uint256)":{"notice":"Event emitted when subscription minimum is set"},"MinimumRedemptionAmountSet(uint256,uint256)":{"notice":"Event emitted when redeem minimum is set"},"MinimumRwaPriceSet(uint256,uint256)":{"notice":"Event emitted when the minimum RWA token price is set"},"OndoComplianceSet(address,address)":{"notice":"Event emitted when the `OndoCompliance` contract is set."},"OndoIDRegistrySet(address,address)":{"notice":"Event emitted when the `OndoIDRegistry` contract is set"},"OndoOracleSet(address,address)":{"notice":"Event emitted when the `OndoOracle` contract is set"},"OndoRateLimiterSet(address,address)":{"notice":"Event emitted when the `OndoRateLimiter` contract is set"},"OndoRedemptionFeesSet(address,address)":{"notice":"Event emitted when the `OndoFees` redemption contract is set"},"OndoSubscriptionFeesSet(address,address)":{"notice":"Event emitted when the `OndoFees` subscription contract is set"},"OndoTokenRouterSet(address,address)":{"notice":"Event emitted when the `OndoTokenRouter` contract is set"},"RedeemPaused()":{"notice":"Event emitted when redeem functionality is paused"},"RedeemUnpaused()":{"notice":"Event emitted when redeem functionality is unpaused"},"Redemption(address,bytes32,uint256,address,uint256,uint256,uint256)":{"notice":"Event emitted when a user redeems an RWA token"},"SubscribePaused()":{"notice":"Event emitted when subscription functionality is paused"},"SubscribeUnpaused()":{"notice":"Event emitted when subscription functionality is unpaused"},"Subscription(address,bytes32,uint256,address,uint256,uint256,uint256)":{"notice":"Event emitted when a user subscribes to an RWA token"}},"kind":"user","methods":{"ADMIN_SUBSCRIPTION_ROLE()":{"notice":"Role to manually service a subscription to RWA tokens"},"CONFIGURER_ROLE()":{"notice":"Role to configure the contract"},"PAUSER_ROLE()":{"notice":"Role to pause subscriptions and redemptions"},"RWA_NORMALIZER()":{"notice":"The decimals normalizer for the RWA token"},"USDY_TO_RUSDY_SHARES_MULTIPLIER()":{"notice":"Helper constant for converting between USDY tokens and rUSDY shares"},"USD_NORMALIZER()":{"notice":"The decimals normalizer for USD"},"acceptedRedemptionTokens(address)":{"notice":"Mapping of accepted redemption tokens"},"acceptedSubscriptionTokens(address)":{"notice":"Mapping of accepted subscription tokens"},"adminSubscribe(address,uint256,bytes32)":{"notice":"Allows an admin to subscribe on behalf of a recipient with the specified RWA amount         and metadata"},"adminSubscribeRebasingUSDY(address,uint256,bytes32)":{"notice":"Performs an admin subscription to rUSDY. This works similar to         `adminSubscribe`, but wraps the USDY to rUSDY before transferring the tokens         to the user."},"adminSubscriptionChecker()":{"notice":"The `AdminSubscriptionChecker` contract"},"minimumDepositUSD()":{"notice":"Minimum USD amount required to subscribe to a RWA token, denoted in USD with 18         decimals."},"minimumRedemptionUSD()":{"notice":"Minimum USD amount required to perform an RWA token redemption to be allowed,         denoted in USD with 18 decimals"},"minimumRwaPrice()":{"notice":"Minimum price of RWA token that this contract will use, denoted in USD with 18 decimals"},"ondoCompliance()":{"notice":"The `OndoCompliance` contract address"},"ondoIDRegistry()":{"notice":"The `OndoIDRegistry` contract address"},"ondoOracle()":{"notice":"The `OndoOracle` contract address"},"ondoRateLimiter()":{"notice":"The `OndoRateLimiter` contract address"},"ondoRedemptionFees()":{"notice":"The `OndoFees` contract for managing redemption fees"},"ondoSubscriptionFees()":{"notice":"The `OndoFees` contract for managing subscription fees"},"ondoTokenRouter()":{"notice":"The `OndoTokenRouter` contract address"},"pauseRedeem()":{"notice":"Pause the redeem functionality."},"pauseSubscribe()":{"notice":"Pause the subscribe functionality."},"redeem(uint256,address,uint256)":{"notice":"Redeems the specified amount of RWA for the receiving token"},"redeemPaused()":{"notice":"Whether redemptions are paused for this contract"},"redeemRebasingUSDY(uint256,address,uint256)":{"notice":"Performs a rUSDY redemption. This works similar to `redeem`, but         unwraps the rUSDY to USDY before processing the redemption."},"retrieveTokens(address,address,uint256)":{"notice":"Rescue and transfer tokens locked in this contract"},"rusdy()":{"notice":"The rebasing USDY token contract"},"rwaToken()":{"notice":"The contract address for the RWA token this contract is responsible for"},"setAcceptedRedemptionToken(address,bool)":{"notice":"Sets whether a token is accepted for redemption."},"setAcceptedSubscriptionToken(address,bool)":{"notice":"Sets whether a token is accepted for subscriptions"},"setAdminSubscriptionChecker(address)":{"notice":"Sets the `AdminSubscriptionChecker` contract"},"setMinimumDepositAmount(uint256)":{"notice":"Sets the minimum amount required for a subscription"},"setMinimumRedemptionAmount(uint256)":{"notice":"Sets the minimum amount to redeem"},"setMinimumRwaPrice(uint256)":{"notice":"Sets the minimum price of RWA token"},"setOndoCompliance(address)":{"notice":"Sets the `OndoCompliance` contract"},"setOndoIDRegistry(address)":{"notice":"Sets the `OndoIDRegistry` contract"},"setOndoOracle(address)":{"notice":"Admin function to set the `OndoOracle` contract"},"setOndoRateLimiter(address)":{"notice":"Sets the `OndoRateLimiter` contract"},"setOndoRedemptionFees(address)":{"notice":"Sets the `OndoFees` contract for redemptions"},"setOndoSubscriptionFees(address)":{"notice":"Sets the `OndoFees` contract for subscriptions"},"setOndoTokenRouter(address)":{"notice":"Admin function to set the `OndoTokenRouter` contract"},"subscribe(address,uint256,uint256)":{"notice":"Subscribes to the RWA using the specified deposit token and amount"},"subscribePaused()":{"notice":"Whether subscriptions are paused for this contract"},"subscribeRebasingUSDY(address,uint256,uint256)":{"notice":"Subscribes to rUSDY. This works similar to `subscribe`, but         wraps the USDY into rUSDY before transferring to the user."},"unpauseRedeem()":{"notice":"Unpause the redeem functionality."},"unpauseSubscribe()":{"notice":"Unpause the subscribe functionality."}},"notice":"This contract manages instant subscriptions and redemptions of USDY and rUSDY tokens,         with support for conversion between USDY and rUSDY.         This contract allows for:         - Users to instantly subscribe to USDY or rUSDY by depositing supported tokens         - Users to redeem USDY or rUSDY back to supported tokens         - An admin to execute manual subscriptions for specialized use cases","version":1}},"settings":{"compilationTarget":{"contracts/xManager/rwaManagers/USDY_InstantManager.sol":"USDY_InstantManager"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"ipfs"},"optimizer":{"enabled":true,"runs":200},"remappings":[":@aragon/=node_modules/@aragon/",":@ensdomains/=node_modules/@ensdomains/",":@openzeppelin/=node_modules/@openzeppelin/",":@uniswap/=node_modules/@uniswap/",":eth-gas-reporter/=node_modules/eth-gas-reporter/",":forge-std/=lib/forge-std/src/",":forge-tests/=forge-tests/",":hardhat-deploy/=node_modules/hardhat-deploy/",":hardhat/=node_modules/hardhat/",":lib/=lib/",":math/=node_modules/@aragon/os/contracts/lib/math/",":misc/=node_modules/@aragon/os/contracts/lib/misc/",":solidity-bytes-utils/=node_modules/solidity-bytes-utils/",":standards/=node_modules/@aragon/os/contracts/lib/standards/",":token/=node_modules/@aragon/os/contracts/lib/token/",":truffle/=node_modules/truffle/"]},"sources":{"contracts/external/chainalysis/ISanctionsList.sol":{"keccak256":"0x924a511196b8802090ba421169b5f09c9dc3be319d014ea497d6bd142ce358cc","license":"UNLICENSED","urls":["bzz-raw://3d07753a6e04c9bc4df7f1fb1ab4208e970d7978df03dba915d19945fd745efa","dweb:/ipfs/QmbXY7tM5jq2oXFTnrtAAwyMyLEQ3mDWGQbBc2tS1eZBYp"]},"contracts/external/openzeppelin/contracts-upgradeable/access/AccessControlEnumerableUpgradeable.sol":{"keccak256":"0x8e289e9c791884b3c536b13b5a3cf0f48bbb78df3bf8d182a89679e62a06bbcd","license":"MIT","urls":["bzz-raw://b6c5127f7d8fb69e3d811693e9fdff7d43878fcb9f342ce902e2d0bcd217dddc","dweb:/ipfs/QmYt9wZ43Ymra3BmUKqpxTQDfnt8rtGsbrEiNtMW8s85NJ"]},"contracts/external/openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol":{"keccak256":"0x7ac1155e2192229ae94148937eeade68dc9faadfec3ad1f7e320b4a74692b5a1","license":"MIT","urls":["bzz-raw://2979c02d1f5cb5eeceb8dfe8b7bb0c06c96ca00ab6be955fd5ba5450e1a25386","dweb:/ipfs/QmekztwbM7Kp2RN5xcamQx3kpQSZaa9szpPSwPvAWbxhCt"]},"contracts/external/openzeppelin/contracts-upgradeable/access/IAccessControlEnumerableUpgradeable.sol":{"keccak256":"0x09b3aa1d18fc1d83df71a6c0599c6eb33682f98af5a9ad559629bfcf043465ab","license":"MIT","urls":["bzz-raw://4543849cc6e7581c61a3756f326da6f5dbf673c1e3adc654328059d570451d3e","dweb:/ipfs/QmdVTYdpEMc4WSMPYJW4bZtMcQLh3hT7ZinSkKL8VSaTAw"]},"contracts/external/openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable.sol":{"keccak256":"0x82ced39d1596c05d590b7ca07c3817cf45cd27c08668c4ed630897861a394897","license":"MIT","urls":["bzz-raw://b7d20aed60e30f2778879f83613192e7ab1c530ece62cc25641bac3cc2a7e97f","dweb:/ipfs/QmQsHMDBdgeat7YbXzrGT9SdmppY2u4kUJiXy2SkwZEBDE"]},"contracts/external/openzeppelin/contracts-upgradeable/proxy/Initializable.sol":{"keccak256":"0x010a43b8420b86f8e3c27e0647eff1d1e9b2a923826043a5141164c828c05bf5","license":"MIT","urls":["bzz-raw://0e001f96cf00da1504274078f9a2f11178162342c66df15c68f42c998f901b71","dweb:/ipfs/QmVXp3YsDBRcDLYKhec1R24vGXcQtcPce5ZiybmVR4rQdJ"]},"contracts/external/openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol":{"keccak256":"0xe9aac368465a462d8ccd102fd72b12653321c873d3300c9066b780f842aaa056","license":"MIT","urls":["bzz-raw://98153682db34e9c9d691d39f674b15db612397c7b4018fb005c912d93d744c40","dweb:/ipfs/QmXiapVy5HQnnXFL8KaW6rdAC9MPqmRuELPWB5iGsXjF6p"]},"contracts/external/openzeppelin/contracts-upgradeable/token/ERC20/IERC20MetadataUpgradeable.sol":{"keccak256":"0x93df6fb9d3f37b6a4b5ca97e2601134626663f091dd5ed62070bd904997c12c3","license":"MIT","urls":["bzz-raw://b3beecdefc0d731e0e5d03e07e9226b0155ce475942b945e8acd3731b00ccdef","dweb:/ipfs/QmVaM4E84t6n28GD7Vp8Xn9NDchTtZbpKAtAvufyDBquPX"]},"contracts/external/openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol":{"keccak256":"0x2af484bfbaf37c407079b5a4f54ccff98a7b3759146e667119703340b6e7dea1","license":"MIT","urls":["bzz-raw://af7f0a9481d93f603a7f94ba07926cc0b85cb98f0d15398b372d11f0eba4ab30","dweb:/ipfs/QmTfYiZCLr4zCdJLQoj2HK4RNcSSmKC5AQDLVpeJeiFze3"]},"contracts/external/openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol":{"keccak256":"0xaf21ac76d103d3d1174d2bd26dde385c09f1bab9a60ec291c130efc8ccb20d36","license":"MIT","urls":["bzz-raw://e5c99abcf2c4cae25d8b95996bdeab83f381d3560b3b4eefa666b8e2e2876333","dweb:/ipfs/QmR1Cpn98bQ2k31t3Mm9Njh4SiatBY36svRPKgPpedbNfk"]},"contracts/external/openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol":{"keccak256":"0xc333158994f7724934ae32da3bd03a4e816446808bac93df1d3f0c044e469e62","license":"MIT","urls":["bzz-raw://1c8f40443409af08388f1b04568057752c36adc5fc7b3f72d90f97d918071b85","dweb:/ipfs/QmYGNDXvZyjXqy8Zs4jepBKEvkoQQVpKvEp8TzmT67Rn2Q"]},"contracts/external/openzeppelin/contracts-upgradeable/utils/ERC165Upgradeable.sol":{"keccak256":"0x19f33d4901eb8c8b0dd5ff1e85076299f31a0841f75fb7472689d4c1257d9b1d","license":"MIT","urls":["bzz-raw://813caaff7ca40b95ec81706f12038a1419c7a7cc3abc0b8e4b32821fec8ca4ef","dweb:/ipfs/QmXVmhosYrbQDbQe3zt3Fg5fqbYAGt3v173eeDV8X4DBcP"]},"contracts/external/openzeppelin/contracts-upgradeable/utils/EnumerableSetUpgradeable.sol":{"keccak256":"0xcfd889f86aa7523f1a9b7903c24ced3512ed3ba14d27372a75a07e9c49ed141b","license":"MIT","urls":["bzz-raw://030850091a35c9e58f71fd0bf74a355cf5756ad8ac89856f5ea1ba26b7179829","dweb:/ipfs/QmTZGLo3HHoa3W2PEo8qpZUuzdvnPwBEL4K5CnZzAD3KHK"]},"contracts/external/openzeppelin/contracts-upgradeable/utils/IERC165Upgradeable.sol":{"keccak256":"0x26751ffef7dd0b030529f36b653b20561de1eff524eea9b401b614d454a33c5b","license":"MIT","urls":["bzz-raw://19cbe38f8f2c1157139459a9d8d7935c5c2a4b08486496e0dc9448b3cf25a9bb","dweb:/ipfs/QmeyavLyBHSyCYXrjUD4iVFz5U2hDbtLdHhssVAbSzRikq"]},"contracts/external/openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol":{"keccak256":"0x14695559487022a2e893608ca1700670171e471003a4cced204acf93811d123d","license":"MIT","urls":["bzz-raw://c4b85804ceac8bacef557ee4994ca8a74c9309bb76c851a655ac809b5c904876","dweb:/ipfs/QmWMcseyS826eM3oc8T9DzJVwufBBPqTJbbjyVsBk2oDF9"]},"contracts/external/openzeppelin/contracts/access/AccessControl.sol":{"keccak256":"0xe7e809b0d89fa668d9707e3c107974a005f2acd136c425cd78f6d828c219aa40","license":"MIT","urls":["bzz-raw://3f9c3761e4aed23e5fec8b6f597815242d096976db67ce6a75f815cdc131fb24","dweb:/ipfs/Qmf54yk4i4XKb2nw5Ao9rELgtAYowkVhbEQ3vThr9PizFB"]},"contracts/external/openzeppelin/contracts/access/AccessControlEnumerable.sol":{"keccak256":"0xf0155eaa75c379807c202eb9a0db8a073e5d93d6f9144b42d194c2ecd49ddb33","license":"MIT","urls":["bzz-raw://b03956b65ce3e2f1bd2aa0a0cbef734107c8ae246215b3ca8aa932f6cf28bd8e","dweb:/ipfs/QmejtqQeTDqPQfYDBwKmveiaV3MkVVhXyiJRFbnANiuw31"]},"contracts/external/openzeppelin/contracts/access/IAccessControl.sol":{"keccak256":"0x02787a6b562763467c448f39369285b1903615e81c787f45c0b163a1ff9e07d5","license":"MIT","urls":["bzz-raw://81b6f6b08f68a5f747d05b73c15d595efa86be1bd72ba60eb9b953f4ed939ccb","dweb:/ipfs/QmQkiz6s9tWzGcHodPRPiFZ5iTLmeSzhELjRcftnnmBkxS"]},"contracts/external/openzeppelin/contracts/access/IAccessControlEnumerable.sol":{"keccak256":"0xc29b5788f8deef40aee3f1b1f67fdfd7b84ebcc0f0d2e73db14185de07f3c50b","license":"MIT","urls":["bzz-raw://05e25d2eec7087d9fea88ab1d306e45e9d91d3810add4c7312c8421d237e059b","dweb:/ipfs/Qmexr11aTo4KLX42kguRERHKhWY8o7MsUupL8qH2GzYD5Y"]},"contracts/external/openzeppelin/contracts/security/ReentrancyGuard.sol":{"keccak256":"0x0134fde2cc9450792bc761f05588383e3b1baf78454dba8b6a592dd39895cd08","license":"MIT","urls":["bzz-raw://07706a7f7f427fc28e40c29d8c12989e9623e22b8b9da0eba7c5ba4bf466bad0","dweb:/ipfs/QmQLpwxp4hX8j7tjGGGovdS4WGr57v4vDEFCjPue6EapbV"]},"contracts/external/openzeppelin/contracts/token/IERC20.sol":{"keccak256":"0x2d0b233e43b64bb4afb057ccc16493c9b3c22d334a4ac6636915c7ef7f06b118","license":"MIT","urls":["bzz-raw://f0702af2d619b4cbbc417b89fb215c64b2f0a2db8d1af1d3a23f2e3cabb077f0","dweb:/ipfs/QmYVTreLMBhqZH78xnqiZyr3FLbfNrrSsG7bHiSQk9dRRW"]},"contracts/external/openzeppelin/contracts/token/IERC20Metadata.sol":{"keccak256":"0x099220ebd191f57aa291f8c00866eb8c943680d9790d46ec82010b933d68550f","license":"MIT","urls":["bzz-raw://2fb8a9ee59a46ef114fda28c6f3f94fc3d715fd727b6f269c4cea96462b23b6b","dweb:/ipfs/QmTBtvRpJuioam5xXX9BX9f6ASuwuozwKkKGnEXwuJLiHa"]},"contracts/external/openzeppelin/contracts/token/SafeERC20.sol":{"keccak256":"0xc1b6cd1277f11e24fa35b4dd76cf5a78037a1aebec01fd58088cd860b515d416","license":"MIT","urls":["bzz-raw://989ae158309172c97c4860fd0791de74a16ced1f1f64781a8841fa9ca327026b","dweb:/ipfs/QmfYFBEyompT47RnxBcnSR77rk85eKr1nQhqieuyYp7FGn"]},"contracts/external/openzeppelin/contracts/utils/Context.sol":{"keccak256":"0x197651ff7207345936e19940e36235967fe866449caa294e19642b6c6aaa62f8","license":"MIT","urls":["bzz-raw://3cb4e784c91e106ee75877271ff11f9997a68bc9e577cab4d36d60a10b88e6e9","dweb:/ipfs/QmVuLfSBsfsqcpUcsFaY275Re3n7uQW6ErhDGpYHY92uBo"]},"contracts/external/openzeppelin/contracts/utils/ERC165.sol":{"keccak256":"0x092935b6d168de393154e5b5622bbc5f57c99eb14a5a5af3dc2cda6a19add989","license":"MIT","urls":["bzz-raw://a4393585c7475b0552daaf144cdfed4ccd3485d8438c8db16024871bdf866f14","dweb:/ipfs/QmZBcft4cWNb1NSPgcDdbDRUZSxwZj2LYVKQnunU2fpJMa"]},"contracts/external/openzeppelin/contracts/utils/EnumerableSet.sol":{"keccak256":"0x6dfd57320c54054f69d620239b72c0230a3912520dff78f26dec2a709592555c","license":"MIT","urls":["bzz-raw://f3d7ee88f342083071601363d7718c037e9e97f4622d8061af2bc455460da1ae","dweb:/ipfs/Qmcw9rfXpogtneRhNCF9w6gw6N7HTmgG2xmndURKFtYTZD"]},"contracts/external/openzeppelin/contracts/utils/IERC165.sol":{"keccak256":"0x64e1d4f776a4bf02f7ab4187741c2e50c767bfa04f4ef1f920edba78c2918020","license":"MIT","urls":["bzz-raw://cff6c09b4206cbf675fae7baa5e036802a16b1bad9a541db160858a5caa5b35c","dweb:/ipfs/QmRCagsWpeQGomTbdHusJuNUPJnNB8HLHkB98FPU2s9Vc6"]},"contracts/external/openzeppelin/contracts/utils/Strings.sol":{"keccak256":"0x132805e1b4569cd64ef45bb19ce1f3387263de8d8c9b28926bd8eb1e44bba84a","license":"MIT","urls":["bzz-raw://c6ddf46c3e136218067c92591fce8abc636da06a15da9f8a42054ed774dc5a82","dweb:/ipfs/Qmb2TRrwxa5oWXhn9gLC6Pmcob5UHWvHiGwv1hfZPJjzcU"]},"contracts/interfaces/IBlocklist.sol":{"keccak256":"0xdc584fc0dd4e50f379b7222224c9f1c0a429a5c17e0aaca0e73d478404921ce8","license":"BUSL-1.1","urls":["bzz-raw://52587147ae4949122bed455677c2a1587d67a410bb18091d987695c1c560dd88","dweb:/ipfs/QmUAygtJztJ9xbtxKbkL9cNM79wymhP9B45SFNrHNFsR3K"]},"contracts/interfaces/IBlocklistClient.sol":{"keccak256":"0xd74c9b2de9259f6ceb243e42083266366900a11f2dc5252cbdff95ee360b917e","license":"BUSL-1.1","urls":["bzz-raw://ae96e01acf95cc93e7308d803716e0ff896709e4c2311bf7026e81fe944ac56d","dweb:/ipfs/QmfG9vZbLTdGQbyvHz6kyQbNWnNQKKPPVsWdWjEbwZZNHG"]},"contracts/interfaces/IRWALike.sol":{"keccak256":"0x0dc5e9e98d1a66c0b7708f5aeb874182fc0d03255c4d1bf97f8553f7e77dea71","license":"BUSL-1.1","urls":["bzz-raw://7137cee7247f400102466270c33e6501894518c3e8d670ddc032e2850e2348d7","dweb:/ipfs/QmPkRNdALGT1Y7Zt5PaWxsNc2YqLxQcSoAMQR7CABPgsW8"]},"contracts/interfaces/IUSDY.sol":{"keccak256":"0xecc50171f48abec2d31cf9e5b7c06be808d1c63880cd2e759f2a6f24465237ff","license":"BUSL-1.1","urls":["bzz-raw://fa9beea316a7e07dc527d43ea4b9352b0b90f6e108210e8dd97d762a29bd060b","dweb:/ipfs/Qmb5WXgCf1BB1YAfjtdkpRqUqkxiF2f3K7pPffsRXyjnco"]},"contracts/rwaOracles/IRWADynamicOracle.sol":{"keccak256":"0xa4a301f354018dbd0fc5e47f04005f45a65faea3fdad45122aa8c445bc02c433","license":"BUSL-1.1","urls":["bzz-raw://734236fafb2918064241140eba2c63cf778831cb3e17e54d9ae9eedb39372d12","dweb:/ipfs/QmWy2yLbmnyBmRmGhkmwgppmTEpj2fGka7E9VCgxw3xCNM"]},"contracts/sanctions/ISanctionsListClient.sol":{"keccak256":"0x0b05569a945016d90a6a50f6f5276c81e1631ec653108a9ab2c571abb8778623","license":"BUSL-1.1","urls":["bzz-raw://ddef83229437c82cebb691f944123004a45c59218f447bab21ec3eb3ac592d3d","dweb:/ipfs/QmTVk4zvfojvLSCbDdhxeFm3zGRQz3fNzmH2UJxtXUfjRf"]},"contracts/sanctions/SanctionsListClientUpgradeable.sol":{"keccak256":"0xa2c5574a9f2bf09db2dffd9adab968f490b9570eca7bf89b413ac362f346eb50","license":"BUSL-1.1","urls":["bzz-raw://0e0cc52a4d1c43c70365eb4e2fda3738312aec3045a122d81027814ee6970010","dweb:/ipfs/QmQ8myDQXi2tSD8Umg7ojzU7zZ3i93aPpGvBfYqmrKgymG"]},"contracts/usdy/blocklist/BlocklistClientUpgradeable.sol":{"keccak256":"0xcac2a56f86c47e5593ba63386a10dd3f71fae8dc2fd785fc36b5f9ea501afff1","license":"BUSL-1.1","urls":["bzz-raw://5f85abd4722743fa63b28f044da8fe6a62b1315a04b40ca583f0052c18b3c50e","dweb:/ipfs/QmdL1rnjBcFXmycLLabefnDwccsM25zty3f9aZVErzn4r7"]},"contracts/usdy/rusdy/rUSDY.sol":{"keccak256":"0x22db1d71a9bef8a5d90d483394c0d9f4f59eacc811d19876ef4fe0f2dbf5bd7b","license":"BUSL-1.1","urls":["bzz-raw://b5ef6a8b36ecc6d34ab156404809a1c887f5cdb0ef68d85176922108cbf7ffa9","dweb:/ipfs/QmR6oZ5awuUNNc3oryzCzceyQNWW2dKjX9kujWccAbBEYw"]},"contracts/xManager/interfaces/IAdminSubscriptionChecker.sol":{"keccak256":"0xc4a16a8fd45a743597f9c3e3de5340a56b0ec8a387b76bf1574139e245973b92","license":"BUSL-1.1","urls":["bzz-raw://d70665704dfa24c8b6836bd530f4037409107ea6dc2b079a909d64c18feaa640","dweb:/ipfs/QmavajFNWgcPeHSkQJFu8ZTujKQJgFpLkh8RbMwmNNbhZX"]},"contracts/xManager/interfaces/IOndoCompliance.sol":{"keccak256":"0xbefead4f7293fa4d007d942c7b92ebc59873d07693ebd75da7e1b08bb176aabd","license":"BUSL-1.1","urls":["bzz-raw://72630f28679126d874d0a9cefe603533e7e2fa4d785702997850318eb58b1ec9","dweb:/ipfs/QmUkjAKGfydDCtBwCp7CqdNrsn7onwr4wPsahuJsEZfVe8"]},"contracts/xManager/interfaces/IOndoFees.sol":{"keccak256":"0xb90004d891dddb988afa658fc84ca8e60f878ede54e1aca6930c8479efd7df84","license":"BUSL-1.1","urls":["bzz-raw://abf0af880c83a61d8aeb6a8b2f10be4ee893b136963b2e26828632bd5f64e2ca","dweb:/ipfs/QmSbVP5exvrvxvWH5Z4wq9XWe9oh5ctMMfmJy81NFBQWZb"]},"contracts/xManager/interfaces/IOndoIDRegistry.sol":{"keccak256":"0x8f23f30f1c239e1e99b76974dab6d2fd1b612e26984cddf129317409972fd78f","license":"BUSL-1.1","urls":["bzz-raw://981f3725d37bc70d20b5acebb501c0d07158fd9a3091cfaff02b0fb5468c30b5","dweb:/ipfs/QmPrKKCxiR5SYNggsfoKTn3TYVDtrNUTH8egVtY2JkjL3B"]},"contracts/xManager/interfaces/IOndoOracle.sol":{"keccak256":"0x2b56141c38b210bb01a8c2f6e59e6b706024456460f45b4d6ef1755f642c0ea9","license":"BUSL-1.1","urls":["bzz-raw://c7f95b054aed1f831218a4ac2aff7c64480ba02f6fbb5778655f3169b19fdca5","dweb:/ipfs/QmaX2654QGXstKYedRxaWeS43gYYefCg7676o1tFamqBS3"]},"contracts/xManager/interfaces/IOndoRateLimiter.sol":{"keccak256":"0xa2be8cf3d48449b17576f591cc64d2a5ba47f28142115e3e90be25ed9706bbac","license":"MIT","urls":["bzz-raw://b67a1cf45a6c3c19f592c407369386e0919dd6e9cffa756ea1c9d281a38c8a85","dweb:/ipfs/QmUPXSCz9uDwx37B19vuAvJDjH6v17uFiNH1SWoLjH4aCL"]},"contracts/xManager/interfaces/IOndoTokenRouter.sol":{"keccak256":"0xaeebeb0a6684dd8a0d78097a4880f5af0ea2b2ddb0e9fa217ef880e0f0085329","license":"BUSL-1.1","urls":["bzz-raw://2180d5bf57c92463828261eca77c323f8fb718d983e87ace13d16664a6c61f35","dweb:/ipfs/Qmdrg18q6k5af4gUqQ2XBEyZFmAHuhLi5AfYw2kvaASHHz"]},"contracts/xManager/interfaces/ITokenRecipient.sol":{"keccak256":"0xe95bece55fecf820a8515200227dde2b84856b281ecb1551de6f10a215cf8309","license":"BUSL-1.1","urls":["bzz-raw://e4b570d48a417d87d830b4ced563d724abf7281c1d8dc76c6ed7f269edb3ccc1","dweb:/ipfs/Qmb5pS3xmWtv7N59W3wips1VyY1wFh8ujTQJ22p4ZgGZEU"]},"contracts/xManager/interfaces/ITokenSource.sol":{"keccak256":"0x320c8c0ae1aad7cdc291a28d987d029fa83fc73ec40d006fad34b40010d5f150","license":"BUSL-1.1","urls":["bzz-raw://3633d5450047b0bf3c641dc7f670ae5be99e03c0dfb4cc37f3e254dc240f8b08","dweb:/ipfs/QmRX1swZb6TkZLc6a3Kg1tg6mSdu9nbfv4t8VeFamAMdnk"]},"contracts/xManager/interfaces/IUSDY_InstantManager.sol":{"keccak256":"0xc197892ca6d7c4cfa15eda3cb544a0a8eff934e983fbc3d0bc08631a2997fb22","license":"BUSL-1.1","urls":["bzz-raw://bf7787df39c9dc936ada081f4ae06bacb8046697cbdcdaf66a9e308270277c16","dweb:/ipfs/QmSeHNc4LxfrifVb7aYuuHcQmFGBdkfxQa4feE3oAHUoex"]},"contracts/xManager/rwaManagers/BaseRWAManager.sol":{"keccak256":"0x7434bc560f781507ff08cbdff835d23176d86f7518190c51e34466d574fb25f4","license":"BUSL-1.1","urls":["bzz-raw://a52fad4bd664d31778c6b7580b1dc7f925d0cf55dc8941f43af9f19a49d32a38","dweb:/ipfs/QmZxq9PCP8Ge8mMJqEsgpmnz5SGUxppheb7P2PsMDXnuVq"]},"contracts/xManager/rwaManagers/IBaseRWAManagerErrors.sol":{"keccak256":"0xd06c50f17bb5f9b74a7c8c7c94ec24c9331800b65d1a70ec49bc3dfb2a000864","license":"BUSL-1.1","urls":["bzz-raw://55cac1ad22caf0a1b7d6317073d232dfdc86f57c9ac9937f7a38380dbf2b87fa","dweb:/ipfs/QmXYT4n29JAXbVz7EzCP2baTjShz1uJttGMzNNnzjD6oqa"]},"contracts/xManager/rwaManagers/IBaseRWAManagerEvents.sol":{"keccak256":"0xade72e08a467ea16fbf5dfe57885a6ffcb7e88932b71e72d28a8d30629322e96","license":"BUSL-1.1","urls":["bzz-raw://dc2e2f7a1a401a554a3fcc586dc3644d8d571aa2a46f28d9b9250e551399e973","dweb:/ipfs/QmQEMf7riyvC9aDYu7kJNJEkwR1bt5P7HAhJPdK7AURGAv"]},"contracts/xManager/rwaManagers/USDY_InstantManager.sol":{"keccak256":"0x4358bb4060c7178b31047c40d6a6b837db85044cede09af85d172ab013181f76","license":"BUSL-1.1","urls":["bzz-raw://a6fbf3a8a669f1e01d31f5c2441d30a1c798df617ed0ff665b6196370a84e6ca","dweb:/ipfs/QmfUE9pr43m4gRSAvsKKjrJSxNFsW2aFPmeeJw7ezK1pd2"]}},"version":1},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_bytes32":{"label":"bytes32","encoding":"inplace","numberOfBytes":"32"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_contract(IOndoFees)5588":{"label":"contract IOndoFees","encoding":"inplace","numberOfBytes":"20"},"t_struct(Set)3144_storage":{"label":"struct EnumerableSet.Set","members":[{"slot":"0","type":"t_array(t_bytes32)dyn_storage","astId":3139,"label":"_values","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"1","type":"t_mapping(t_bytes32,t_uint256)","astId":3143,"label":"_indexes","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"}],"encoding":"inplace","numberOfBytes":"64"},"t_contract(IOndoOracle)5610":{"label":"contract IOndoOracle","encoding":"inplace","numberOfBytes":"20"},"t_mapping(t_address,t_bool)":{"key":"t_address","label":"mapping(address => bool)","value":"t_bool","encoding":"mapping","numberOfBytes":"32"},"t_array(t_bytes32)dyn_storage":{"base":"t_bytes32","label":"bytes32[]","encoding":"dynamic_array","numberOfBytes":"32"},"t_mapping(t_bytes32,t_uint256)":{"key":"t_bytes32","label":"mapping(bytes32 => uint256)","value":"t_uint256","encoding":"mapping","numberOfBytes":"32"},"t_struct(RoleData)2159_storage":{"label":"struct AccessControl.RoleData","members":[{"slot":"0","type":"t_mapping(t_address,t_bool)","astId":2156,"label":"members","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"1","type":"t_bytes32","astId":2158,"label":"adminRole","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"}],"encoding":"inplace","numberOfBytes":"64"},"t_contract(IOndoCompliance)5572":{"label":"contract IOndoCompliance","encoding":"inplace","numberOfBytes":"20"},"t_contract(IOndoIDRegistry)5600":{"label":"contract IOndoIDRegistry","encoding":"inplace","numberOfBytes":"20"},"t_contract(IOndoRateLimiter)5628":{"label":"contract IOndoRateLimiter","encoding":"inplace","numberOfBytes":"20"},"t_contract(IOndoTokenRouter)5662":{"label":"contract IOndoTokenRouter","encoding":"inplace","numberOfBytes":"20"},"t_struct(AddressSet)3445_storage":{"label":"struct EnumerableSet.AddressSet","members":[{"slot":"0","type":"t_struct(Set)3144_storage","astId":3444,"label":"_inner","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"}],"encoding":"inplace","numberOfBytes":"64"},"t_contract(IAdminSubscriptionChecker)5562":{"label":"contract IAdminSubscriptionChecker","encoding":"inplace","numberOfBytes":"20"},"t_mapping(t_bytes32,t_struct(RoleData)2159_storage)":{"key":"t_bytes32","label":"mapping(bytes32 => struct AccessControl.RoleData)","value":"t_struct(RoleData)2159_storage","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_bytes32,t_struct(AddressSet)3445_storage)":{"key":"t_bytes32","label":"mapping(bytes32 => struct EnumerableSet.AddressSet)","value":"t_struct(AddressSet)3445_storage","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_uint256","astId":2682,"label":"_status","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"1","type":"t_mapping(t_bytes32,t_struct(RoleData)2159_storage)","astId":2164,"label":"_roles","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"2","type":"t_mapping(t_bytes32,t_struct(AddressSet)3445_storage)","astId":2467,"label":"_roleMembers","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"3","type":"t_uint256","astId":5842,"label":"minimumDepositUSD","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"4","type":"t_uint256","astId":5845,"label":"minimumRedemptionUSD","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"5","type":"t_uint256","astId":5848,"label":"minimumRwaPrice","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"6","type":"t_bool","astId":5851,"label":"subscribePaused","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"6","type":"t_bool","astId":5854,"label":"redeemPaused","offset":1,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"6","type":"t_contract(IOndoTokenRouter)5662","astId":5861,"label":"ondoTokenRouter","offset":2,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"7","type":"t_contract(IOndoOracle)5610","astId":5865,"label":"ondoOracle","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"8","type":"t_contract(IOndoCompliance)5572","astId":5869,"label":"ondoCompliance","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"9","type":"t_contract(IOndoIDRegistry)5600","astId":5873,"label":"ondoIDRegistry","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"10","type":"t_contract(IOndoRateLimiter)5628","astId":5877,"label":"ondoRateLimiter","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"11","type":"t_contract(IOndoFees)5588","astId":5881,"label":"ondoSubscriptionFees","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"12","type":"t_contract(IOndoFees)5588","astId":5885,"label":"ondoRedemptionFees","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"13","type":"t_contract(IAdminSubscriptionChecker)5562","astId":5889,"label":"adminSubscriptionChecker","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"14","type":"t_mapping(t_address,t_bool)","astId":5894,"label":"acceptedSubscriptionTokens","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"15","type":"t_mapping(t_address,t_bool)","astId":5899,"label":"acceptedRedemptionTokens","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"}]},"transientStorageLayout":null,"userdoc":{"kind":"user","errors":{"RWAPriceTooLow()":[{"notice":"Error emitted when the price of RWA token returned from the oracle is below the minimum price"}],"TokenNotAccepted()":[{"notice":"Error emitted when the token is not accepted for subscription"}],"RedemptionsPaused()":[{"notice":"Error emitted when the redemption functionality is paused"}],"UserNotRegistered()":[{"notice":"Error emitted when the user is not registered with the ID registry"}],"SubscriptionsPaused()":[{"notice":"Error emitted when the subscription functionality is paused"}],"DepositAmountTooSmall()":[{"notice":"Error emitted when the deposit amount is too small"}],"FeesAddressCantBeZero()":[{"notice":"Error emitted when attempting to set the `OndoFees` address to zero"}],"ReceiveAmountTooSmall()":[{"notice":"Error emitted when the receive amount is below the `minimumReceiveAmount` in a redemption"}],"TokenAddressCantBeZero()":[{"notice":"Error emitted when the token address is zero"}],"OracleAddressCantBeZero()":[{"notice":"Error emitted when attempting to set the `OndoOracle` address to zero"}],"RouterAddressCantBeZero()":[{"notice":"Error emitted when attempting to set the `OndoTokenRouter` address to zero"}],"FeeGreaterThanRedemption()":[{"notice":"Error emitted when the fee is greater than the redemption amount"}],"RedemptionAmountTooSmall()":[{"notice":"Error emitted when the redemption amount is too small"}],"RwaReceiveAmountTooSmall()":[{"notice":"Error emitted when rwa amount is below the `minimumRwaReceived` in a subscription"}],"FeeGreaterThanSubscription()":[{"notice":"Error emitted when the fee is greater than the subscription amount"}],"ComplianceAddressCantBeZero()":[{"notice":"Error emitted when attempting to set the `OndoCompliance` address to zero"}],"IDRegistryAddressCantBeZero()":[{"notice":"Error emitted when attempting to set the `OndoIDRegistry` address to zero"}],"RateLimiterAddressCantBeZero()":[{"notice":"Error emitted when attempting to set the `OndoRateLimiter` address to zero"}],"RebasingUSDYCantBeZeroAddress()":[{"notice":"Error emitted when setting the rUSDY address to the zero address"}],"AdminSubscriptionCheckerAddressCantBeZero()":[{"notice":"Error emitted when attempting to set the `AdminSubscriptionChecker` address to zero"}]},"events":{"RedeemPaused()":{"notice":"Event emitted when redeem functionality is paused"},"RedeemUnpaused()":{"notice":"Event emitted when redeem functionality is unpaused"},"SubscribePaused()":{"notice":"Event emitted when subscription functionality is paused"},"SubscribeUnpaused()":{"notice":"Event emitted when subscription functionality is unpaused"},"OndoOracleSet(address,address)":{"notice":"Event emitted when the `OndoOracle` contract is set"},"OndoComplianceSet(address,address)":{"notice":"Event emitted when the `OndoCompliance` contract is set."},"OndoIDRegistrySet(address,address)":{"notice":"Event emitted when the `OndoIDRegistry` contract is set"},"MinimumRwaPriceSet(uint256,uint256)":{"notice":"Event emitted when the minimum RWA token price is set"},"OndoRateLimiterSet(address,address)":{"notice":"Event emitted when the `OndoRateLimiter` contract is set"},"OndoTokenRouterSet(address,address)":{"notice":"Event emitted when the `OndoTokenRouter` contract is set"},"OndoRedemptionFeesSet(address,address)":{"notice":"Event emitted when the `OndoFees` redemption contract is set"},"AcceptedRedemptionTokenSet(address,bool)":{"notice":"Event emitted when a token's supported status for redemptions"},"MinimumDepositAmountSet(uint256,uint256)":{"notice":"Event emitted when subscription minimum is set"},"OndoSubscriptionFeesSet(address,address)":{"notice":"Event emitted when the `OndoFees` subscription contract is set"},"AcceptedSubscriptionTokenSet(address,bool)":{"notice":"Event emitted when a token's supported status is set for subscriptions"},"MinimumRedemptionAmountSet(uint256,uint256)":{"notice":"Event emitted when redeem minimum is set"},"AdminSubscriptionCheckerSet(address,address)":{"notice":"Event emitted when the `AdminSubscriptionChecker` contract is set"},"AdminSubscriptionRebasingUSDY(address,uint256,uint256,bytes32)":{"notice":"Event emitted when an admin mints rUSDY"},"AdminSubscription(address,address,bytes32,uint256,uint256,bytes32)":{"notice":"Event emitted when an admin completes a subscription for a recipient"},"Redemption(address,bytes32,uint256,address,uint256,uint256,uint256)":{"notice":"Event emitted when a user redeems an RWA token"},"Subscription(address,bytes32,uint256,address,uint256,uint256,uint256)":{"notice":"Event emitted when a user subscribes to an RWA token"},"InstantRedemptionRebasingUSDY(address,uint256,uint256,address,uint256)":{"notice":"Event emitted when a user redeems rUSDY"},"InstantSubscriptionRebasingUSDY(address,uint256,uint256,address,uint256)":{"notice":"Event emitted when a user mints rUSDY"}},"notice":"This contract manages instant subscriptions and redemptions of USDY and rUSDY tokens,         with support for conversion between USDY and rUSDY.         This contract allows for:         - Users to instantly subscribe to USDY or rUSDY by depositing supported tokens         - Users to redeem USDY or rUSDY back to supported tokens         - An admin to execute manual subscriptions for specialized use cases","methods":{"rusdy()":{"notice":"The rebasing USDY token contract"},"rwaToken()":{"notice":"The contract address for the RWA token this contract is responsible for"},"ondoOracle()":{"notice":"The `OndoOracle` contract address"},"PAUSER_ROLE()":{"notice":"Role to pause subscriptions and redemptions"},"pauseRedeem()":{"notice":"Pause the redeem functionality."},"redeemPaused()":{"notice":"Whether redemptions are paused for this contract"},"unpauseRedeem()":{"notice":"Unpause the redeem functionality."},"RWA_NORMALIZER()":{"notice":"The decimals normalizer for the RWA token"},"USD_NORMALIZER()":{"notice":"The decimals normalizer for USD"},"ondoCompliance()":{"notice":"The `OndoCompliance` contract address"},"ondoIDRegistry()":{"notice":"The `OndoIDRegistry` contract address"},"pauseSubscribe()":{"notice":"Pause the subscribe functionality."},"CONFIGURER_ROLE()":{"notice":"Role to configure the contract"},"minimumRwaPrice()":{"notice":"Minimum price of RWA token that this contract will use, denoted in USD with 18 decimals"},"ondoRateLimiter()":{"notice":"The `OndoRateLimiter` contract address"},"ondoTokenRouter()":{"notice":"The `OndoTokenRouter` contract address"},"subscribePaused()":{"notice":"Whether subscriptions are paused for this contract"},"unpauseSubscribe()":{"notice":"Unpause the subscribe functionality."},"minimumDepositUSD()":{"notice":"Minimum USD amount required to subscribe to a RWA token, denoted in USD with 18         decimals."},"ondoRedemptionFees()":{"notice":"The `OndoFees` contract for managing redemption fees"},"minimumRedemptionUSD()":{"notice":"Minimum USD amount required to perform an RWA token redemption to be allowed,         denoted in USD with 18 decimals"},"ondoSubscriptionFees()":{"notice":"The `OndoFees` contract for managing subscription fees"},"setOndoOracle(address)":{"notice":"Admin function to set the `OndoOracle` contract"},"ADMIN_SUBSCRIPTION_ROLE()":{"notice":"Role to manually service a subscription to RWA tokens"},"adminSubscriptionChecker()":{"notice":"The `AdminSubscriptionChecker` contract"},"setOndoCompliance(address)":{"notice":"Sets the `OndoCompliance` contract"},"setOndoIDRegistry(address)":{"notice":"Sets the `OndoIDRegistry` contract"},"setMinimumRwaPrice(uint256)":{"notice":"Sets the minimum price of RWA token"},"setOndoRateLimiter(address)":{"notice":"Sets the `OndoRateLimiter` contract"},"setOndoTokenRouter(address)":{"notice":"Admin function to set the `OndoTokenRouter` contract"},"setOndoRedemptionFees(address)":{"notice":"Sets the `OndoFees` contract for redemptions"},"redeem(uint256,address,uint256)":{"notice":"Redeems the specified amount of RWA for the receiving token"},"setMinimumDepositAmount(uint256)":{"notice":"Sets the minimum amount required for a subscription"},"setOndoSubscriptionFees(address)":{"notice":"Sets the `OndoFees` contract for subscriptions"},"USDY_TO_RUSDY_SHARES_MULTIPLIER()":{"notice":"Helper constant for converting between USDY tokens and rUSDY shares"},"acceptedRedemptionTokens(address)":{"notice":"Mapping of accepted redemption tokens"},"subscribe(address,uint256,uint256)":{"notice":"Subscribes to the RWA using the specified deposit token and amount"},"acceptedSubscriptionTokens(address)":{"notice":"Mapping of accepted subscription tokens"},"setMinimumRedemptionAmount(uint256)":{"notice":"Sets the minimum amount to redeem"},"setAdminSubscriptionChecker(address)":{"notice":"Sets the `AdminSubscriptionChecker` contract"},"adminSubscribe(address,uint256,bytes32)":{"notice":"Allows an admin to subscribe on behalf of a recipient with the specified RWA amount         and metadata"},"retrieveTokens(address,address,uint256)":{"notice":"Rescue and transfer tokens locked in this contract"},"setAcceptedRedemptionToken(address,bool)":{"notice":"Sets whether a token is accepted for redemption."},"setAcceptedSubscriptionToken(address,bool)":{"notice":"Sets whether a token is accepted for subscriptions"},"redeemRebasingUSDY(uint256,address,uint256)":{"notice":"Performs a rUSDY redemption. This works similar to `redeem`, but         unwraps the rUSDY to USDY before processing the redemption."},"subscribeRebasingUSDY(address,uint256,uint256)":{"notice":"Subscribes to rUSDY. This works similar to `subscribe`, but         wraps the USDY into rUSDY before transferring to the user."},"adminSubscribeRebasingUSDY(address,uint256,bytes32)":{"notice":"Performs an admin subscription to rUSDY. This works similar to         `adminSubscribe`, but wraps the USDY to rUSDY before transferring the tokens         to the user."}},"version":1},"devdoc":{"kind":"dev","title":"USDY_InstantManager","author":"Ondo Finance","errors":{"SafeERC20FailedOperation(address)":[{"details":"An operation with an ERC-20 token failed."}]},"events":{"AdminSubscriptionRebasingUSDY(address,uint256,uint256,bytes32)":{"params":{"metadata":"Metadata for the subscription","recipient":"Address of the recipient","usdyAmount":"Amount of USDY wrapped for the user","rusdyAmount":"Amount of rUSDY sent to recipient"}},"InstantRedemptionRebasingUSDY(address,uint256,uint256,address,uint256)":{"params":{"redeemer":"Address of the redeemer","usdyAmountIn":"Amount of USDY unwrapped for the user","rusdyAmountIn":"Amount of the rUSDY burned for the redemption","receivingToken":"Address of the token received","receiveTokenAmount":"Amount of tokens received, denoted in decimals of `receivingToken`"}},"InstantSubscriptionRebasingUSDY(address,uint256,uint256,address,uint256)":{"params":{"recipient":"Address of the recipient","depositToken":"Address of the token deposited","depositAmount":"Amount of tokens deposited, denoted in decimals of `depositToken`","usdyAmountOut":"Amount of USDY wrapped for the user","rusdyAmountOut":"Amount of rUSDY sent to user"}}},"methods":{"constructor":{"params":{"_rusdy":"The rUSDY token address","_rwaToken":"The USDY token address","_defaultAdmin":"The default admin address","_minimumDepositAmount":"The minimum deposit amount","_minimumRedemptionAmount":"The minimum redemption amount"}},"getRoleAdmin(bytes32)":{"details":"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}."},"setOndoOracle(address)":{"params":{"_ondoOracle":"The `OndoOracle` contract address"},"details":"Will revert if new `OndoOracle` contract returns a price lower than the minimum         configured price of the RWA token"},"hasRole(bytes32,address)":{"details":"Returns `true` if `account` has been granted `role`."},"supportsInterface(bytes4)":{"details":"See {IERC165-supportsInterface}."},"grantRole(bytes32,address)":{"details":"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role."},"setOndoCompliance(address)":{"params":{"_ondoCompliance":"The `OndoCompliance` contract address"}},"setOndoIDRegistry(address)":{"params":{"_ondoIDRegistry":"The `OndoIDRegistry` contract address"}},"getRoleMemberCount(bytes32)":{"details":"Returns the number of accounts that have `role`. Can be used together with {getRoleMember} to enumerate all bearers of a role."},"revokeRole(bytes32,address)":{"details":"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role."},"setMinimumRwaPrice(uint256)":{"params":{"_minimumRwaPrice":"The minimum price of the RWA token"}},"setOndoRateLimiter(address)":{"params":{"_ondoRateLimiter":"The `OndoRateLimiter` contract address"}},"setOndoTokenRouter(address)":{"params":{"_ondoTokenRouter":"The `OndoTokenRouter` contract address"}},"renounceRole(bytes32,address)":{"details":"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`."},"getRoleMember(bytes32,uint256)":{"details":"Returns one of the accounts that have `role`. `index` must be a value between 0 and {getRoleMemberCount}, non-inclusive. Role bearers are not sorted in any particular way, and their ordering may change at any point. WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure you perform all queries on the same block. See the following https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] for more information."},"setOndoRedemptionFees(address)":{"params":{"_ondoRedemptionFees":"The `OndoFees` contract address"}},"redeem(uint256,address,uint256)":{"params":{"rwaAmount":"The amount of RWA to be redeemed, expected to be in decimals of                              the RWA token","receivingToken":"The address of the token to receive","minimumTokenReceived":"The minimum amount of the receiving token to be received,                              expected to be in decimals of `receivingToken`"},"returns":{"receiveTokenAmount":"  The amount of the token received from the redemption, expected                              to be in decimals of the `receivingToken`"}},"setMinimumDepositAmount(uint256)":{"params":{"_minimumDepositUSD":"The minimum amount required to subscribe, denoted in                            USD with 18 decimals"}},"setOndoSubscriptionFees(address)":{"params":{"_ondoSubscriptionFees":"The `OndoFees` contract address"}},"subscribe(address,uint256,uint256)":{"params":{"depositToken":"The address of the token to be deposited","depositAmount":"The amount of the deposit token to be deposited, expected to be in                            decimals of `depositToken`","minimumRwaReceived":"The minimum amount of RWA to be received from the subscription,                            expected to be in decimals of the RWA token"},"returns":{"rwaAmountOut":"      The amount of RWA received from the subscription, expected to be in                            decimals of the RWA token"}},"setMinimumRedemptionAmount(uint256)":{"params":{"_minimumRedemptionUSD":"The minimum amount required to redeem,                               denoted in USD with 18."}},"setAdminSubscriptionChecker(address)":{"params":{"_adminSubscriptionChecker":"The `AdminSubscriptionChecker` contract address"}},"adminSubscribe(address,uint256,bytes32)":{"params":{"metadata":"Additional metadata associated with the subscription","recipient":"The address of the recipient","rwaAmount":"The amount of RWA to be subscribed, expected to be in decimals of the RWA                   token"}},"retrieveTokens(address,address,uint256)":{"params":{"to":"The address of the recipient","token":"The address of the token","amount":"The amount of token to transfer"}},"setAcceptedRedemptionToken(address,bool)":{"params":{"token":"The token address","accepted":"Whether the token is accepted for redemption"}},"setAcceptedSubscriptionToken(address,bool)":{"params":{"token":"The token address","accepted":"Whether the token is accepted for subscription"}},"redeemRebasingUSDY(uint256,address,uint256)":{"params":{"rusdyAmount":"Amount of rUSDY to redeem","receivingToken":"Token to receive","minimumTokenReceived":"Minimum amount of tokens to receive, denoted in decimals of                                `receivingToken`"},"returns":{"receiveTokenAmount":"    Amount of tokens received, denoted in decimals of                                `receivingToken`"}},"subscribeRebasingUSDY(address,uint256,uint256)":{"params":{"depositToken":"The token to deposit","depositAmount":"Amount of tokens to deposit, denoted in decimals of the                              `depositToken`","minimumRusdyReceived":"Minimum amount of rUSDY to receive"},"returns":{"rusdyAmountOut":"      Amount of rUSDY received, in decimals of rUSDY"}},"adminSubscribeRebasingUSDY(address,uint256,bytes32)":{"params":{"metadata":"Metadata for the subscription","recipient":"Recipient of the rUSDY","rusdyAmount":"Amount of rUSDY to send, in decimals of rUSDY"}}},"version":1},"sourceIds":{"contracts/interfaces/IUSDY.sol":{"id":31},"contracts/usdy/rusdy/rUSDY.sol":{"id":36},"contracts/interfaces/IRWALike.sol":{"id":30},"contracts/interfaces/IBlocklist.sol":{"id":28},"contracts/interfaces/IBlocklistClient.sol":{"id":29},"contracts/rwaOracles/IRWADynamicOracle.sol":{"id":32},"contracts/xManager/interfaces/IOndoFees.sol":{"id":39},"contracts/sanctions/ISanctionsListClient.sol":{"id":33},"contracts/xManager/interfaces/IOndoOracle.sol":{"id":41},"contracts/xManager/interfaces/ITokenSource.sol":{"id":45},"contracts/external/chainalysis/ISanctionsList.sol":{"id":0},"contracts/xManager/interfaces/IOndoCompliance.sol":{"id":38},"contracts/xManager/interfaces/IOndoIDRegistry.sol":{"id":40},"contracts/xManager/interfaces/ITokenRecipient.sol":{"id":44},"contracts/xManager/rwaManagers/BaseRWAManager.sol":{"id":47},"contracts/xManager/interfaces/IOndoRateLimiter.sol":{"id":42},"contracts/xManager/interfaces/IOndoTokenRouter.sol":{"id":43},"contracts/sanctions/SanctionsListClientUpgradeable.sol":{"id":34},"contracts/xManager/interfaces/IUSDY_InstantManager.sol":{"id":46},"contracts/xManager/rwaManagers/USDY_InstantManager.sol":{"id":50},"contracts/usdy/blocklist/BlocklistClientUpgradeable.sol":{"id":35},"contracts/xManager/rwaManagers/IBaseRWAManagerErrors.sol":{"id":48},"contracts/xManager/rwaManagers/IBaseRWAManagerEvents.sol":{"id":49},"contracts/external/openzeppelin/contracts/token/IERC20.sol":{"id":20},"contracts/external/openzeppelin/contracts/utils/ERC165.sol":{"id":24},"contracts/external/openzeppelin/contracts/utils/Context.sol":{"id":23},"contracts/external/openzeppelin/contracts/utils/IERC165.sol":{"id":26},"contracts/external/openzeppelin/contracts/utils/Strings.sol":{"id":27},"contracts/xManager/interfaces/IAdminSubscriptionChecker.sol":{"id":37},"contracts/external/openzeppelin/contracts/token/SafeERC20.sol":{"id":22},"contracts/external/openzeppelin/contracts/utils/EnumerableSet.sol":{"id":25},"contracts/external/openzeppelin/contracts/access/AccessControl.sol":{"id":15},"contracts/external/openzeppelin/contracts/token/IERC20Metadata.sol":{"id":21},"contracts/external/openzeppelin/contracts/access/IAccessControl.sol":{"id":17},"contracts/external/openzeppelin/contracts/security/ReentrancyGuard.sol":{"id":19},"contracts/external/openzeppelin/contracts/access/AccessControlEnumerable.sol":{"id":16},"contracts/external/openzeppelin/contracts-upgradeable/proxy/Initializable.sol":{"id":5},"contracts/external/openzeppelin/contracts/access/IAccessControlEnumerable.sol":{"id":18},"contracts/external/openzeppelin/contracts-upgradeable/utils/ERC165Upgradeable.sol":{"id":11},"contracts/external/openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol":{"id":9},"contracts/external/openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol":{"id":10},"contracts/external/openzeppelin/contracts-upgradeable/utils/IERC165Upgradeable.sol":{"id":13},"contracts/external/openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol":{"id":14},"contracts/external/openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol":{"id":6},"contracts/external/openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol":{"id":8},"contracts/external/openzeppelin/contracts-upgradeable/utils/EnumerableSetUpgradeable.sol":{"id":12},"contracts/external/openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol":{"id":2},"contracts/external/openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable.sol":{"id":4},"contracts/external/openzeppelin/contracts-upgradeable/token/ERC20/IERC20MetadataUpgradeable.sol":{"id":7},"contracts/external/openzeppelin/contracts-upgradeable/access/AccessControlEnumerableUpgradeable.sol":{"id":1},"contracts/external/openzeppelin/contracts-upgradeable/access/IAccessControlEnumerableUpgradeable.sol":{"id":3}},"additionalInput":null,"stdJsonInput":{"sources":{"contracts/interfaces/IUSDY.sol":{"content":"/**SPDX-License-Identifier: BUSL-1.1\n\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n\n */\n\nimport \"contracts/external/openzeppelin/contracts/token/IERC20.sol\";\n\npragma solidity 0.8.16; // latest available for using OZ\n\ninterface IUSDY is IERC20 {\n  function getPooledCashByShares(uint256) external view returns (uint256);\n\n  function getSharesByPooledCash(uint256) external view returns (uint256);\n}\n"},"contracts/usdy/rusdy/rUSDY.sol":{"content":"/**SPDX-License-Identifier: BUSL-1.1\n\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n\n */\npragma solidity 0.8.16;\n\nimport \"contracts/external/openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol\";\nimport \"contracts/external/openzeppelin/contracts-upgradeable/token/ERC20/IERC20MetadataUpgradeable.sol\";\nimport \"contracts/external/openzeppelin/contracts-upgradeable/proxy/Initializable.sol\";\nimport \"contracts/external/openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol\";\nimport \"contracts/external/openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol\";\nimport \"contracts/external/openzeppelin/contracts-upgradeable/access/AccessControlEnumerableUpgradeable.sol\";\nimport \"contracts/usdy/blocklist/BlocklistClientUpgradeable.sol\";\nimport \"contracts/sanctions/SanctionsListClientUpgradeable.sol\";\nimport \"contracts/interfaces/IUSDY.sol\";\nimport \"contracts/rwaOracles/IRWADynamicOracle.sol\";\n\n/**\n * @title Interest-bearing ERC20-like token for USDY.\n *\n * rUSDY balances are dynamic and represent the holder's share of the underlying USDY\n * controlled by the protocol. To calculate each account's balance, we do\n *\n *   shares[account] * usdyPrice\n *\n * For example, assume that we have:\n *\n *   usdyPrice = 1.05 (18 decimals)\n *   rusdy.sharesOf(user1) -> 1 (22 decimals)\n *   rusdy.sharesOf(user2) -> 4 (22 decimals)\n *   rusdy.balanceOf(rusdy) -> 5 USDY (18 decimals)\n *\n * Below would be the balances of the users:\n *\n *   balanceOf(user1) -> 1.05 rUSDY (18 decimals)\n *   balanceOf(user2) -> 4.2 rUSDY (18 decimals)\n *\n * Since balances of all token holders change when the price of USDY changes, this\n * token cannot fully implement ERC20 standard: it only emits `Transfer` events\n * upon explicit transfer between holders. In contrast, when total amount of pooled\n * Cash increases, no `Transfer` events are generated: doing so would require emitting\n * an event for each token holder and thus running an unbounded loop.\n *\n */\n\ncontract rUSDY is\n  Initializable,\n  ContextUpgradeable,\n  PausableUpgradeable,\n  AccessControlEnumerableUpgradeable,\n  BlocklistClientUpgradeable,\n  SanctionsListClientUpgradeable,\n  IERC20Upgradeable,\n  IERC20MetadataUpgradeable\n{\n  /**\n   * @dev rUSDY balances are dynamic and are calculated based on the accounts' shares (USDY)\n   * and the the price of USDY. Account shares aren't\n   * normalized, so the contract also stores the sum of all shares to calculate\n   * each account's token balance which equals to:\n   *\n   *   shares[account] * usdyPrice\n   */\n  mapping(address => uint256) private shares;\n\n  /// @dev Allowances are nominated in tokens, not token shares.\n  mapping(address => mapping(address => uint256)) private allowances;\n\n  // Total shares in existence\n  uint256 public totalShares;\n\n  // Address of the oracle that updates `usdyPrice`\n  IRWADynamicOracle public oracle;\n\n  // Address of the USDY token\n  IUSDY public usdy;\n\n  // Used to scale up usdy amount -> shares\n  uint256 public constant USDY_TO_RUSDY_SHARES_MULTIPLIER = 10_000;\n\n  // Name of the token\n  string internal _name;\n\n  // Symbol of the token\n  string internal _symbol;\n\n  // Error when redeeming shares < `USDY_TO_RUSDY_SHARES_MULTIPLIER`\n  error UnwrapTooSmall();\n\n  // Error when setting the oracle address to zero\n  error CannotSetToZeroAddress();\n\n  /// @dev Role based access control roles\n  bytes32 public constant PAUSER_ROLE = keccak256(\"PAUSER_ROLE\");\n  bytes32 public constant BURNER_ROLE = keccak256(\"BURN_ROLE\");\n  bytes32 public constant LIST_CONFIGURER_ROLE =\n    keccak256(\"LIST_CONFIGURER_ROLE\");\n\n  /// @custom:oz-upgrades-unsafe-allow constructor\n  constructor() {\n    _disableInitializers();\n  }\n\n  function initialize(\n    address blocklist,\n    address sanctionsList,\n    address _usdy,\n    address guardian,\n    address _oracle\n  ) public virtual initializer {\n    __rUSDY_init(blocklist, sanctionsList, _usdy, guardian, _oracle);\n  }\n\n  function __rUSDY_init(\n    address blocklist,\n    address sanctionsList,\n    address _usdy,\n    address guardian,\n    address _oracle\n  ) internal onlyInitializing {\n    __BlocklistClientInitializable_init(blocklist);\n    __SanctionsListClientInitializable_init(sanctionsList);\n    __rUSDY_init_unchained(_usdy, guardian, _oracle);\n  }\n\n  function __rUSDY_init_unchained(\n    address _usdy,\n    address guardian,\n    address _oracle\n  ) internal onlyInitializing {\n    usdy = IUSDY(_usdy);\n    oracle = IRWADynamicOracle(_oracle);\n    _grantRole(DEFAULT_ADMIN_ROLE, guardian);\n    _grantRole(PAUSER_ROLE, guardian);\n    _grantRole(BURNER_ROLE, guardian);\n    _grantRole(LIST_CONFIGURER_ROLE, guardian);\n    _name = \"Ondo U.S. Dollar Yield (Rebasing)\";\n    _symbol = \"rUSDY\";\n  }\n\n  /**\n   * @notice Emitted when the name is set\n   *\n   * @param oldName The old name of the token\n   * @param newName The new name of the token\n   */\n  event NameSet(string oldName, string newName);\n\n  /**\n   * @notice Emitted when the symbol is set\n   *\n   * @param oldSymbol The old symbol of the token\n   * @param newSymbol The new symbol of the token\n   */\n\n  event SymbolSet(string oldSymbol, string newSymbol);\n\n  /**\n   * @notice An executed shares transfer.\n   *\n   * @dev emitted in pair with an ERC20-defined `Transfer` event.\n   */\n  event TransferShares(\n    address indexed from,\n    address indexed to,\n    uint256 sharesValue\n  );\n\n  /**\n   * @notice Emitted when the oracle address is set\n   *\n   * @param oldOracle The address of the old oracle\n   * @param newOracle The address of the new oracle\n   */\n  event OracleSet(address indexed oldOracle, address indexed newOracle);\n\n  /**\n   * @return the name of the token.\n   */\n  function name() public view returns (string memory) {\n    return _name;\n  }\n\n  /**\n   * @return the symbol of the token, usually a shorter version of the\n   * name.\n   */\n  function symbol() public view returns (string memory) {\n    return _symbol;\n  }\n\n  /**\n   * @return the number of decimals for getting user representation of a token amount.\n   */\n  function decimals() public pure returns (uint8) {\n    return 18;\n  }\n\n  /**\n   * @return the amount of tokens in existence.\n   */\n  function totalSupply() public view returns (uint256) {\n    return\n      (totalShares * oracle.getPrice()) /\n      (1e18 * USDY_TO_RUSDY_SHARES_MULTIPLIER);\n  }\n\n  /**\n   * @return the amount of tokens owned by the `_account`.\n   *\n   * @dev Balances are dynamic and equal the `_account`'s USDY shares multiplied\n   *      by the price of USDY\n   */\n  function balanceOf(address _account) public view returns (uint256) {\n    return\n      (_sharesOf(_account) * oracle.getPrice()) /\n      (1e18 * USDY_TO_RUSDY_SHARES_MULTIPLIER);\n  }\n\n  /**\n   * @notice Moves `_amount` tokens from the caller's account to the `_recipient` account.\n   *\n   * @return a boolean value indicating whether the operation succeeded.\n   * Emits a `Transfer` event.\n   * Emits a `TransferShares` event.\n   *\n   * Requirements:\n   *\n   * - `_recipient` cannot be the zero address.\n   * - the caller must have a balance of at least `_amount`.\n   * - the contract must not be paused.\n   *\n   * @dev The `_amount` argument is the amount of tokens, not shares.\n   */\n  function transfer(address _recipient, uint256 _amount) public returns (bool) {\n    _transfer(msg.sender, _recipient, _amount);\n    return true;\n  }\n\n  /**\n   * @return the remaining number of tokens that `_spender` is allowed to spend\n   * on behalf of `_owner` through `transferFrom`. This is zero by default.\n   *\n   * @dev This value changes when `approve` or `transferFrom` is called.\n   */\n  function allowance(\n    address _owner,\n    address _spender\n  ) public view returns (uint256) {\n    return allowances[_owner][_spender];\n  }\n\n  /**\n   * @notice Sets `_amount` as the allowance of `_spender` over the caller's tokens.\n   *\n   * @return a boolean value indicating whether the operation succeeded.\n   * Emits an `Approval` event.\n   *\n   * Requirements:\n   *\n   * - `_spender` cannot be the zero address.\n   * - the contract must not be paused.\n   *\n   * @dev The `_amount` argument is the amount of tokens, not shares.\n   */\n  function approve(address _spender, uint256 _amount) public returns (bool) {\n    _approve(msg.sender, _spender, _amount);\n    return true;\n  }\n\n  /**\n   * @notice Moves `_amount` tokens from `_sender` to `_recipient` using the\n   * allowance mechanism. `_amount` is then deducted from the caller's\n   * allowance.\n   *\n   * @return a boolean value indicating whether the operation succeeded.\n   *\n   * Emits a `Transfer` event.\n   * Emits a `TransferShares` event.\n   * Emits an `Approval` event indicating the updated allowance.\n   *\n   * Requirements:\n   *\n   * - `_sender` and `_recipient` cannot be the zero addresses.\n   * - `_sender` must have a balance of at least `_amount`.\n   * - the caller must have allowance for `_sender`'s tokens of at least `_amount`.\n   * - the contract must not be paused.\n   *\n   * @dev The `_amount` argument is the amount of tokens, not shares.\n   */\n  function transferFrom(\n    address _sender,\n    address _recipient,\n    uint256 _amount\n  ) public returns (bool) {\n    uint256 currentAllowance = allowances[_sender][msg.sender];\n    require(currentAllowance >= _amount, \"TRANSFER_AMOUNT_EXCEEDS_ALLOWANCE\");\n\n    _transfer(_sender, _recipient, _amount);\n    _approve(_sender, msg.sender, currentAllowance - _amount);\n    return true;\n  }\n\n  /**\n   * @notice Atomically increases the allowance granted to `_spender` by the caller by `_addedValue`.\n   *\n   * This is an alternative to `approve` that can be used as a mitigation for\n   * problems described in:\n   * https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/IERC20.sol#L42\n   * Emits an `Approval` event indicating the updated allowance.\n   *\n   * Requirements:\n   *\n   * - `_spender` cannot be the the zero address.\n   * - the contract must not be paused.\n   */\n  function increaseAllowance(\n    address _spender,\n    uint256 _addedValue\n  ) public returns (bool) {\n    _approve(\n      msg.sender,\n      _spender,\n      allowances[msg.sender][_spender] + _addedValue\n    );\n    return true;\n  }\n\n  /**\n   * @notice Atomically decreases the allowance granted to `_spender` by the caller by `_subtractedValue`.\n   *\n   * This is an alternative to `approve` that can be used as a mitigation for\n   * problems described in:\n   * https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/IERC20.sol#L42\n   * Emits an `Approval` event indicating the updated allowance.\n   *\n   * Requirements:\n   *\n   * - `_spender` cannot be the zero address.\n   * - `_spender` must have allowance for the caller of at least `_subtractedValue`.\n   * - the contract must not be paused.\n   */\n  function decreaseAllowance(\n    address _spender,\n    uint256 _subtractedValue\n  ) public returns (bool) {\n    uint256 currentAllowance = allowances[msg.sender][_spender];\n    require(\n      currentAllowance >= _subtractedValue,\n      \"DECREASED_ALLOWANCE_BELOW_ZERO\"\n    );\n    _approve(msg.sender, _spender, currentAllowance - _subtractedValue);\n    return true;\n  }\n\n  /**\n   * @return the amount of shares owned by `_account`.\n   *\n   * @dev This is the equivalent to the amount of USDY wrapped by `_account`.\n   */\n  function sharesOf(address _account) public view returns (uint256) {\n    return _sharesOf(_account);\n  }\n\n  /**\n   * @return the amount of shares that corresponds to `_rUSDYAmount` of rUSDY\n   */\n  function getSharesByRUSDY(\n    uint256 _rUSDYAmount\n  ) public view returns (uint256) {\n    return\n      (_rUSDYAmount * 1e18 * USDY_TO_RUSDY_SHARES_MULTIPLIER) /\n      oracle.getPrice();\n  }\n\n  /**\n   * @return the amount of rUSDY that corresponds to `_shares` of usdy.\n   */\n  function getRUSDYByShares(uint256 _shares) public view returns (uint256) {\n    return\n      (_shares * oracle.getPrice()) / (1e18 * USDY_TO_RUSDY_SHARES_MULTIPLIER);\n  }\n\n  /**\n   * @notice Moves `_sharesAmount` token shares from the caller's account to the `_recipient` account.\n   *\n   * @return amount of transferred tokens.\n   * Emits a `TransferShares` event.\n   * Emits a `Transfer` event.\n   *\n   * Requirements:\n   *\n   * - `_recipient` cannot be the zero address.\n   * - the caller must have at least `_sharesAmount` shares.\n   * - the contract must not be paused.\n   *\n   * @dev The `_sharesAmount` argument is the amount of shares, not tokens.\n   */\n  function transferShares(\n    address _recipient,\n    uint256 _sharesAmount\n  ) public returns (uint256) {\n    _transferShares(msg.sender, _recipient, _sharesAmount);\n    emit TransferShares(msg.sender, _recipient, _sharesAmount);\n    uint256 tokensAmount = getRUSDYByShares(_sharesAmount);\n    emit Transfer(msg.sender, _recipient, tokensAmount);\n    return tokensAmount;\n  }\n\n  /**\n   * @notice Function called by users to wrap their USDY tokens\n   *\n   * @param _USDYAmount The amount of USDY Tokens to wrap\n   *\n   * @dev Sanctions and Blocklist checks implicit in USDY Transfer\n   */\n  function wrap(uint256 _USDYAmount) external whenNotPaused {\n    require(_USDYAmount > 0, \"rUSDY: can't wrap zero USDY tokens\");\n    uint256 usdySharesAmount = _USDYAmount * USDY_TO_RUSDY_SHARES_MULTIPLIER;\n    _mintShares(msg.sender, usdySharesAmount);\n    usdy.transferFrom(msg.sender, address(this), _USDYAmount);\n    emit Transfer(address(0), msg.sender, getRUSDYByShares(usdySharesAmount));\n    emit TransferShares(address(0), msg.sender, usdySharesAmount);\n  }\n\n  /**\n   * @notice Function called by users to unwrap their rUSDY tokens by rUSDY amount\n   *\n   * @param _rUSDYAmount The amount of rUSDY to unwrap\n   *\n   * @dev Sanctions and Blocklist checks implicit in USDY Transfer\n   */\n  function unwrap(uint256 _rUSDYAmount) external whenNotPaused {\n    require(_rUSDYAmount > 0, \"rUSDY: can't unwrap zero rUSDY tokens\");\n    uint256 usdySharesAmount = getSharesByRUSDY(_rUSDYAmount);\n    if (usdySharesAmount < USDY_TO_RUSDY_SHARES_MULTIPLIER)\n      revert UnwrapTooSmall();\n    _burnShares(msg.sender, usdySharesAmount);\n    usdy.transfer(\n      msg.sender,\n      usdySharesAmount / USDY_TO_RUSDY_SHARES_MULTIPLIER\n    );\n    emit Transfer(msg.sender, address(0), _rUSDYAmount);\n    emit TransferShares(msg.sender, address(0), usdySharesAmount);\n  }\n\n  /**\n   * @notice Function called by users to unwrap their rUSDY tokens by shares\n   *\n   * @param _sharesAmount The amount of shares to transfer\n   *\n   * @dev Sanctions and Blocklist checks implicit in USDY Transfer\n   * @dev This is a more precise unwrap, as it avoids the division by price when converting rUSDY to shares\n   */\n  function unwrapShares(uint256 _sharesAmount) external whenNotPaused {\n    if (_sharesAmount < USDY_TO_RUSDY_SHARES_MULTIPLIER)\n      revert UnwrapTooSmall();\n\n    uint256 rUSDYAmount = getRUSDYByShares(_sharesAmount);\n\n    _burnShares(msg.sender, _sharesAmount);\n    usdy.transfer(msg.sender, _sharesAmount / USDY_TO_RUSDY_SHARES_MULTIPLIER);\n    emit Transfer(msg.sender, address(0), rUSDYAmount);\n    emit TransferShares(msg.sender, address(0), _sharesAmount);\n  }\n\n  /**\n   * @notice Moves `_amount` tokens from `_sender` to `_recipient`.\n   * Emits a `Transfer` event.\n   * Emits a `TransferShares` event.\n   */\n  function _transfer(\n    address _sender,\n    address _recipient,\n    uint256 _amount\n  ) internal {\n    uint256 _sharesToTransfer = getSharesByRUSDY(_amount);\n    _transferShares(_sender, _recipient, _sharesToTransfer);\n    emit Transfer(_sender, _recipient, _amount);\n    emit TransferShares(_sender, _recipient, _sharesToTransfer);\n  }\n\n  /**\n   * @notice Sets `_amount` as the allowance of `_spender` over the `_owner` s tokens.\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   * - the contract must not be paused.\n   */\n  function _approve(\n    address _owner,\n    address _spender,\n    uint256 _amount\n  ) internal whenNotPaused {\n    require(_owner != address(0), \"APPROVE_FROM_ZERO_ADDRESS\");\n    require(_spender != address(0), \"APPROVE_TO_ZERO_ADDRESS\");\n\n    allowances[_owner][_spender] = _amount;\n    emit Approval(_owner, _spender, _amount);\n  }\n\n  /**\n   * @return the amount of shares owned by `_account`.\n   */\n  function _sharesOf(address _account) internal view returns (uint256) {\n    return shares[_account];\n  }\n\n  /**\n   * @notice Moves `_sharesAmount` shares from `_sender` to `_recipient`.\n   *\n   * Requirements:\n   *\n   * - `_sender` cannot be the zero address.\n   * - `_recipient` cannot be the zero address.\n   * - `_sender` must hold at least `_sharesAmount` shares.\n   * - the contract must not be paused.\n   */\n  function _transferShares(\n    address _sender,\n    address _recipient,\n    uint256 _sharesAmount\n  ) internal whenNotPaused {\n    require(_sender != address(0), \"TRANSFER_FROM_THE_ZERO_ADDRESS\");\n    require(_recipient != address(0), \"TRANSFER_TO_THE_ZERO_ADDRESS\");\n\n    _beforeTokenTransfer(_sender, _recipient, _sharesAmount);\n\n    uint256 currentSenderShares = shares[_sender];\n    require(\n      _sharesAmount <= currentSenderShares,\n      \"TRANSFER_AMOUNT_EXCEEDS_BALANCE\"\n    );\n\n    shares[_sender] = currentSenderShares - _sharesAmount;\n    shares[_recipient] += _sharesAmount;\n  }\n\n  /**\n   * @notice Creates `_sharesAmount` shares and assigns them to `_recipient`, increasing the total amount of shares.\n   *\n   * Requirements:\n   *\n   * - `_recipient` cannot be the zero address.\n   * - the contract must not be paused.\n   */\n  function _mintShares(address _recipient, uint256 _sharesAmount) internal {\n    require(_recipient != address(0), \"MINT_TO_THE_ZERO_ADDRESS\");\n\n    _beforeTokenTransfer(address(0), _recipient, _sharesAmount);\n\n    totalShares += _sharesAmount;\n\n    shares[_recipient] += _sharesAmount;\n  }\n\n  /**\n   * @notice Destroys `_sharesAmount` shares from `_account`'s holdings, decreasing the total amount of shares.\n   *\n   * Requirements:\n   *\n   * - `_account` cannot be the zero address.\n   * - `_account` must hold at least `_sharesAmount` shares.\n   * - the contract must not be paused.\n   */\n  function _burnShares(address _account, uint256 _sharesAmount) internal {\n    require(_account != address(0), \"BURN_FROM_THE_ZERO_ADDRESS\");\n\n    _beforeTokenTransfer(_account, address(0), _sharesAmount);\n\n    uint256 accountShares = shares[_account];\n    require(_sharesAmount <= accountShares, \"BURN_AMOUNT_EXCEEDS_BALANCE\");\n\n    totalShares -= _sharesAmount;\n\n    shares[_account] = accountShares - _sharesAmount;\n  }\n\n  /**\n   * @dev Hook that is called before any transfer of tokens. This includes\n   * minting and burning.\n   *\n   * Calling conditions:\n   *\n   * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\n   * will be transferred to `to`.\n   * - when `from` is zero, `amount` tokens will be minted for `to`.\n   * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\n   * - `from` and `to` are never both zero.\n   *\n   * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\n   */\n  function _beforeTokenTransfer(\n    address from,\n    address to,\n    uint256\n  ) internal view {\n    // Check constraints when `transferFrom` is called to facliitate\n    // a transfer between two parties that are not `from` or `to`.\n    if (from != msg.sender && to != msg.sender) {\n      require(!_isBlocked(msg.sender), \"rUSDY: 'sender' address blocked\");\n      require(!_isSanctioned(msg.sender), \"rUSDY: 'sender' address sanctioned\");\n    }\n\n    if (from != address(0)) {\n      // If not minting\n      require(!_isBlocked(from), \"rUSDY: 'from' address blocked\");\n      require(!_isSanctioned(from), \"rUSDY: 'from' address sanctioned\");\n    }\n\n    if (to != address(0)) {\n      // If not burning\n      require(!_isBlocked(to), \"rUSDY: 'to' address blocked\");\n      require(!_isSanctioned(to), \"rUSDY: 'to' address sanctioned\");\n    }\n  }\n\n  /**\n   * @notice Sets the Oracle address\n   * @dev The new oracle must comply with the IRWADynamicOracle interface\n   * @param _oracle Address of the new oracle\n   */\n  function setOracle(address _oracle) external onlyRole(DEFAULT_ADMIN_ROLE) {\n    if (_oracle == address(0)) {\n      revert CannotSetToZeroAddress();\n    }\n    emit OracleSet(address(oracle), _oracle);\n    oracle = IRWADynamicOracle(_oracle);\n  }\n\n  /**\n   * @notice Sets the token name\n   * @param newName New name of the token\n   */\n  function setName(\n    string memory newName\n  ) external onlyRole(DEFAULT_ADMIN_ROLE) {\n    emit NameSet(_name, newName);\n    _name = newName;\n  }\n\n  /**\n   * @notice Sets the token symbol\n   * @param newSymbol New symbol of the token\n   */\n  function setSymbol(\n    string memory newSymbol\n  ) external onlyRole(DEFAULT_ADMIN_ROLE) {\n    emit SymbolSet(_symbol, newSymbol);\n    _symbol = newSymbol;\n  }\n\n  /**\n   * @notice Admin burn function to burn rUSDY tokens from any account\n   * @param _account The account to burn tokens from\n   * @param _sharesAmount  The amount of USDY shares to burn\n   * @dev Burns shares and transfers USDY (if any) to `msg.sender`\n   */\n  function burnShares(\n    address _account,\n    uint256 _sharesAmount\n  ) external onlyRole(BURNER_ROLE) {\n    require(_sharesAmount > 0, \"rUSDY: can't burn zero shares\");\n\n    uint256 rUSDYAmount = getRUSDYByShares(_sharesAmount);\n\n    _burnShares(_account, _sharesAmount);\n    emit TransferShares(_account, address(0), _sharesAmount);\n\n    if (_sharesAmount >= USDY_TO_RUSDY_SHARES_MULTIPLIER) {\n      usdy.transfer(\n        msg.sender,\n        _sharesAmount / USDY_TO_RUSDY_SHARES_MULTIPLIER\n      );\n      emit Transfer(_account, address(0), rUSDYAmount);\n    }\n  }\n\n  function pause() external onlyRole(PAUSER_ROLE) {\n    _pause();\n  }\n\n  function unpause() external onlyRole(DEFAULT_ADMIN_ROLE) {\n    _unpause();\n  }\n\n  /**\n   * @notice Sets the blocklist address\n   *\n   * @param blocklist New blocklist address\n   */\n  function setBlocklist(\n    address blocklist\n  ) external override onlyRole(LIST_CONFIGURER_ROLE) {\n    _setBlocklist(blocklist);\n  }\n\n  /**\n   * @notice Sets the sanctions list address\n   *\n   * @param sanctionsList New sanctions list address\n   */\n  function setSanctionsList(\n    address sanctionsList\n  ) external override onlyRole(LIST_CONFIGURER_ROLE) {\n    _setSanctionsList(sanctionsList);\n  }\n}\n"},"contracts/interfaces/IRWALike.sol":{"content":"/**SPDX-License-Identifier: BUSL-1.1\n\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n */\npragma solidity 0.8.16;\n\n// This interface is not inherited directly by RWA, instead, it is a\n// subset of functions provided by all RWA tokens that the RWA Hub\n// Client uses.\nimport \"contracts/external/openzeppelin/contracts/token/IERC20.sol\";\n\ninterface IRWALike is IERC20 {\n  function mint(address to, uint256 amount) external;\n\n  function burn(uint256 amount) external;\n\n  function burnFrom(address from, uint256 amount) external;\n}\n"},"contracts/interfaces/IBlocklist.sol":{"content":"/**SPDX-License-Identifier: BUSL-1.1\n\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n\n */\npragma solidity 0.8.16;\n\ninterface IBlocklist {\n  function addToBlocklist(address[] calldata accounts) external;\n\n  function removeFromBlocklist(address[] calldata accounts) external;\n\n  function isBlocked(address account) external view returns (bool);\n\n  /**\n   * @notice Event emitted when addresses are added to the blocklist\n   *\n   * @param accounts The addresses that were added to the blocklist\n   */\n  event BlockedAddressesAdded(address[] accounts);\n\n  /**\n   * @notice Event emitted when addresses are removed from the blocklist\n   *\n   * @param accounts The addresses that were removed from the blocklist\n   */\n  event BlockedAddressesRemoved(address[] accounts);\n}\n"},"contracts/interfaces/IBlocklistClient.sol":{"content":"/**SPDX-License-Identifier: BUSL-1.1\n\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n\n */\npragma solidity 0.8.16;\n\nimport \"contracts/interfaces/IBlocklist.sol\";\n\n/**\n * @title IBlocklistClient\n * @author Ondo Finance\n * @notice The client interface for the Blocklist contract.\n */\ninterface IBlocklistClient {\n  /// @notice Returns reference to the blocklist that this client queries\n  function blocklist() external view returns (IBlocklist);\n\n  /// @notice Sets the blocklist reference\n  function setBlocklist(address registry) external;\n\n  /// @notice Error for when caller attempts to set the blocklist reference\n  ///         to the zero address\n  error BlocklistZeroAddress();\n\n  /// @notice Error for when caller attempts to perform action on a blocked\n  ///         account\n  error BlockedAccount();\n\n  /**\n   * @dev Event for when the blocklist reference is set\n   *\n   * @param oldBlocklist The old blocklist\n   * @param newBlocklist The new blocklist\n   */\n  event BlocklistSet(address oldBlocklist, address newBlocklist);\n}\n"},"contracts/rwaOracles/IRWADynamicOracle.sol":{"content":"/**SPDX-License-Identifier: BUSL-1.1\n\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n\n */\npragma solidity 0.8.16;\n\ninterface IRWADynamicOracle {\n  /// @notice Retrieve RWA price data\n  function getPrice() external view returns (uint256);\n}\n"},"contracts/xManager/interfaces/IOndoFees.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\n/*\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n */\npragma solidity 0.8.16;\n\ninterface IOndoFees {\n  function getAndUpdateFee(\n    address rwaToken,\n    address stablecoin,\n    bytes32 userID,\n    uint256 usdValue\n  ) external returns (uint256 usdFee);\n}\n"},"contracts/sanctions/ISanctionsListClient.sol":{"content":"/**SPDX-License-Identifier: BUSL-1.1\n\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n\n */\npragma solidity 0.8.16;\n\nimport \"contracts/external/chainalysis/ISanctionsList.sol\";\n\n/**\n * @title ISanctionsListClient\n * @author Ondo Finance\n * @notice The client interface for sanctions contract.\n */\ninterface ISanctionsListClient {\n  /// @notice Returns reference to the sanctions list that this client queries\n  function sanctionsList() external view returns (ISanctionsList);\n\n  /// @notice Sets the sanctions list reference\n  function setSanctionsList(address sanctionsList) external;\n\n  /// @notice Error for when caller attempts to set the `sanctionsList`\n  ///         reference to the zero address\n  error SanctionsListZeroAddress();\n\n  /// @notice Error for when caller attempts to perform an action on a\n  ///         sanctioned account\n  error SanctionedAccount();\n\n  /**\n   * @dev Event for when the sanctions list reference is set\n   *\n   * @param oldSanctionsList The old list\n   * @param newSanctionsList The new list\n   */\n  event SanctionsListSet(address oldSanctionsList, address newSanctionsList);\n}\n"},"contracts/xManager/interfaces/IOndoOracle.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\n/*\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n */\npragma solidity 0.8.16;\n\ninterface IOndoOracle {\n  function getAssetPrice(address token) external view returns (uint256 price);\n}\n"},"contracts/xManager/interfaces/ITokenSource.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\n/*\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n */\npragma solidity 0.8.16;\n\ninterface ITokenSource {\n  /**\n   * @notice Emitted when tokens are withdrawn from the source\n   * @param  requestedBy    The address of the account that requested the withdraw\n   * @param  withdrawnFrom  The address of the source contract from which the tokens were withdrawn\n   * @param  withdrawToken  The address of the token that was withdrawn\n   * @param  withdrawAmount The amount of tokens that were withdrawn, denoted in the decimals of\n   *                        `withdrawToken`\n   */\n  event TokensWithdrawn(\n    address indexed requestedBy,\n    address indexed withdrawnFrom,\n    address indexed withdrawToken,\n    uint256 withdrawAmount\n  );\n\n  /// Thrown when the requested token is not the expected token\n  error InvalidTokenAddressForTokenSource();\n\n  /// Thrown when attempting to set an address to address(0) which is not allowed\n  error ZeroAddressNotAllowed();\n\n  function withdrawToken(\n    address tokenToWithdraw,\n    uint256 withdrawAmount\n  ) external;\n\n  function availableToWithdraw(\n    address tokenToWithdraw\n  ) external view returns (uint256);\n}\n"},"contracts/external/chainalysis/ISanctionsList.sol":{"content":"/// SPDX-License-Identifier: UNLICENSED\npragma solidity 0.8.16;\n\ninterface ISanctionsList {\n  function isSanctioned(address addr) external view returns (bool);\n}\n"},"contracts/xManager/interfaces/IOndoCompliance.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\n/*\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n */\npragma solidity 0.8.16;\n\ninterface IOndoCompliance {\n  function checkIsCompliant(address rwaToken, address user) external;\n}\n"},"contracts/xManager/interfaces/IOndoIDRegistry.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\n/*\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n */\npragma solidity 0.8.16;\n\ninterface IOndoIDRegistry {\n  function getRegisteredID(\n    address rwaToken,\n    address user\n  ) external view returns (bytes32 userID);\n}\n"},"contracts/xManager/interfaces/ITokenRecipient.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\n/*\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n */\npragma solidity 0.8.16;\n\ninterface ITokenRecipient {\n  /**\n   * @notice Emitted when tokens are deposited into the recipient\n   * @param  depositToken       The address of the token deposited\n   * @param  depositDestination The address of the recipient contract that received the tokens\n   * @param  depositAmount      The amount of tokens that were deposited, denoted in the decimals\n   *                            of `depositToken`\n   */\n  event TokensDeposited(\n    address indexed depositToken,\n    address indexed depositDestination,\n    uint256 depositAmount\n  );\n\n  /// Error thrown when attempting to set a zero address\n  error ZeroAddressNotAllowed();\n\n  function depositToken(address depositToken, uint256 depositAmount) external;\n}\n"},"contracts/xManager/rwaManagers/BaseRWAManager.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\n/*\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n */\npragma solidity 0.8.16;\nimport \"contracts/xManager/interfaces/ITokenSource.sol\";\nimport \"contracts/xManager/interfaces/ITokenRecipient.sol\";\nimport \"contracts/xManager/interfaces/IOndoTokenRouter.sol\";\nimport \"contracts/xManager/interfaces/IOndoIDRegistry.sol\";\nimport \"contracts/xManager/interfaces/IOndoCompliance.sol\";\nimport \"contracts/xManager/interfaces/IOndoRateLimiter.sol\";\nimport \"contracts/xManager/interfaces/IOndoOracle.sol\";\nimport \"contracts/xManager/interfaces/IOndoFees.sol\";\nimport \"contracts/xManager/interfaces/IAdminSubscriptionChecker.sol\";\nimport \"contracts/interfaces/IRWALike.sol\";\nimport \"contracts/xManager/rwaManagers/IBaseRWAManagerEvents.sol\";\nimport \"contracts/xManager/rwaManagers/IBaseRWAManagerErrors.sol\";\nimport \"contracts/external/openzeppelin/contracts/token/IERC20Metadata.sol\";\nimport \"contracts/external/openzeppelin/contracts/access/AccessControlEnumerable.sol\";\nimport \"contracts/external/openzeppelin/contracts/security/ReentrancyGuard.sol\";\nimport \"contracts/external/openzeppelin/contracts/token/SafeERC20.sol\";\n\n/**\n * @title  BaseRWAManager\n * @author Ondo Finance\n * @notice The BaseRWAManager contract contains the core logic for processing subscriptions\n *         and redemptions of RWA tokens. The abstract logic of this contract never touches\n *         RWA tokens, so inheriting child classes may implement the RWA token processing as they\n *         see fit.\n *         The responsibilities of this contract are:\n *          - Receiving deposits of tokens and depositing them into the OndoTokenRouter\n *          - Calculating the amount of RWA tokens to mint and/or transfer\n *            based on the deposit amount of subscriptions\n *          - Calculating the amount of tokens to return to users based on the redemption amount\n *          - Withdrawing tokens from the OndoTokenRouter and sending them to users\n *          - Enforcing the minimum deposit and redemption amounts\n *          - Ensuring users are registered with the OndoIDRegistry\n *          - Ensuring users are compliant with the OndoCompliance contract\n *         -  Checking user-specific and global rate limits\n *         -  Calculating the fees incurred by users for subscriptions and\n *            redemptions\n */\nabstract contract BaseRWAManager is\n  IBaseRWAManagerEvents,\n  IBaseRWAManagerErrors,\n  ReentrancyGuard,\n  AccessControlEnumerable\n{\n  using SafeERC20 for IERC20;\n  /// The decimals normalizer for USD\n  uint256 public constant USD_NORMALIZER = 1e18;\n\n  /// The decimals normalizer for the RWA token\n  uint256 public immutable RWA_NORMALIZER;\n\n  /// Role to configure the contract\n  bytes32 public constant CONFIGURER_ROLE = keccak256(\"CONFIGURER_ROLE\");\n\n  /// Role to pause subscriptions and redemptions\n  bytes32 public constant PAUSER_ROLE = keccak256(\"PAUSER_ROLE\");\n\n  /// Role to manually service a subscription to RWA tokens\n  bytes32 public constant ADMIN_SUBSCRIPTION_ROLE =\n    keccak256(\"ADMIN_SUBSCRIPTION_ROLE\");\n\n  /**\n   * @notice Minimum USD amount required to subscribe to a RWA token, denoted in USD with 18\n   *         decimals.\n   */\n  uint256 public minimumDepositUSD;\n\n  /**\n   * @notice Minimum USD amount required to perform an RWA token redemption to be allowed,\n   *         denoted in USD with 18 decimals\n   */\n  uint256 public minimumRedemptionUSD;\n\n  /// Minimum price of RWA token that this contract will use, denoted in USD with 18 decimals\n  uint256 public minimumRwaPrice;\n\n  /// Whether subscriptions are paused for this contract\n  bool public subscribePaused;\n\n  /// Whether redemptions are paused for this contract\n  bool public redeemPaused;\n\n  /// The contract address for the RWA token this contract is responsible for\n  address public immutable rwaToken;\n\n  /// The `OndoTokenRouter` contract address\n  IOndoTokenRouter public ondoTokenRouter;\n\n  /// The `OndoOracle` contract address\n  IOndoOracle public ondoOracle;\n\n  /// The `OndoCompliance` contract address\n  IOndoCompliance public ondoCompliance;\n\n  /// The `OndoIDRegistry` contract address\n  IOndoIDRegistry public ondoIDRegistry;\n\n  /// The `OndoRateLimiter` contract address\n  IOndoRateLimiter public ondoRateLimiter;\n\n  /// The `OndoFees` contract for managing subscription fees\n  IOndoFees public ondoSubscriptionFees;\n\n  /// The `OndoFees` contract for managing redemption fees\n  IOndoFees public ondoRedemptionFees;\n\n  /// The `AdminSubscriptionChecker` contract\n  IAdminSubscriptionChecker public adminSubscriptionChecker;\n\n  /// Mapping of accepted subscription tokens\n  mapping(address => bool) public acceptedSubscriptionTokens;\n\n  /// Mapping of accepted redemption tokens\n  mapping(address => bool) public acceptedRedemptionTokens;\n\n  /**\n   * @param _defaultAdmin         The default admin role for the contract\n   * @param _rwaToken             The RWA token address\n   * @param _minimumDepositUSD    The minimum subscription amount, denoted in USD with 18 decimals\n   * @param _minimumRedemptionUSD The minimum redemption amount, denoted in USD with 18 decimals\n   */\n  constructor(\n    address _defaultAdmin,\n    address _rwaToken,\n    uint256 _minimumDepositUSD,\n    uint256 _minimumRedemptionUSD\n  ) {\n    if (_rwaToken == address(0)) revert TokenAddressCantBeZero();\n\n    rwaToken = _rwaToken;\n    RWA_NORMALIZER = 10 ** IERC20Metadata(_rwaToken).decimals();\n    minimumDepositUSD = _minimumDepositUSD;\n    minimumRedemptionUSD = _minimumRedemptionUSD;\n    _grantRole(DEFAULT_ADMIN_ROLE, _defaultAdmin);\n  }\n\n  /**\n   * @notice Internal function for processing subscriptions\n   * @param  depositToken       The token to deposit\n   * @param  depositAmount      The amount of tokens to deposit, in decimals of the\n   *                            token being deposited\n   * @param  minimumRwaReceived The minimum amount of RWA tokens to receive, in\n   *                            decimals of the RWA token\n   * @return rwaAmountOut       The amount of RWA tokens to mint or transfer, in\n   *                            decimals of the RWA token\n   * @dev    This function will transfer the deposit tokens from the `msg.sender` to this contract\n   *         and then deposit them via the `OndoTokenRouter`. The mint or transfer of the RWA token\n   *         must be done in the child class.\n   */\n  function _processSubscription(\n    address depositToken,\n    uint256 depositAmount,\n    uint256 minimumRwaReceived\n  ) internal whenSubscribeNotPaused returns (uint256 rwaAmountOut) {\n    if (!acceptedSubscriptionTokens[depositToken]) revert TokenNotAccepted();\n\n    // Reverts if user address is not compliant\n    ondoCompliance.checkIsCompliant(rwaToken, _msgSender());\n    bytes32 userId = ondoIDRegistry.getRegisteredID(rwaToken, _msgSender());\n    if (userId == bytes32(0)) revert UserNotRegistered();\n\n    IERC20(depositToken).safeTransferFrom(\n      _msgSender(),\n      address(this),\n      depositAmount\n    );\n    IERC20(depositToken).forceApprove(address(ondoTokenRouter), depositAmount);\n\n    ondoTokenRouter.depositToken(rwaToken, depositToken, depositAmount);\n\n    // USD values are normalized to 18 decimals\n    uint256 depositUSDValue = (ondoOracle.getAssetPrice(depositToken) *\n      depositAmount) / 10 ** IERC20Metadata(depositToken).decimals();\n\n    if (depositUSDValue < minimumDepositUSD) revert DepositAmountTooSmall();\n\n    // Fee in USD with 18 decimals\n    uint256 fee = ondoSubscriptionFees.getAndUpdateFee(\n      rwaToken,\n      depositToken,\n      userId,\n      depositUSDValue\n    );\n\n    if (fee > depositUSDValue) revert FeeGreaterThanSubscription();\n\n    // Prices are returned in 18 decimals, so multiply by the rwa normalizer to get the RWA amount\n    rwaAmountOut = ((depositUSDValue - fee) * RWA_NORMALIZER) / _getRwaPrice();\n\n    if (rwaAmountOut < minimumRwaReceived) revert RwaReceiveAmountTooSmall();\n\n    ondoRateLimiter.checkAndUpdateRateLimit(\n      IOndoRateLimiter.TransactionType.SUBSCRIPTION,\n      rwaToken,\n      userId,\n      depositUSDValue\n    );\n\n    emit Subscription(\n      _msgSender(),\n      userId,\n      rwaAmountOut,\n      depositToken,\n      depositAmount,\n      depositUSDValue,\n      fee\n    );\n  }\n\n  /**\n   * @notice Internal function for processing redemptions\n   * @param  rwaAmount            The amount of RWA tokens to redeem, in decimals of\n   *                              the RWA token\n   * @param  receivingToken       The token the user receives\n   * @param  minimumTokenReceived The minimum amount of tokens to receive, in\n   *                              decimals of `receivingToken`\n   * @return receiveTokenAmount   The amount of tokens to sent back to the caller,\n   *                              in decimals of `receivingToken`\n   * @dev    This function will send tokens to send back to the caller to service redemptions.\n   *         The transfer/burn of the RWA itself must be done in the child class.\n   */\n  function _processRedemption(\n    uint256 rwaAmount,\n    address receivingToken,\n    uint256 minimumTokenReceived\n  ) internal whenRedeemNotPaused returns (uint256 receiveTokenAmount) {\n    if (!acceptedRedemptionTokens[receivingToken]) revert TokenNotAccepted();\n\n    // Reverts if the user address is not compliant\n    ondoCompliance.checkIsCompliant(rwaToken, _msgSender());\n    bytes32 userId = ondoIDRegistry.getRegisteredID(rwaToken, _msgSender());\n    if (userId == bytes32(0)) revert UserNotRegistered();\n\n    // USD values are normalized to 18 decimals\n    uint256 redemptionUSDValue = (_getRwaPrice() * rwaAmount) / RWA_NORMALIZER;\n    if (redemptionUSDValue < minimumRedemptionUSD)\n      revert RedemptionAmountTooSmall();\n\n    // Fee is denoted in USD with 18 decimals\n    uint256 fee = ondoRedemptionFees.getAndUpdateFee(\n      rwaToken,\n      receivingToken,\n      userId,\n      redemptionUSDValue\n    );\n\n    if (fee > redemptionUSDValue) revert FeeGreaterThanRedemption();\n\n    ondoRateLimiter.checkAndUpdateRateLimit(\n      IOndoRateLimiter.TransactionType.REDEMPTION,\n      rwaToken,\n      userId,\n      redemptionUSDValue\n    );\n\n    // Prices are returned in 18 decimals\n    receiveTokenAmount =\n      ((redemptionUSDValue - fee) *\n        10 ** IERC20Metadata(receivingToken).decimals()) /\n      ondoOracle.getAssetPrice(receivingToken);\n\n    if (receiveTokenAmount < minimumTokenReceived)\n      revert ReceiveAmountTooSmall();\n\n    ondoTokenRouter.withdrawToken(\n      address(rwaToken),\n      receivingToken,\n      userId,\n      receiveTokenAmount\n    );\n\n    IERC20(receivingToken).safeTransfer(_msgSender(), receiveTokenAmount);\n\n    emit Redemption(\n      _msgSender(),\n      userId,\n      rwaAmount,\n      receivingToken,\n      receiveTokenAmount,\n      redemptionUSDValue,\n      fee\n    );\n  }\n\n  /**\n   * @notice Admin function to service a subscription whose corresponding deposit been made outside\n   *         of this contracts system. This is almost identical to the `_processSubscription`\n   *         function, but skips the deposit token transfer and fee calculation (fees are\n   *         managed off-chain). The mint and/or transfer itself must be done in the child contract\n   *         implementation.\n   * @param  recipient The address to send the RWA tokens to\n   * @param  rwaAmount The amount of RWA tokens to mint and/or transfer\n   * @param  metadata  Additional metadata to emit with the subscription\n   */\n  function _adminProcessSubscription(\n    address recipient,\n    uint256 rwaAmount,\n    bytes32 metadata\n  ) internal whenSubscribeNotPaused onlyRole(ADMIN_SUBSCRIPTION_ROLE) {\n    // Will revert if the user is not compliant.\n    ondoCompliance.checkIsCompliant(rwaToken, recipient);\n    bytes32 userId = ondoIDRegistry.getRegisteredID(rwaToken, recipient);\n    if (userId == bytes32(0)) revert UserNotRegistered();\n\n    // All USD values are normalized to 18 decimals.\n    uint256 depositUSDValue = (rwaAmount * _getRwaPrice()) / RWA_NORMALIZER;\n\n    adminSubscriptionChecker.checkAndUpdateAdminSubscriptionAllowance(\n      _msgSender(),\n      depositUSDValue\n    );\n    ondoRateLimiter.checkAndUpdateRateLimit(\n      IOndoRateLimiter.TransactionType.SUBSCRIPTION,\n      rwaToken,\n      userId,\n      depositUSDValue\n    );\n    emit AdminSubscription(\n      _msgSender(),\n      recipient,\n      userId,\n      rwaAmount,\n      depositUSDValue,\n      metadata\n    );\n  }\n\n  /**\n   * @notice Gets the rwa token price from the oracle\n   * @return rwaPrice The price of the RWA token\n   */\n  function _getRwaPrice() internal view returns (uint256 rwaPrice) {\n    rwaPrice = ondoOracle.getAssetPrice(rwaToken);\n    if (rwaPrice < minimumRwaPrice) revert RWAPriceTooLow();\n  }\n\n  /**\n   * @notice Sets whether a token is accepted for subscriptions\n   * @param  token    The token address\n   * @param  accepted Whether the token is accepted for subscription\n   */\n  function setAcceptedSubscriptionToken(\n    address token,\n    bool accepted\n  ) external onlyRole(DEFAULT_ADMIN_ROLE) {\n    if (token == address(0)) revert TokenAddressCantBeZero();\n    // Ensure the oracle supports the token\n    if (accepted) ondoOracle.getAssetPrice(token);\n    emit AcceptedSubscriptionTokenSet(token, accepted);\n    acceptedSubscriptionTokens[token] = accepted;\n  }\n\n  /**\n   * @notice Sets whether a token is accepted for redemption.\n   * @param  token    The token address\n   * @param  accepted Whether the token is accepted for redemption\n   */\n  function setAcceptedRedemptionToken(\n    address token,\n    bool accepted\n  ) external onlyRole(DEFAULT_ADMIN_ROLE) {\n    if (token == address(0)) revert TokenAddressCantBeZero();\n    // Ensure the oracle supports the token\n    if (accepted) ondoOracle.getAssetPrice(token);\n    emit AcceptedRedemptionTokenSet(token, accepted);\n    acceptedRedemptionTokens[token] = accepted;\n  }\n\n  /**\n   * @notice Admin function to set the `OndoTokenRouter` contract\n   * @param  _ondoTokenRouter The `OndoTokenRouter` contract address\n   */\n  function setOndoTokenRouter(\n    address _ondoTokenRouter\n  ) external onlyRole(DEFAULT_ADMIN_ROLE) {\n    if (_ondoTokenRouter == address(0)) revert RouterAddressCantBeZero();\n    emit OndoTokenRouterSet(address(ondoTokenRouter), _ondoTokenRouter);\n    ondoTokenRouter = IOndoTokenRouter(_ondoTokenRouter);\n  }\n\n  /**\n   * @notice Admin function to set the `OndoOracle` contract\n   * @param  _ondoOracle The `OndoOracle` contract address\n   * @dev    Will revert if new `OndoOracle` contract returns a price lower than the minimum\n   *         configured price of the RWA token\n   */\n  function setOndoOracle(\n    address _ondoOracle\n  ) external onlyRole(DEFAULT_ADMIN_ROLE) {\n    if (_ondoOracle == address(0)) revert OracleAddressCantBeZero();\n    emit OndoOracleSet(address(ondoOracle), _ondoOracle);\n    ondoOracle = IOndoOracle(_ondoOracle);\n\n    uint256 price = ondoOracle.getAssetPrice(rwaToken);\n    if (price < minimumRwaPrice) revert RWAPriceTooLow();\n  }\n\n  /**\n   * @notice Sets the `OndoCompliance` contract\n   * @param  _ondoCompliance The `OndoCompliance` contract address\n   */\n  function setOndoCompliance(\n    address _ondoCompliance\n  ) external onlyRole(DEFAULT_ADMIN_ROLE) {\n    if (_ondoCompliance == address(0)) revert ComplianceAddressCantBeZero();\n    emit OndoComplianceSet(address(ondoCompliance), _ondoCompliance);\n    ondoCompliance = IOndoCompliance(_ondoCompliance);\n\n    // Ensure that the `OndoCompliance` interface is supported and\n    // this contract is compliant\n    ondoCompliance.checkIsCompliant(rwaToken, address(this));\n  }\n\n  /**\n   * @notice Sets the `OndoIDRegistry` contract\n   * @param  _ondoIDRegistry The `OndoIDRegistry` contract address\n   */\n  function setOndoIDRegistry(\n    address _ondoIDRegistry\n  ) external onlyRole(DEFAULT_ADMIN_ROLE) {\n    if (_ondoIDRegistry == address(0)) revert IDRegistryAddressCantBeZero();\n    emit OndoIDRegistrySet(address(ondoIDRegistry), _ondoIDRegistry);\n    ondoIDRegistry = IOndoIDRegistry(_ondoIDRegistry);\n    // Ensure that the `OndoIDRegistry` interface is supported\n    ondoIDRegistry.getRegisteredID(rwaToken, address(this));\n  }\n\n  /**\n   * @notice Sets the `OndoRateLimiter` contract\n   * @param  _ondoRateLimiter The `OndoRateLimiter` contract address\n   */\n  function setOndoRateLimiter(\n    address _ondoRateLimiter\n  ) external onlyRole(DEFAULT_ADMIN_ROLE) {\n    if (_ondoRateLimiter == address(0)) revert RateLimiterAddressCantBeZero();\n    emit OndoRateLimiterSet(address(ondoRateLimiter), _ondoRateLimiter);\n    ondoRateLimiter = IOndoRateLimiter(_ondoRateLimiter);\n  }\n\n  /**\n   * @notice Sets the `AdminSubscriptionChecker` contract\n   * @param  _adminSubscriptionChecker The `AdminSubscriptionChecker` contract address\n   */\n  function setAdminSubscriptionChecker(\n    address _adminSubscriptionChecker\n  ) external onlyRole(DEFAULT_ADMIN_ROLE) {\n    if (_adminSubscriptionChecker == address(0))\n      revert AdminSubscriptionCheckerAddressCantBeZero();\n    emit AdminSubscriptionCheckerSet(\n      address(adminSubscriptionChecker),\n      _adminSubscriptionChecker\n    );\n    adminSubscriptionChecker = IAdminSubscriptionChecker(\n      _adminSubscriptionChecker\n    );\n  }\n\n  /**\n   * @notice Sets the `OndoFees` contract for subscriptions\n   * @param  _ondoSubscriptionFees The `OndoFees` contract address\n   */\n  function setOndoSubscriptionFees(\n    address _ondoSubscriptionFees\n  ) external onlyRole(DEFAULT_ADMIN_ROLE) {\n    if (_ondoSubscriptionFees == address(0)) revert FeesAddressCantBeZero();\n    emit OndoSubscriptionFeesSet(\n      address(ondoSubscriptionFees),\n      _ondoSubscriptionFees\n    );\n    ondoSubscriptionFees = IOndoFees(_ondoSubscriptionFees);\n  }\n\n  /**\n   * @notice Sets the `OndoFees` contract for redemptions\n   * @param  _ondoRedemptionFees The `OndoFees` contract address\n   */\n  function setOndoRedemptionFees(\n    address _ondoRedemptionFees\n  ) external onlyRole(DEFAULT_ADMIN_ROLE) {\n    if (_ondoRedemptionFees == address(0)) revert FeesAddressCantBeZero();\n    emit OndoRedemptionFeesSet(\n      address(ondoRedemptionFees),\n      _ondoRedemptionFees\n    );\n    ondoRedemptionFees = IOndoFees(_ondoRedemptionFees);\n  }\n\n  /**\n   * @notice Sets the minimum amount required for a subscription\n   * @param  _minimumDepositUSD The minimum amount required to subscribe, denoted in\n   *                            USD with 18 decimals\n   */\n  function setMinimumDepositAmount(\n    uint256 _minimumDepositUSD\n  ) external onlyRole(CONFIGURER_ROLE) {\n    emit MinimumDepositAmountSet(minimumDepositUSD, _minimumDepositUSD);\n    minimumDepositUSD = _minimumDepositUSD;\n  }\n\n  /**\n   * @notice Sets the minimum amount to redeem\n   * @param  _minimumRedemptionUSD The minimum amount required to redeem,\n   *                               denoted in USD with 18.\n   */\n  function setMinimumRedemptionAmount(\n    uint256 _minimumRedemptionUSD\n  ) external onlyRole(CONFIGURER_ROLE) {\n    emit MinimumRedemptionAmountSet(\n      minimumRedemptionUSD,\n      _minimumRedemptionUSD\n    );\n    minimumRedemptionUSD = _minimumRedemptionUSD;\n  }\n\n  /**\n   * @notice Sets the minimum price of RWA token\n   * @param  _minimumRwaPrice The minimum price of the RWA token\n   */\n  function setMinimumRwaPrice(\n    uint256 _minimumRwaPrice\n  ) external onlyRole(CONFIGURER_ROLE) {\n    emit MinimumRwaPriceSet(minimumRwaPrice, _minimumRwaPrice);\n    minimumRwaPrice = _minimumRwaPrice;\n  }\n\n  /**\n   * @notice Rescue and transfer tokens locked in this contract\n   * @param  token  The address of the token\n   * @param  to     The address of the recipient\n   * @param  amount The amount of token to transfer\n   */\n  function retrieveTokens(\n    address token,\n    address to,\n    uint256 amount\n  ) external onlyRole(DEFAULT_ADMIN_ROLE) {\n    IERC20(token).safeTransfer(to, amount);\n  }\n\n  /*//////////////////////////////////////////////////////////////\n                          Pause/Unpause\n  //////////////////////////////////////////////////////////////*/\n\n  /// Pause the subscribe functionality.\n  function pauseSubscribe() external onlyRole(PAUSER_ROLE) {\n    subscribePaused = true;\n    emit SubscribePaused();\n  }\n\n  /// Unpause the subscribe functionality.\n  function unpauseSubscribe() external onlyRole(DEFAULT_ADMIN_ROLE) {\n    subscribePaused = false;\n    emit SubscribeUnpaused();\n  }\n\n  /// Pause the redeem functionality.\n  function pauseRedeem() external onlyRole(PAUSER_ROLE) {\n    redeemPaused = true;\n    emit RedeemPaused();\n  }\n\n  /// Unpause the redeem functionality.\n  function unpauseRedeem() external onlyRole(DEFAULT_ADMIN_ROLE) {\n    redeemPaused = false;\n    emit RedeemUnpaused();\n  }\n\n  /// Ensure that the subscribe functionality is not paused\n  modifier whenSubscribeNotPaused() {\n    if (subscribePaused) revert SubscriptionsPaused();\n    _;\n  }\n\n  /// Ensure that the redeem functionality is not paused\n  modifier whenRedeemNotPaused() {\n    if (redeemPaused) revert RedemptionsPaused();\n    _;\n  }\n}\n"},"contracts/xManager/interfaces/IOndoRateLimiter.sol":{"content":"// SPDX-License-Identifier: MIT\n/*\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n */\npragma solidity 0.8.16;\n\ninterface IOndoRateLimiter {\n  enum TransactionType {\n    SUBSCRIPTION,\n    REDEMPTION\n  }\n\n  function checkAndUpdateRateLimit(\n    TransactionType transactionType,\n    address rwaToken,\n    bytes32 userID,\n    uint256 usdValue\n  ) external;\n}\n"},"contracts/xManager/interfaces/IOndoTokenRouter.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\n/*\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n */\npragma solidity 0.8.16;\n\ninterface IOndoTokenRouter {\n  function depositToken(\n    address rwaToken,\n    address tokenToDeposit,\n    uint256 depositAmount\n  ) external;\n\n  function withdrawToken(\n    address rwaTokenRedeemed,\n    address tokenToWithdraw,\n    bytes32 userID,\n    uint256 withdrawAmount\n  ) external;\n\n  function availableToWithdraw(\n    address rwaToken,\n    address tokenToWithdraw,\n    bytes32 userID\n  ) external view returns (uint256 totalAvailable);\n}\n"},"contracts/sanctions/SanctionsListClientUpgradeable.sol":{"content":"/**SPDX-License-Identifier: BUSL-1.1\n\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n\n */\npragma solidity 0.8.16;\n\nimport \"contracts/external/openzeppelin/contracts-upgradeable/proxy/Initializable.sol\";\nimport \"contracts/external/chainalysis/ISanctionsList.sol\";\nimport \"contracts/sanctions/ISanctionsListClient.sol\";\n\n/**\n * @title SanctionsListClient\n * @author Ondo Finance\n * @notice This abstract contract enables inheritors to query whether accounts\n *         are sanctioned or not\n */\nabstract contract SanctionsListClientUpgradeable is\n  Initializable,\n  ISanctionsListClient\n{\n  // Sanctions list address\n  ISanctionsList public override sanctionsList;\n\n  /**\n   * @notice Initialize the contract by setting blocklist variable\n   *\n   * @param _sanctionsList Address of the sanctionsList contract\n   *\n   * @dev Function should be called by the inheriting contract on\n   *      initialization\n   */\n  function __SanctionsListClientInitializable_init(\n    address _sanctionsList\n  ) internal onlyInitializing {\n    __SanctionsListClientInitializable_init_unchained(_sanctionsList);\n  }\n\n  /**\n   * @dev Internal function to future-proof parent linearization. Matches OZ\n   *      upgradeable suggestions\n   */\n  function __SanctionsListClientInitializable_init_unchained(\n    address _sanctionsList\n  ) internal onlyInitializing {\n    _setSanctionsList(_sanctionsList);\n  }\n\n  /**\n   * @notice Sets the sanctions list address for this client\n   *\n   * @param _sanctionsList The new sanctions list address\n   */\n  function _setSanctionsList(address _sanctionsList) internal {\n    if (_sanctionsList == address(0)) {\n      revert SanctionsListZeroAddress();\n    }\n    address oldSanctionsList = address(sanctionsList);\n    sanctionsList = ISanctionsList(_sanctionsList);\n    emit SanctionsListSet(oldSanctionsList, _sanctionsList);\n  }\n\n  /**\n   * @notice Checks whether an address has been sanctioned\n   *\n   * @param account The account to check\n   */\n  function _isSanctioned(address account) internal view returns (bool) {\n    return sanctionsList.isSanctioned(account);\n  }\n\n  /**\n   * @dev This empty reserved space is put in place to allow future versions to add new\n   * variables without shifting down storage in the inheritance chain.\n   * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\n   */\n  uint256[50] private __gap;\n}\n"},"contracts/xManager/interfaces/IUSDY_InstantManager.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\n/*\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n */\npragma solidity 0.8.16;\n\ninterface IUSDY_InstantManager {\n  function subscribe(\n    address depositToken,\n    uint256 depositAmount,\n    uint256 minimumRwaReceived\n  ) external returns (uint256 rwaAmountOut);\n\n  function subscribeRebasingUSDY(\n    address depositToken,\n    uint256 depositAmount,\n    uint256 minimumRwaReceived\n  ) external returns (uint256 rusdyAmountOut);\n\n  function adminSubscribe(\n    address recipient,\n    uint256 rwaAmount,\n    bytes32 metadata\n  ) external;\n\n  function adminSubscribeRebasingUSDY(\n    address recipient,\n    uint256 rusdyAmount,\n    bytes32 metadata\n  ) external;\n\n  function redeem(\n    uint256 rwaAmount,\n    address receivingToken,\n    uint256 minimumTokenReceived\n  ) external returns (uint256 receiveTokenAmount);\n\n  function redeemRebasingUSDY(\n    uint256 rwaAmount,\n    address receivingToken,\n    uint256 minimumTokenReceived\n  ) external returns (uint256 receiveTokenAmount);\n}\n"},"contracts/xManager/rwaManagers/USDY_InstantManager.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\n/*\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n */\npragma solidity 0.8.16;\n\nimport \"contracts/xManager/rwaManagers/BaseRWAManager.sol\";\nimport \"contracts/interfaces/IRWALike.sol\";\nimport \"contracts/usdy/rusdy/rUSDY.sol\";\nimport \"contracts/xManager/interfaces/IUSDY_InstantManager.sol\";\n\n/**\n * @title  USDY_InstantManager\n * @author Ondo Finance\n * @notice This contract manages instant subscriptions and redemptions of USDY and rUSDY tokens,\n *         with support for conversion between USDY and rUSDY.\n *\n *         This contract allows for:\n *         - Users to instantly subscribe to USDY or rUSDY by depositing supported tokens\n *         - Users to redeem USDY or rUSDY back to supported tokens\n *         - An admin to execute manual subscriptions for specialized use cases\n */\ncontract USDY_InstantManager is BaseRWAManager, IUSDY_InstantManager {\n  /// The rebasing USDY token contract\n  rUSDY public immutable rusdy;\n\n  /// Helper constant for converting between USDY tokens and rUSDY shares\n  uint256 public constant USDY_TO_RUSDY_SHARES_MULTIPLIER = 10_000;\n\n  /**\n   * @notice Event emitted when a user mints rUSDY\n   * @param  recipient      Address of the recipient\n   * @param  usdyAmountOut  Amount of USDY wrapped for the user\n   * @param  rusdyAmountOut Amount of rUSDY sent to user\n   * @param  depositToken   Address of the token deposited\n   * @param  depositAmount  Amount of tokens deposited, denoted in decimals of `depositToken`\n   */\n  event InstantSubscriptionRebasingUSDY(\n    address indexed recipient,\n    uint256 usdyAmountOut,\n    uint256 rusdyAmountOut,\n    address depositToken,\n    uint256 depositAmount\n  );\n\n  /**\n   * @notice Event emitted when a user redeems rUSDY\n   * @param  redeemer           Address of the redeemer\n   * @param  usdyAmountIn       Amount of USDY unwrapped for the user\n   * @param  rusdyAmountIn      Amount of the rUSDY burned for the redemption\n   * @param  receivingToken     Address of the token received\n   * @param  receiveTokenAmount Amount of tokens received, denoted in decimals of `receivingToken`\n   */\n  event InstantRedemptionRebasingUSDY(\n    address indexed redeemer,\n    uint256 usdyAmountIn,\n    uint256 rusdyAmountIn,\n    address receivingToken,\n    uint256 receiveTokenAmount\n  );\n\n  /**\n   * @notice Event emitted when an admin mints rUSDY\n   * @param  recipient   Address of the recipient\n   * @param  usdyAmount  Amount of USDY wrapped for the user\n   * @param  rusdyAmount Amount of rUSDY sent to recipient\n   * @param  metadata    Metadata for the subscription\n   */\n  event AdminSubscriptionRebasingUSDY(\n    address indexed recipient,\n    uint256 usdyAmount,\n    uint256 rusdyAmount,\n    bytes32 metadata\n  );\n\n  /// Error emitted when setting the rUSDY address to the zero address\n  error RebasingUSDYCantBeZeroAddress();\n\n  /**\n   * @param _defaultAdmin            The default admin address\n   * @param _rwaToken                The USDY token address\n   * @param _rusdy                   The rUSDY token address\n   * @param _minimumDepositAmount    The minimum deposit amount\n   * @param _minimumRedemptionAmount The minimum redemption amount\n   */\n  constructor(\n    address _defaultAdmin,\n    address _rwaToken,\n    address _rusdy,\n    uint256 _minimumDepositAmount,\n    uint256 _minimumRedemptionAmount\n  )\n    BaseRWAManager(\n      _defaultAdmin,\n      _rwaToken,\n      _minimumDepositAmount,\n      _minimumRedemptionAmount\n    )\n  {\n    if (_rusdy == address(0)) revert RebasingUSDYCantBeZeroAddress();\n    rusdy = rUSDY(_rusdy);\n  }\n\n  /**\n   * @notice Subscribes to the RWA using the specified deposit token and amount\n   * @param  depositToken       The address of the token to be deposited\n   * @param  depositAmount      The amount of the deposit token to be deposited, expected to be in\n   *                            decimals of `depositToken`\n   * @param  minimumRwaReceived The minimum amount of RWA to be received from the subscription,\n   *                            expected to be in decimals of the RWA token\n   * @return rwaAmountOut       The amount of RWA received from the subscription, expected to be in\n   *                            decimals of the RWA token\n   */\n  function subscribe(\n    address depositToken,\n    uint256 depositAmount,\n    uint256 minimumRwaReceived\n  ) external nonReentrant returns (uint256 rwaAmountOut) {\n    rwaAmountOut = _processSubscription(\n      depositToken,\n      depositAmount,\n      minimumRwaReceived\n    );\n    IRWALike(rwaToken).mint(_msgSender(), rwaAmountOut);\n  }\n\n  /**\n   * @notice Subscribes to rUSDY. This works similar to `subscribe`, but\n   *         wraps the USDY into rUSDY before transferring to the user.\n   * @param  depositToken         The token to deposit\n   * @param  depositAmount        Amount of tokens to deposit, denoted in decimals of the\n   *                              `depositToken`\n   * @param  minimumRusdyReceived Minimum amount of rUSDY to receive\n   * @return rusdyAmountOut       Amount of rUSDY received, in decimals of rUSDY\n   */\n  function subscribeRebasingUSDY(\n    address depositToken,\n    uint256 depositAmount,\n    uint256 minimumRusdyReceived\n  ) external nonReentrant returns (uint256 rusdyAmountOut) {\n    uint256 minimumOusgAmount = rusdy.getSharesByRUSDY(minimumRusdyReceived) /\n      USDY_TO_RUSDY_SHARES_MULTIPLIER;\n    uint256 usdyAmountOut = _processSubscription(\n      depositToken,\n      depositAmount,\n      minimumOusgAmount\n    );\n\n    IRWALike(rwaToken).mint(address(this), usdyAmountOut);\n    IRWALike(rwaToken).approve(address(rusdy), usdyAmountOut);\n    rusdy.wrap(usdyAmountOut);\n    rusdyAmountOut = rusdy.transferShares(\n      _msgSender(),\n      usdyAmountOut * USDY_TO_RUSDY_SHARES_MULTIPLIER\n    );\n\n    // Verify rUSDY amount received directly, avoiding precision loss from checking USDY values\n    // in `_processSubscription`\n    if (rusdyAmountOut < minimumRusdyReceived)\n      revert RwaReceiveAmountTooSmall();\n\n    emit InstantSubscriptionRebasingUSDY(\n      _msgSender(),\n      usdyAmountOut,\n      rusdyAmountOut,\n      depositToken,\n      depositAmount\n    );\n  }\n\n  /**\n   * @notice Allows an admin to subscribe on behalf of a recipient with the specified RWA amount\n   *         and metadata\n   * @param  recipient The address of the recipient\n   * @param  rwaAmount The amount of RWA to be subscribed, expected to be in decimals of the RWA\n   *                   token\n   * @param  metadata  Additional metadata associated with the subscription\n   */\n  function adminSubscribe(\n    address recipient,\n    uint256 rwaAmount,\n    bytes32 metadata\n  ) external nonReentrant {\n    _adminProcessSubscription(recipient, rwaAmount, metadata);\n    IRWALike(rwaToken).mint(recipient, rwaAmount);\n  }\n\n  /**\n   * @notice Performs an admin subscription to rUSDY. This works similar to\n   *         `adminSubscribe`, but wraps the USDY to rUSDY before transferring the tokens\n   *         to the user.\n   * @param  recipient    Recipient of the rUSDY\n   * @param  rusdyAmount  Amount of rUSDY to send, in decimals of rUSDY\n   * @param  metadata     Metadata for the subscription\n   */\n  function adminSubscribeRebasingUSDY(\n    address recipient,\n    uint256 rusdyAmount,\n    bytes32 metadata\n  ) external nonReentrant {\n    uint256 usdyAmount = rusdy.getSharesByRUSDY(rusdyAmount) /\n      USDY_TO_RUSDY_SHARES_MULTIPLIER;\n    _adminProcessSubscription(recipient, usdyAmount, metadata);\n    IRWALike(rwaToken).mint(address(this), usdyAmount);\n    IRWALike(rwaToken).approve(address(rusdy), usdyAmount);\n    rusdy.wrap(usdyAmount);\n    rusdy.transferShares(\n      recipient,\n      usdyAmount * USDY_TO_RUSDY_SHARES_MULTIPLIER\n    );\n\n    emit AdminSubscriptionRebasingUSDY(\n      recipient,\n      usdyAmount,\n      rusdyAmount,\n      metadata\n    );\n  }\n\n  /**\n   * @notice Redeems the specified amount of RWA for the receiving token\n   * @param  rwaAmount            The amount of RWA to be redeemed, expected to be in decimals of\n   *                              the RWA token\n   * @param  receivingToken       The address of the token to receive\n   * @param  minimumTokenReceived The minimum amount of the receiving token to be received,\n   *                              expected to be in decimals of `receivingToken`\n   * @return receiveTokenAmount   The amount of the token received from the redemption, expected\n   *                              to be in decimals of the `receivingToken`\n   */\n  function redeem(\n    uint256 rwaAmount,\n    address receivingToken,\n    uint256 minimumTokenReceived\n  ) external nonReentrant returns (uint256 receiveTokenAmount) {\n    IRWALike(rwaToken).transferFrom(_msgSender(), address(this), rwaAmount);\n    IRWALike(rwaToken).burn(rwaAmount);\n\n    receiveTokenAmount = _processRedemption(\n      rwaAmount,\n      receivingToken,\n      minimumTokenReceived\n    );\n  }\n\n  /**\n   * @notice Performs a rUSDY redemption. This works similar to `redeem`, but\n   *         unwraps the rUSDY to USDY before processing the redemption.\n   * @param  rusdyAmount            Amount of rUSDY to redeem\n   * @param  receivingToken         Token to receive\n   * @param  minimumTokenReceived   Minimum amount of tokens to receive, denoted in decimals of\n   *                                `receivingToken`\n   * @return receiveTokenAmount     Amount of tokens received, denoted in decimals of\n   *                                `receivingToken`\n   */\n  function redeemRebasingUSDY(\n    uint256 rusdyAmount,\n    address receivingToken,\n    uint256 minimumTokenReceived\n  ) external nonReentrant returns (uint256 receiveTokenAmount) {\n    rusdy.transferFrom(_msgSender(), address(this), rusdyAmount);\n    rusdy.unwrap(rusdyAmount);\n    uint256 usdyAmountIn = rusdy.getSharesByRUSDY(rusdyAmount) /\n      USDY_TO_RUSDY_SHARES_MULTIPLIER;\n    IRWALike(rwaToken).burn(usdyAmountIn);\n    receiveTokenAmount = _processRedemption(\n      usdyAmountIn,\n      receivingToken,\n      minimumTokenReceived\n    );\n    emit InstantRedemptionRebasingUSDY(\n      _msgSender(),\n      usdyAmountIn,\n      rusdyAmount,\n      receivingToken,\n      receiveTokenAmount\n    );\n  }\n}\n"},"contracts/usdy/blocklist/BlocklistClientUpgradeable.sol":{"content":"/**SPDX-License-Identifier: BUSL-1.1\n\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n\n */\npragma solidity 0.8.16;\n\nimport \"contracts/interfaces/IBlocklist.sol\";\nimport \"contracts/interfaces/IBlocklistClient.sol\";\nimport \"contracts/external/openzeppelin/contracts-upgradeable/proxy/Initializable.sol\";\n\n/**\n * @title BlocklistClient\n * @author Ondo Finance\n * @notice This abstract contract manages state for upgradeable blocklist\n *         clients\n */\nabstract contract BlocklistClientUpgradeable is\n  Initializable,\n  IBlocklistClient\n{\n  // Blocklist contract\n  IBlocklist public override blocklist;\n\n  /**\n   * @notice Initialize the contract by setting blocklist variable\n   *\n   * @param _blocklist Address of the blocklist contract\n   *\n   * @dev Function should be called by the inheriting contract on\n   *      initialization\n   */\n  function __BlocklistClientInitializable_init(\n    address _blocklist\n  ) internal onlyInitializing {\n    __BlocklistClientInitializable_init_unchained(_blocklist);\n  }\n\n  /**\n   * @dev Internal function to future-proof parent linearization. Matches OZ\n   *      upgradeable suggestions\n   */\n  function __BlocklistClientInitializable_init_unchained(\n    address _blocklist\n  ) internal onlyInitializing {\n    _setBlocklist(_blocklist);\n  }\n\n  /**\n   * @notice Sets the blocklist address for this client\n   *\n   * @param _blocklist The new blocklist address\n   */\n  function _setBlocklist(address _blocklist) internal {\n    if (_blocklist == address(0)) {\n      revert BlocklistZeroAddress();\n    }\n    address oldBlocklist = address(blocklist);\n    blocklist = IBlocklist(_blocklist);\n    emit BlocklistSet(oldBlocklist, _blocklist);\n  }\n\n  /**\n   * @notice Checks whether an address has been blocked\n   *\n   * @param account The account to check\n   */\n  function _isBlocked(address account) internal view returns (bool) {\n    return blocklist.isBlocked(account);\n  }\n\n  /**\n   * @dev This empty reserved space is put in place to allow future versions to add new\n   * variables without shifting down storage in the inheritance chain.\n   * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\n   */\n  uint256[50] private __gap;\n}\n"},"contracts/xManager/rwaManagers/IBaseRWAManagerErrors.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\n/*\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n */\npragma solidity 0.8.16;\n\ninterface IBaseRWAManagerErrors {\n  /// Error emitted when the token address is zero\n  error TokenAddressCantBeZero();\n\n  /// Error emitted when the token is not accepted for subscription\n  error TokenNotAccepted();\n\n  /// Error emitted when the deposit amount is too small\n  error DepositAmountTooSmall();\n\n  /// Error emitted when rwa amount is below the `minimumRwaReceived` in a subscription\n  error RwaReceiveAmountTooSmall();\n\n  /// Error emitted when the user is not registered with the ID registry\n  error UserNotRegistered();\n\n  /// Error emitted when the redemption amount is too small\n  error RedemptionAmountTooSmall();\n\n  /// Error emitted when the receive amount is below the `minimumReceiveAmount` in a redemption\n  error ReceiveAmountTooSmall();\n\n  /// Error emitted when attempting to set the `OndoTokenRouter` address to zero\n  error RouterAddressCantBeZero();\n\n  /// Error emitted when attempting to set the `OndoOracle` address to zero\n  error OracleAddressCantBeZero();\n\n  /// Error emitted when attempting to set the `OndoCompliance` address to zero\n  error ComplianceAddressCantBeZero();\n\n  /// Error emitted when attempting to set the `OndoIDRegistry` address to zero\n  error IDRegistryAddressCantBeZero();\n\n  /// Error emitted when attempting to set the `OndoRateLimiter` address to zero\n  error RateLimiterAddressCantBeZero();\n\n  /// Error emitted when attempting to set the `OndoFees` address to zero\n  error FeesAddressCantBeZero();\n\n  /// Error emitted when attempting to set the `AdminSubscriptionChecker` address to zero\n  error AdminSubscriptionCheckerAddressCantBeZero();\n\n  /// Error emitted when the price of RWA token returned from the oracle is below the minimum price\n  error RWAPriceTooLow();\n\n  /// Error emitted when the subscription functionality is paused\n  error SubscriptionsPaused();\n\n  /// Error emitted when the redemption functionality is paused\n  error RedemptionsPaused();\n\n  /// Error emitted when the fee is greater than the redemption amount\n  error FeeGreaterThanRedemption();\n\n  /// Error emitted when the fee is greater than the subscription amount\n  error FeeGreaterThanSubscription();\n}\n"},"contracts/xManager/rwaManagers/IBaseRWAManagerEvents.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\n/*\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n */\npragma solidity 0.8.16;\n\ninterface IBaseRWAManagerEvents {\n  /**\n   * @notice Event emitted when a user subscribes to an RWA token\n   * @param  subscriber      The address of the subscriber\n   * @param  subscriberId    The user ID of the subscriber\n   * @param  rwaAmount       The amount of RWA tokens minted and/or transferred, in\n   *                         decimals of the RWA token\n   * @param  depositToken    The token deposited\n   * @param  depositAmount   The amount of tokens deposited, in decimals of the\n   *                         token\n   * @param  depositUSDValue The USD value of the deposit, in 18 decimals\n   * @param  fee             The fee charged for the subscription, in USD with 18 decimals\n   */\n  event Subscription(\n    address indexed subscriber,\n    bytes32 indexed subscriberId,\n    uint256 rwaAmount,\n    address depositToken,\n    uint256 depositAmount,\n    uint256 depositUSDValue,\n    uint256 fee\n  );\n\n  /**\n   * @notice Event emitted when a user redeems an RWA token\n   * @param  redeemer           The address of the redeemer\n   * @param  redeemerId         The user ID of the redeemer\n   * @param  rwaAmount          The amount of RWA tokens redeemed, in decimals of\n   *                            the RWA token\n   * @param  receivingToken     The token received\n   * @param  receiveTokenAmount The amount of tokens received, in decimals of the\n   *                            token\n   * @param  redemptionUSDValue The USD value of the redemption, in 18 decimals\n   * @param  fee                The fee charged for the redemption, in USD with 18 decimals\n   */\n  event Redemption(\n    address indexed redeemer,\n    bytes32 indexed redeemerId,\n    uint256 rwaAmount,\n    address receivingToken,\n    uint256 receiveTokenAmount,\n    uint256 redemptionUSDValue,\n    uint256 fee\n  );\n\n  /**\n   * @notice Event emitted when an admin completes a subscription for a recipient\n   * @param  adminCaller  The address of the admin account executing the subscription\n   * @param  recipient    The address of the recipient that receives the RWA tokens\n   * @param  recipientId  The user ID of the recipient\n   * @param  rwaAmount    The amount of RWA tokens minted and/or transferred, in\n   *                      decimals of the RWA token\n   * @param  usdAmount    The USD value of the subscription, in 18 decimals\n   * @param  metadata     Additional metadata to associate with the subscription\n   */\n  event AdminSubscription(\n    address indexed adminCaller,\n    address indexed recipient,\n    bytes32 indexed recipientId,\n    uint256 rwaAmount,\n    uint256 usdAmount,\n    bytes32 metadata\n  );\n\n  /**\n   * @notice Event emitted when the `OndoTokenRouter` contract is set\n   * @param  oldOndoTokenRouter The old `OndoTokenRouter` contract address\n   * @param  newOndoTokenRouter The new `OndoTokenRouter` contract address\n   */\n  event OndoTokenRouterSet(\n    address indexed oldOndoTokenRouter,\n    address indexed newOndoTokenRouter\n  );\n\n  /**\n   * @notice Event emitted when the `OndoOracle` contract is set\n   * @param  oldOndoOracle The old `OndoOracle` contract address\n   * @param  newOndoOracle The new `OndoOracle` contract address\n   */\n  event OndoOracleSet(\n    address indexed oldOndoOracle,\n    address indexed newOndoOracle\n  );\n\n  /**\n   * @notice Event emitted when the `OndoCompliance` contract is set.\n   * @param  oldOndoCompliance The old `OndoCompliance` contract address\n   * @param  newOndoCompliance The new `OndoCompliance` contract address\n   */\n  event OndoComplianceSet(\n    address indexed oldOndoCompliance,\n    address indexed newOndoCompliance\n  );\n\n  /**\n   * @notice Event emitted when the `OndoIDRegistry` contract is set\n   * @param  oldOndoIDRegistry The old `OndoIDRegistry` contract address\n   * @param  newOndoIDRegistry The new `OndoIDRegistry` contract address\n   */\n  event OndoIDRegistrySet(\n    address indexed oldOndoIDRegistry,\n    address indexed newOndoIDRegistry\n  );\n\n  /**\n   * @notice Event emitted when the `OndoRateLimiter` contract is set\n   * @param  oldOndoRateLimiter The old `OndoRateLimiter` contract address\n   * @param  newOndoRateLimiter The new `OndoRateLimiter` contract address\n   */\n  event OndoRateLimiterSet(\n    address indexed oldOndoRateLimiter,\n    address indexed newOndoRateLimiter\n  );\n\n  /**\n   * @notice Event emitted when the `OndoFees` subscription contract is set\n   * @param  oldOndoSubscriptionFees The old `OndoFees` contract address for subscriptions\n   * @param  newOndoSubscriptionFees The new `OndoFees` contract address for subscriptions\n   */\n  event OndoSubscriptionFeesSet(\n    address indexed oldOndoSubscriptionFees,\n    address indexed newOndoSubscriptionFees\n  );\n\n  /**\n   * @notice Event emitted when the `OndoFees` redemption contract is set\n   * @param  oldOndoRedemptionFees The old `OndoFees` contract address for redemptions\n   * @param  newOndoRedemptionFees The new `OndoFees` contract address for redemptions\n   */\n  event OndoRedemptionFeesSet(\n    address indexed oldOndoRedemptionFees,\n    address indexed newOndoRedemptionFees\n  );\n\n  /**\n   * @notice Event emitted when the `AdminSubscriptionChecker` contract is set\n   * @param  oldAdminSubscriptionChecker The old `AdminSubscriptionChecker` contract address\n   * @param  newAdminSubscriptionChecker The new `AdminSubscriptionChecker` contract address\n   */\n  event AdminSubscriptionCheckerSet(\n    address indexed oldAdminSubscriptionChecker,\n    address indexed newAdminSubscriptionChecker\n  );\n\n  /**\n   * @notice Event emitted when a token's supported status is set for subscriptions\n   * @param  token    The token address\n   * @param  accepted Whether the token is accepted for deposit\n   */\n  event AcceptedSubscriptionTokenSet(\n    address indexed token,\n    bool indexed accepted\n  );\n\n  /**\n   * @notice Event emitted when a token's supported status for redemptions\n   * @param  token    The token address\n   * @param  accepted Whether the token is accepted for redemption\n   */\n  event AcceptedRedemptionTokenSet(\n    address indexed token,\n    bool indexed accepted\n  );\n\n  /**\n   * @notice Event emitted when subscription minimum is set\n   * @param  oldMinDepositAmount Old subscription minimum\n   * @param  newMinDepositAmount New subscription minimum\n   */\n  event MinimumDepositAmountSet(\n    uint256 indexed oldMinDepositAmount,\n    uint256 indexed newMinDepositAmount\n  );\n\n  /**\n   * @notice Event emitted when redeem minimum is set\n   * @param  oldMinRedemptionAmount Old redeem minimum\n   * @param  newMinRedemptionAmount New redeem minimum\n   */\n  event MinimumRedemptionAmountSet(\n    uint256 indexed oldMinRedemptionAmount,\n    uint256 indexed newMinRedemptionAmount\n  );\n\n  /**\n   * @notice Event emitted when the minimum RWA token price is set\n   * @param  oldMinimumRwaPrice Old minimum RWA token price\n   * @param  newMinimumRwaPrice New minimum RWA token price\n   */\n  event MinimumRwaPriceSet(\n    uint256 indexed oldMinimumRwaPrice,\n    uint256 indexed newMinimumRwaPrice\n  );\n\n  /// Event emitted when subscription functionality is paused\n  event SubscribePaused();\n\n  /// Event emitted when subscription functionality is unpaused\n  event SubscribeUnpaused();\n\n  /// Event emitted when redeem functionality is paused\n  event RedeemPaused();\n\n  /// Event emitted when redeem functionality is unpaused\n  event RedeemUnpaused();\n}\n"},"contracts/external/openzeppelin/contracts/token/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP.\n */\ninterface IERC20 {\n  /**\n   * @dev Returns the amount of tokens in existence.\n   */\n  function totalSupply() external view returns (uint256);\n\n  /**\n   * @dev Returns the amount of tokens owned by `account`.\n   */\n  function balanceOf(address account) external view returns (uint256);\n\n  /**\n   * @dev Moves `amount` 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 amount) 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)\n    external\n    view\n    returns (uint256);\n\n  /**\n   * @dev Sets `amount` as the allowance of `spender` over the 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 amount) external returns (bool);\n\n  /**\n   * @dev Moves `amount` tokens from `from` to `to` using the\n   * allowance mechanism. `amount` 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(\n    address from,\n    address to,\n    uint256 amount\n  ) external returns (bool);\n\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"},"contracts/external/openzeppelin/contracts/utils/ERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)\n\npragma solidity ^0.8.0;\n\nimport \"contracts/external/openzeppelin/contracts/utils/IERC165.sol\";\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts that want to implement ERC165 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 *\n * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.\n */\nabstract contract ERC165 is IERC165 {\n  /**\n   * @dev See {IERC165-supportsInterface}.\n   */\n  function supportsInterface(bytes4 interfaceId)\n    public\n    view\n    virtual\n    override\n    returns (bool)\n  {\n    return interfaceId == type(IERC165).interfaceId;\n  }\n}\n"},"contracts/external/openzeppelin/contracts/utils/Context.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\n\npragma solidity ^0.8.0;\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"},"contracts/external/openzeppelin/contracts/utils/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\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[EIP 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"},"contracts/external/openzeppelin/contracts/utils/Strings.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev String operations.\n */\nlibrary Strings {\n  bytes16 private constant _HEX_SYMBOLS = \"0123456789abcdef\";\n\n  /**\n   * @dev Converts a `uint256` to its ASCII `string` decimal representation.\n   */\n  function toString(uint256 value) internal pure returns (string memory) {\n    // Inspired by OraclizeAPI's implementation - MIT licence\n    // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\n\n    if (value == 0) {\n      return \"0\";\n    }\n    uint256 temp = value;\n    uint256 digits;\n    while (temp != 0) {\n      digits++;\n      temp /= 10;\n    }\n    bytes memory buffer = new bytes(digits);\n    while (value != 0) {\n      digits -= 1;\n      buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));\n      value /= 10;\n    }\n    return string(buffer);\n  }\n\n  /**\n   * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.\n   */\n  function toHexString(uint256 value) internal pure returns (string memory) {\n    if (value == 0) {\n      return \"0x00\";\n    }\n    uint256 temp = value;\n    uint256 length = 0;\n    while (temp != 0) {\n      length++;\n      temp >>= 8;\n    }\n    return toHexString(value, length);\n  }\n\n  /**\n   * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.\n   */\n  function toHexString(uint256 value, uint256 length)\n    internal\n    pure\n    returns (string memory)\n  {\n    bytes memory buffer = new bytes(2 * length + 2);\n    buffer[0] = \"0\";\n    buffer[1] = \"x\";\n    for (uint256 i = 2 * length + 1; i > 1; --i) {\n      buffer[i] = _HEX_SYMBOLS[value & 0xf];\n      value >>= 4;\n    }\n    require(value == 0, \"Strings: hex length insufficient\");\n    return string(buffer);\n  }\n}\n"},"contracts/xManager/interfaces/IAdminSubscriptionChecker.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\n/*\n      ▄▄█████████▄\n   ╓██▀└ ,╓▄▄▄, '▀██▄\n  ██▀ ▄██▀▀╙╙▀▀██▄ └██µ           ,,       ,,      ,     ,,,            ,,,\n ██ ,██¬ ▄████▄  ▀█▄ ╙█▄      ▄███▀▀███▄   ███▄    ██  ███▀▀▀███▄    ▄███▀▀███,\n██  ██ ╒█▀'   ╙█▌ ╙█▌ ██     ▐██      ███  █████,  ██  ██▌    └██▌  ██▌     └██▌\n██ ▐█▌ ██      ╟█  █▌ ╟█     ██▌      ▐██  ██ └███ ██  ██▌     ╟██ j██       ╟██\n╟█  ██ ╙██    ▄█▀ ▐█▌ ██     ╙██      ██▌  ██   ╙████  ██▌    ▄██▀  ██▌     ,██▀\n ██ \"██, ╙▀▀███████████⌐      ╙████████▀   ██     ╙██  ███████▀▀     ╙███████▀`\n  ██▄ ╙▀██▄▄▄▄▄,,,                ¬─                                    '─¬\n   ╙▀██▄ '╙╙╙▀▀▀▀▀▀▀▀\n      ╙▀▀██████R⌐\n */\npragma solidity 0.8.16;\n\ninterface IAdminSubscriptionChecker {\n  function checkAndUpdateAdminSubscriptionAllowance(\n    address admin,\n    uint256 usdAmount\n  ) external;\n}\n"},"contracts/external/openzeppelin/contracts/token/SafeERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.2.0) (token/ERC20/utils/SafeERC20.sol)\n\npragma solidity ^0.8.0;\n\nimport \"contracts/external/openzeppelin/contracts/token/IERC20.sol\";\n\n/**\n * @title SafeERC20\n * @dev Wrappers around ERC-20 operations that throw on failure (when the token\n * contract returns false). Tokens that return no value (and instead revert or\n * throw on failure) are also supported, non-reverting calls are assumed to be\n * successful.\n * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\n */\nlibrary SafeERC20 {\n    /**\n     * @dev An operation with an ERC-20 token failed.\n     */\n    error SafeERC20FailedOperation(address token);\n\n    /**\n     * @dev Indicates a failed `decreaseAllowance` request.\n     */\n    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);\n\n    /**\n     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     */\n    function safeTransfer(IERC20 token, address to, uint256 value) internal {\n        _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));\n    }\n\n    /**\n     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the\n     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.\n     */\n    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {\n        _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));\n    }\n\n    /**\n     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     *\n     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \"client\"\n     * smart contract uses ERC-7674 to set temporary allowances, then the \"client\" smart contract should avoid using\n     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\n     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.\n     */\n    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\n        uint256 oldAllowance = token.allowance(address(this), spender);\n        forceApprove(token, spender, oldAllowance + value);\n    }\n\n    /**\n     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no\n     * value, non-reverting calls are assumed to be successful.\n     *\n     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \"client\"\n     * smart contract uses ERC-7674 to set temporary allowances, then the \"client\" smart contract should avoid using\n     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\n     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.\n     */\n    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {\n        unchecked {\n            uint256 currentAllowance = token.allowance(address(this), spender);\n            if (currentAllowance < requestedDecrease) {\n                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);\n            }\n            forceApprove(token, spender, currentAllowance - requestedDecrease);\n        }\n    }\n\n    /**\n     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval\n     * to be set to zero before setting it to a non-zero value, such as USDT.\n     *\n     * NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function\n     * only sets the \"standard\" allowance. Any temporary allowance will remain active, in addition to the value being\n     * set here.\n     */\n    function forceApprove(IERC20 token, address spender, uint256 value) internal {\n        bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));\n\n        if (!_callOptionalReturnBool(token, approvalCall)) {\n            _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));\n            _callOptionalReturn(token, approvalCall);\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n     * on the return value: the return value is optional (but if data is returned, it must not be false).\n     * @param token The token targeted by the call.\n     * @param data The call data (encoded using abi.encode or one of its variants).\n     *\n     * This is a variant of {_callOptionalReturnBool} that reverts if call fails to meet the requirements.\n     */\n    function _callOptionalReturn(IERC20 token, bytes memory data) private {\n        uint256 returnSize;\n        uint256 returnValue;\n        assembly (\"memory-safe\") {\n            let success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)\n            // bubble errors\n            if iszero(success) {\n                let ptr := mload(0x40)\n                returndatacopy(ptr, 0, returndatasize())\n                revert(ptr, returndatasize())\n            }\n            returnSize := returndatasize()\n            returnValue := mload(0)\n        }\n\n        if (returnSize == 0 ? address(token).code.length == 0 : returnValue != 1) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n     * on the return value: the return value is optional (but if data is returned, it must not be false).\n     * @param token The token targeted by the call.\n     * @param data The call data (encoded using abi.encode or one of its variants).\n     *\n     * This is a variant of {_callOptionalReturn} that silently catches all reverts and returns a bool instead.\n     */\n    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {\n        bool success;\n        uint256 returnSize;\n        uint256 returnValue;\n        assembly (\"memory-safe\") {\n            success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)\n            returnSize := returndatasize()\n            returnValue := mload(0)\n        }\n        return success && (returnSize == 0 ? address(token).code.length > 0 : returnValue == 1);\n    }\n}"},"contracts/external/openzeppelin/contracts/utils/EnumerableSet.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/structs/EnumerableSet.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Library for managing\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n * types.\n *\n * Sets have the following properties:\n *\n * - Elements are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n *     // Add the library methods\n *     using EnumerableSet for EnumerableSet.AddressSet;\n *\n *     // Declare a set state variable\n *     EnumerableSet.AddressSet private mySet;\n * }\n * ```\n *\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n * and `uint256` (`UintSet`) are supported.\n */\nlibrary EnumerableSet {\n  // To implement this library for multiple types with as little code\n  // repetition as possible, we write it in terms of a generic Set type with\n  // bytes32 values.\n  // The Set implementation uses private functions, and user-facing\n  // implementations (such as AddressSet) are just wrappers around the\n  // underlying Set.\n  // This means that we can only create new EnumerableSets for types that fit\n  // in bytes32.\n\n  struct Set {\n    // Storage of set values\n    bytes32[] _values;\n    // Position of the value in the `values` array, plus 1 because index 0\n    // means a value is not in the set.\n    mapping(bytes32 => uint256) _indexes;\n  }\n\n  /**\n   * @dev Add a value to a set. O(1).\n   *\n   * Returns true if the value was added to the set, that is if it was not\n   * already present.\n   */\n  function _add(Set storage set, bytes32 value) private returns (bool) {\n    if (!_contains(set, value)) {\n      set._values.push(value);\n      // The value is stored at length-1, but we add 1 to all indexes\n      // and use 0 as a sentinel value\n      set._indexes[value] = set._values.length;\n      return true;\n    } else {\n      return false;\n    }\n  }\n\n  /**\n   * @dev Removes a value from a set. O(1).\n   *\n   * Returns true if the value was removed from the set, that is if it was\n   * present.\n   */\n  function _remove(Set storage set, bytes32 value) private returns (bool) {\n    // We read and store the value's index to prevent multiple reads from the same storage slot\n    uint256 valueIndex = set._indexes[value];\n\n    if (valueIndex != 0) {\n      // Equivalent to contains(set, value)\n      // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\n      // the array, and then remove the last element (sometimes called as 'swap and pop').\n      // This modifies the order of the array, as noted in {at}.\n\n      uint256 toDeleteIndex = valueIndex - 1;\n      uint256 lastIndex = set._values.length - 1;\n\n      if (lastIndex != toDeleteIndex) {\n        bytes32 lastvalue = set._values[lastIndex];\n\n        // Move the last value to the index where the value to delete is\n        set._values[toDeleteIndex] = lastvalue;\n        // Update the index for the moved value\n        set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex\n      }\n\n      // Delete the slot where the moved value was stored\n      set._values.pop();\n\n      // Delete the index for the deleted slot\n      delete set._indexes[value];\n\n      return true;\n    } else {\n      return false;\n    }\n  }\n\n  /**\n   * @dev Returns true if the value is in the set. O(1).\n   */\n  function _contains(Set storage set, bytes32 value)\n    private\n    view\n    returns (bool)\n  {\n    return set._indexes[value] != 0;\n  }\n\n  /**\n   * @dev Returns the number of values on the set. O(1).\n   */\n  function _length(Set storage set) private view returns (uint256) {\n    return set._values.length;\n  }\n\n  /**\n   * @dev Returns the value stored at position `index` in the set. O(1).\n   *\n   * Note that there are no guarantees on the ordering of values inside the\n   * array, and it may change when more values are added or removed.\n   *\n   * Requirements:\n   *\n   * - `index` must be strictly less than {length}.\n   */\n  function _at(Set storage set, uint256 index) private view returns (bytes32) {\n    return set._values[index];\n  }\n\n  /**\n   * @dev Return the entire set in an array\n   *\n   * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n   * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n   * this function has an unbounded cost, and using it as part of a state-changing function may render the function\n   * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\n   */\n  function _values(Set storage set) private view returns (bytes32[] memory) {\n    return set._values;\n  }\n\n  // Bytes32Set\n\n  struct Bytes32Set {\n    Set _inner;\n  }\n\n  /**\n   * @dev Add a value to a set. O(1).\n   *\n   * Returns true if the value was added to the set, that is if it was not\n   * already present.\n   */\n  function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n    return _add(set._inner, value);\n  }\n\n  /**\n   * @dev Removes a value from a set. O(1).\n   *\n   * Returns true if the value was removed from the set, that is if it was\n   * present.\n   */\n  function remove(Bytes32Set storage set, bytes32 value)\n    internal\n    returns (bool)\n  {\n    return _remove(set._inner, value);\n  }\n\n  /**\n   * @dev Returns true if the value is in the set. O(1).\n   */\n  function contains(Bytes32Set storage set, bytes32 value)\n    internal\n    view\n    returns (bool)\n  {\n    return _contains(set._inner, value);\n  }\n\n  /**\n   * @dev Returns the number of values in the set. O(1).\n   */\n  function length(Bytes32Set storage set) internal view returns (uint256) {\n    return _length(set._inner);\n  }\n\n  /**\n   * @dev Returns the value stored at position `index` in the set. O(1).\n   *\n   * Note that there are no guarantees on the ordering of values inside the\n   * array, and it may change when more values are added or removed.\n   *\n   * Requirements:\n   *\n   * - `index` must be strictly less than {length}.\n   */\n  function at(Bytes32Set storage set, uint256 index)\n    internal\n    view\n    returns (bytes32)\n  {\n    return _at(set._inner, index);\n  }\n\n  /**\n   * @dev Return the entire set in an array\n   *\n   * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n   * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n   * this function has an unbounded cost, and using it as part of a state-changing function may render the function\n   * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\n   */\n  function values(Bytes32Set storage set)\n    internal\n    view\n    returns (bytes32[] memory)\n  {\n    return _values(set._inner);\n  }\n\n  // AddressSet\n\n  struct AddressSet {\n    Set _inner;\n  }\n\n  /**\n   * @dev Add a value to a set. O(1).\n   *\n   * Returns true if the value was added to the set, that is if it was not\n   * already present.\n   */\n  function add(AddressSet storage set, address value) internal returns (bool) {\n    return _add(set._inner, bytes32(uint256(uint160(value))));\n  }\n\n  /**\n   * @dev Removes a value from a set. O(1).\n   *\n   * Returns true if the value was removed from the set, that is if it was\n   * present.\n   */\n  function remove(AddressSet storage set, address value)\n    internal\n    returns (bool)\n  {\n    return _remove(set._inner, bytes32(uint256(uint160(value))));\n  }\n\n  /**\n   * @dev Returns true if the value is in the set. O(1).\n   */\n  function contains(AddressSet storage set, address value)\n    internal\n    view\n    returns (bool)\n  {\n    return _contains(set._inner, bytes32(uint256(uint160(value))));\n  }\n\n  /**\n   * @dev Returns the number of values in the set. O(1).\n   */\n  function length(AddressSet storage set) internal view returns (uint256) {\n    return _length(set._inner);\n  }\n\n  /**\n   * @dev Returns the value stored at position `index` in the set. O(1).\n   *\n   * Note that there are no guarantees on the ordering of values inside the\n   * array, and it may change when more values are added or removed.\n   *\n   * Requirements:\n   *\n   * - `index` must be strictly less than {length}.\n   */\n  function at(AddressSet storage set, uint256 index)\n    internal\n    view\n    returns (address)\n  {\n    return address(uint160(uint256(_at(set._inner, index))));\n  }\n\n  /**\n   * @dev Return the entire set in an array\n   *\n   * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n   * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n   * this function has an unbounded cost, and using it as part of a state-changing function may render the function\n   * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\n   */\n  function values(AddressSet storage set)\n    internal\n    view\n    returns (address[] memory)\n  {\n    bytes32[] memory store = _values(set._inner);\n    address[] memory result;\n\n    assembly {\n      result := store\n    }\n\n    return result;\n  }\n\n  // UintSet\n\n  struct UintSet {\n    Set _inner;\n  }\n\n  /**\n   * @dev Add a value to a set. O(1).\n   *\n   * Returns true if the value was added to the set, that is if it was not\n   * already present.\n   */\n  function add(UintSet storage set, uint256 value) internal returns (bool) {\n    return _add(set._inner, bytes32(value));\n  }\n\n  /**\n   * @dev Removes a value from a set. O(1).\n   *\n   * Returns true if the value was removed from the set, that is if it was\n   * present.\n   */\n  function remove(UintSet storage set, uint256 value) internal returns (bool) {\n    return _remove(set._inner, bytes32(value));\n  }\n\n  /**\n   * @dev Returns true if the value is in the set. O(1).\n   */\n  function contains(UintSet storage set, uint256 value)\n    internal\n    view\n    returns (bool)\n  {\n    return _contains(set._inner, bytes32(value));\n  }\n\n  /**\n   * @dev Returns the number of values on the set. O(1).\n   */\n  function length(UintSet storage set) internal view returns (uint256) {\n    return _length(set._inner);\n  }\n\n  /**\n   * @dev Returns the value stored at position `index` in the set. O(1).\n   *\n   * Note that there are no guarantees on the ordering of values inside the\n   * array, and it may change when more values are added or removed.\n   *\n   * Requirements:\n   *\n   * - `index` must be strictly less than {length}.\n   */\n  function at(UintSet storage set, uint256 index)\n    internal\n    view\n    returns (uint256)\n  {\n    return uint256(_at(set._inner, index));\n  }\n\n  /**\n   * @dev Return the entire set in an array\n   *\n   * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n   * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n   * this function has an unbounded cost, and using it as part of a state-changing function may render the function\n   * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\n   */\n  function values(UintSet storage set)\n    internal\n    view\n    returns (uint256[] memory)\n  {\n    bytes32[] memory store = _values(set._inner);\n    uint256[] memory result;\n\n    assembly {\n      result := store\n    }\n\n    return result;\n  }\n}\n"},"contracts/external/openzeppelin/contracts/access/AccessControl.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol)\n\npragma solidity ^0.8.0;\n\nimport \"contracts/external/openzeppelin/contracts/access/IAccessControl.sol\";\nimport \"contracts/external/openzeppelin/contracts/utils/Context.sol\";\nimport \"contracts/external/openzeppelin/contracts/utils/Strings.sol\";\nimport \"contracts/external/openzeppelin/contracts/utils/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 * ```\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 * ```\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.\n */\nabstract contract AccessControl is Context, IAccessControl, ERC165 {\n  struct RoleData {\n    mapping(address => bool) members;\n    bytes32 adminRole;\n  }\n\n  mapping(bytes32 => 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 a standardized message including the required role.\n   *\n   * The format of the revert reason is given by the following regular expression:\n   *\n   *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/\n   *\n   * _Available since v4.1._\n   */\n  modifier onlyRole(bytes32 role) {\n    _checkRole(role, _msgSender());\n    _;\n  }\n\n  /**\n   * @dev See {IERC165-supportsInterface}.\n   */\n  function supportsInterface(bytes4 interfaceId)\n    public\n    view\n    virtual\n    override\n    returns (bool)\n  {\n    return\n      interfaceId == type(IAccessControl).interfaceId ||\n      super.supportsInterface(interfaceId);\n  }\n\n  /**\n   * @dev Returns `true` if `account` has been granted `role`.\n   */\n  function hasRole(bytes32 role, address account)\n    public\n    view\n    virtual\n    override\n    returns (bool)\n  {\n    return _roles[role].members[account];\n  }\n\n  /**\n   * @dev Revert with a standard message if `account` is missing `role`.\n   *\n   * The format of the revert reason is given by the following regular expression:\n   *\n   *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/\n   */\n  function _checkRole(bytes32 role, address account) internal view virtual {\n    if (!hasRole(role, account)) {\n      revert(\n        string(\n          abi.encodePacked(\n            \"AccessControl: account \",\n            Strings.toHexString(uint160(account), 20),\n            \" is missing role \",\n            Strings.toHexString(uint256(role), 32)\n          )\n        )\n      );\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)\n    public\n    view\n    virtual\n    override\n    returns (bytes32)\n  {\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  function grantRole(bytes32 role, address account)\n    public\n    virtual\n    override\n    onlyRole(getRoleAdmin(role))\n  {\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  function revokeRole(bytes32 role, address account)\n    public\n    virtual\n    override\n    onlyRole(getRoleAdmin(role))\n  {\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 `account`.\n   */\n  function renounceRole(bytes32 role, address account) public virtual override {\n    require(\n      account == _msgSender(),\n      \"AccessControl: can only renounce roles for self\"\n    );\n\n    _revokeRole(role, account);\n  }\n\n  /**\n   * @dev Grants `role` to `account`.\n   *\n   * If `account` had not been already granted `role`, emits a {RoleGranted}\n   * event. Note that unlike {grantRole}, this function doesn't perform any\n   * checks on the calling account.\n   *\n   * [WARNING]\n   * ====\n   * This function should only be called from the constructor when setting\n   * up the initial roles for the system.\n   *\n   * Using this function in any other way is effectively circumventing the admin\n   * system imposed by {AccessControl}.\n   * ====\n   *\n   * NOTE: This function is deprecated in favor of {_grantRole}.\n   */\n  function _setupRole(bytes32 role, address account) internal virtual {\n    _grantRole(role, account);\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 Grants `role` to `account`.\n   *\n   * Internal function without access restriction.\n   */\n  function _grantRole(bytes32 role, address account) internal virtual {\n    if (!hasRole(role, account)) {\n      _roles[role].members[account] = true;\n      emit RoleGranted(role, account, _msgSender());\n    }\n  }\n\n  /**\n   * @dev Revokes `role` from `account`.\n   *\n   * Internal function without access restriction.\n   */\n  function _revokeRole(bytes32 role, address account) internal virtual {\n    if (hasRole(role, account)) {\n      _roles[role].members[account] = false;\n      emit RoleRevoked(role, account, _msgSender());\n    }\n  }\n}\n"},"contracts/external/openzeppelin/contracts/token/IERC20Metadata.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)\n\npragma solidity ^0.8.0;\n\nimport \"contracts/external/openzeppelin/contracts/token/IERC20.sol\";\n\n/**\n * @dev Interface for the optional metadata functions from the ERC20 standard.\n *\n * _Available since v4.1._\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"},"contracts/external/openzeppelin/contracts/access/IAccessControl.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev External interface of AccessControl declared to support ERC165 detection.\n */\ninterface IAccessControl {\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   * _Available since v3.1._\n   */\n  event RoleAdminChanged(\n    bytes32 indexed role,\n    bytes32 indexed previousAdminRole,\n    bytes32 indexed newAdminRole\n  );\n\n  /**\n   * @dev Emitted when `account` is granted `role`.\n   *\n   * `sender` is the account that originated the contract call, an admin role\n   * bearer except when using {AccessControl-_setupRole}.\n   */\n  event RoleGranted(\n    bytes32 indexed role,\n    address indexed account,\n    address indexed sender\n  );\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(\n    bytes32 indexed role,\n    address indexed account,\n    address indexed sender\n  );\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 `account`.\n   */\n  function renounceRole(bytes32 role, address account) external;\n}\n"},"contracts/external/openzeppelin/contracts/security/ReentrancyGuard.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Contract module that helps prevent reentrant calls to a function.\n *\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\n * available, which can be applied to functions to make sure there are no nested\n * (reentrant) calls to them.\n *\n * Note that because there is a single `nonReentrant` guard, functions marked as\n * `nonReentrant` may not call one another. This can be worked around by making\n * those functions `private`, and then adding `external` `nonReentrant` entry\n * points to them.\n *\n * TIP: If you would like to learn more about reentrancy and alternative ways\n * to protect against it, check out our blog post\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\n */\nabstract contract ReentrancyGuard {\n  // Booleans are more expensive than uint256 or any type that takes up a full\n  // word because each write operation emits an extra SLOAD to first read the\n  // slot's contents, replace the bits taken up by the boolean, and then write\n  // back. This is the compiler's defense against contract upgrades and\n  // pointer aliasing, and it cannot be disabled.\n\n  // The values being non-zero value makes deployment a bit more expensive,\n  // but in exchange the refund on every call to nonReentrant will be lower in\n  // amount. Since refunds are capped to a percentage of the total\n  // transaction's gas, it is best to keep them low in cases like this one, to\n  // increase the likelihood of the full refund coming into effect.\n  uint256 private constant _NOT_ENTERED = 1;\n  uint256 private constant _ENTERED = 2;\n\n  uint256 private _status;\n\n  constructor() {\n    _status = _NOT_ENTERED;\n  }\n\n  /**\n   * @dev Prevents a contract from calling itself, directly or indirectly.\n   * Calling a `nonReentrant` function from another `nonReentrant`\n   * function is not supported. It is possible to prevent this from happening\n   * by making the `nonReentrant` function external, and making it call a\n   * `private` function that does the actual work.\n   */\n  modifier nonReentrant() {\n    // On the first call to nonReentrant, _notEntered will be true\n    require(_status != _ENTERED, \"ReentrancyGuard: reentrant call\");\n\n    // Any calls to nonReentrant after this point will fail\n    _status = _ENTERED;\n\n    _;\n\n    // By storing the original value once again, a refund is triggered (see\n    // https://eips.ethereum.org/EIPS/eip-2200)\n    _status = _NOT_ENTERED;\n  }\n}\n"},"contracts/external/openzeppelin/contracts/access/AccessControlEnumerable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol)\n\npragma solidity ^0.8.0;\n\nimport \"contracts/external/openzeppelin/contracts/access/IAccessControlEnumerable.sol\";\nimport \"contracts/external/openzeppelin/contracts/access/AccessControl.sol\";\nimport \"contracts/external/openzeppelin/contracts/utils/EnumerableSet.sol\";\n\n/**\n * @dev Extension of {AccessControl} that allows enumerating the members of each role.\n */\nabstract contract AccessControlEnumerable is\n  IAccessControlEnumerable,\n  AccessControl\n{\n  using EnumerableSet for EnumerableSet.AddressSet;\n\n  mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;\n\n  /**\n   * @dev See {IERC165-supportsInterface}.\n   */\n  function supportsInterface(bytes4 interfaceId)\n    public\n    view\n    virtual\n    override\n    returns (bool)\n  {\n    return\n      interfaceId == type(IAccessControlEnumerable).interfaceId ||\n      super.supportsInterface(interfaceId);\n  }\n\n  /**\n   * @dev Returns one of the accounts that have `role`. `index` must be a\n   * value between 0 and {getRoleMemberCount}, non-inclusive.\n   *\n   * Role bearers are not sorted in any particular way, and their ordering may\n   * change at any point.\n   *\n   * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\n   * you perform all queries on the same block. See the following\n   * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\n   * for more information.\n   */\n  function getRoleMember(bytes32 role, uint256 index)\n    public\n    view\n    virtual\n    override\n    returns (address)\n  {\n    return _roleMembers[role].at(index);\n  }\n\n  /**\n   * @dev Returns the number of accounts that have `role`. Can be used\n   * together with {getRoleMember} to enumerate all bearers of a role.\n   */\n  function getRoleMemberCount(bytes32 role)\n    public\n    view\n    virtual\n    override\n    returns (uint256)\n  {\n    return _roleMembers[role].length();\n  }\n\n  /**\n   * @dev Overload {_grantRole} to track enumerable memberships\n   */\n  function _grantRole(bytes32 role, address account) internal virtual override {\n    super._grantRole(role, account);\n    _roleMembers[role].add(account);\n  }\n\n  /**\n   * @dev Overload {_revokeRole} to track enumerable memberships\n   */\n  function _revokeRole(bytes32 role, address account)\n    internal\n    virtual\n    override\n  {\n    super._revokeRole(role, account);\n    _roleMembers[role].remove(account);\n  }\n}\n"},"contracts/external/openzeppelin/contracts-upgradeable/proxy/Initializable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.7.0) (proxy/utils/Initializable.sol)\n\npragma solidity ^0.8.2;\n\nimport \"contracts/external/openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol\";\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 * ```\n * contract MyToken is ERC20Upgradeable {\n *     function initialize() initializer public {\n *         __ERC20_init(\"MyToken\", \"MTK\");\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 Indicates that the contract has been initialized.\n   * @custom:oz-retyped-from bool\n   */\n  uint8 private _initialized;\n\n  /**\n   * @dev Indicates that the contract is in the process of being initialized.\n   */\n  bool private _initializing;\n\n  /**\n   * @dev Triggered when the contract has been initialized or reinitialized.\n   */\n  event Initialized(uint8 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. Equivalent to `reinitializer(1)`.\n   */\n  modifier initializer() {\n    bool isTopLevelCall = !_initializing;\n    require(\n      (isTopLevelCall && _initialized < 1) ||\n        (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),\n      \"Initializable: contract is already initialized\"\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   * `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original\n   * initialization step. This is essential to configure modules that are added through upgrades and that require\n   * initialization.\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  modifier reinitializer(uint8 version) {\n    require(\n      !_initializing && _initialized < version,\n      \"Initializable: contract is already initialized\"\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    require(_initializing, \"Initializable: contract is not initializing\");\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  function _disableInitializers() internal virtual {\n    require(!_initializing, \"Initializable: contract is initializing\");\n    if (_initialized < type(uint8).max) {\n      _initialized = type(uint8).max;\n      emit Initialized(type(uint8).max);\n    }\n  }\n}\n"},"contracts/external/openzeppelin/contracts/access/IAccessControlEnumerable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)\n\npragma solidity ^0.8.0;\n\nimport \"contracts/external/openzeppelin/contracts/access/IAccessControl.sol\";\n\n/**\n * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.\n */\ninterface IAccessControlEnumerable is IAccessControl {\n  /**\n   * @dev Returns one of the accounts that have `role`. `index` must be a\n   * value between 0 and {getRoleMemberCount}, non-inclusive.\n   *\n   * Role bearers are not sorted in any particular way, and their ordering may\n   * change at any point.\n   *\n   * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\n   * you perform all queries on the same block. See the following\n   * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\n   * for more information.\n   */\n  function getRoleMember(bytes32 role, uint256 index)\n    external\n    view\n    returns (address);\n\n  /**\n   * @dev Returns the number of accounts that have `role`. Can be used\n   * together with {getRoleMember} to enumerate all bearers of a role.\n   */\n  function getRoleMemberCount(bytes32 role) external view returns (uint256);\n}\n"},"contracts/external/openzeppelin/contracts-upgradeable/utils/ERC165Upgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)\n\npragma solidity ^0.8.0;\n\nimport \"contracts/external/openzeppelin/contracts-upgradeable/utils/IERC165Upgradeable.sol\";\nimport \"contracts/external/openzeppelin/contracts-upgradeable/proxy/Initializable.sol\";\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts that want to implement ERC165 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 *\n * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.\n */\nabstract contract ERC165Upgradeable is Initializable, IERC165Upgradeable {\n  function __ERC165_init() internal onlyInitializing {}\n\n  function __ERC165_init_unchained() internal onlyInitializing {}\n\n  /**\n   * @dev See {IERC165-supportsInterface}.\n   */\n  function supportsInterface(bytes4 interfaceId)\n    public\n    view\n    virtual\n    override\n    returns (bool)\n  {\n    return interfaceId == type(IERC165Upgradeable).interfaceId;\n  }\n\n  /**\n   * @dev This empty reserved space is put in place to allow future versions to add new\n   * variables without shifting down storage in the inheritance chain.\n   * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\n   */\n  uint256[50] private __gap;\n}\n"},"contracts/external/openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)\n\npragma solidity ^0.8.1;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary AddressUpgradeable {\n  /**\n   * @dev Returns true if `account` is a contract.\n   *\n   * [IMPORTANT]\n   * ====\n   * It is unsafe to assume that an address for which this function returns\n   * false is an externally-owned account (EOA) and not a contract.\n   *\n   * Among others, `isContract` will return false for the following\n   * types of addresses:\n   *\n   *  - an externally-owned account\n   *  - a contract in construction\n   *  - an address where a contract will be created\n   *  - an address where a contract lived, but was destroyed\n   * ====\n   *\n   * [IMPORTANT]\n   * ====\n   * You shouldn't rely on `isContract` to protect against flash loan attacks!\n   *\n   * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\n   * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\n   * constructor.\n   * ====\n   */\n  function isContract(address account) internal view returns (bool) {\n    // This method relies on extcodesize/address.code.length, which returns 0\n    // for contracts in construction, since the code is only stored at the end\n    // of the constructor execution.\n\n    return account.code.length > 0;\n  }\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://diligence.consensys.net/posts/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.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n   */\n  function sendValue(address payable recipient, uint256 amount) internal {\n    require(address(this).balance >= amount, \"Address: insufficient balance\");\n\n    (bool success, ) = recipient.call{value: amount}(\"\");\n    require(\n      success,\n      \"Address: unable to send value, recipient may have reverted\"\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, it is bubbled up by this\n   * function (like regular Solidity function calls).\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   * _Available since v3.1._\n   */\n  function functionCall(address target, bytes memory data)\n    internal\n    returns (bytes memory)\n  {\n    return functionCall(target, data, \"Address: low-level call failed\");\n  }\n\n  /**\n   * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n   * `errorMessage` as a fallback revert reason when `target` reverts.\n   *\n   * _Available since v3.1._\n   */\n  function functionCall(\n    address target,\n    bytes memory data,\n    string memory errorMessage\n  ) internal returns (bytes memory) {\n    return functionCallWithValue(target, data, 0, errorMessage);\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   * _Available since v3.1._\n   */\n  function functionCallWithValue(\n    address target,\n    bytes memory data,\n    uint256 value\n  ) internal returns (bytes memory) {\n    return\n      functionCallWithValue(\n        target,\n        data,\n        value,\n        \"Address: low-level call with value failed\"\n      );\n  }\n\n  /**\n   * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n   * with `errorMessage` as a fallback revert reason when `target` reverts.\n   *\n   * _Available since v3.1._\n   */\n  function functionCallWithValue(\n    address target,\n    bytes memory data,\n    uint256 value,\n    string memory errorMessage\n  ) internal returns (bytes memory) {\n    require(\n      address(this).balance >= value,\n      \"Address: insufficient balance for call\"\n    );\n    require(isContract(target), \"Address: call to non-contract\");\n\n    (bool success, bytes memory returndata) = target.call{value: value}(data);\n    return verifyCallResult(success, returndata, errorMessage);\n  }\n\n  /**\n   * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n   * but performing a static call.\n   *\n   * _Available since v3.3._\n   */\n  function functionStaticCall(address target, bytes memory data)\n    internal\n    view\n    returns (bytes memory)\n  {\n    return\n      functionStaticCall(target, data, \"Address: low-level static call failed\");\n  }\n\n  /**\n   * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n   * but performing a static call.\n   *\n   * _Available since v3.3._\n   */\n  function functionStaticCall(\n    address target,\n    bytes memory data,\n    string memory errorMessage\n  ) internal view returns (bytes memory) {\n    require(isContract(target), \"Address: static call to non-contract\");\n\n    (bool success, bytes memory returndata) = target.staticcall(data);\n    return verifyCallResult(success, returndata, errorMessage);\n  }\n\n  /**\n   * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the\n   * revert reason using the provided one.\n   *\n   * _Available since v4.3._\n   */\n  function verifyCallResult(\n    bool success,\n    bytes memory returndata,\n    string memory errorMessage\n  ) internal pure returns (bytes memory) {\n    if (success) {\n      return returndata;\n    } else {\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        /// @solidity memory-safe-assembly\n        assembly {\n          let returndata_size := mload(returndata)\n          revert(add(32, returndata), returndata_size)\n        }\n      } else {\n        revert(errorMessage);\n      }\n    }\n  }\n}\n"},"contracts/external/openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\n\npragma solidity ^0.8.0;\nimport \"contracts/external/openzeppelin/contracts-upgradeable/proxy/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  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  /**\n   * @dev This empty reserved space is put in place to allow future versions to add new\n   * variables without shifting down storage in the inheritance chain.\n   * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\n   */\n  uint256[50] private __gap;\n}\n"},"contracts/external/openzeppelin/contracts-upgradeable/utils/IERC165Upgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\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 IERC165Upgradeable {\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[EIP 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"},"contracts/external/openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev String operations.\n */\nlibrary StringsUpgradeable {\n  bytes16 private constant _HEX_SYMBOLS = \"0123456789abcdef\";\n  uint8 private constant _ADDRESS_LENGTH = 20;\n\n  /**\n   * @dev Converts a `uint256` to its ASCII `string` decimal representation.\n   */\n  function toString(uint256 value) internal pure returns (string memory) {\n    // Inspired by OraclizeAPI's implementation - MIT licence\n    // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\n\n    if (value == 0) {\n      return \"0\";\n    }\n    uint256 temp = value;\n    uint256 digits;\n    while (temp != 0) {\n      digits++;\n      temp /= 10;\n    }\n    bytes memory buffer = new bytes(digits);\n    while (value != 0) {\n      digits -= 1;\n      buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));\n      value /= 10;\n    }\n    return string(buffer);\n  }\n\n  /**\n   * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.\n   */\n  function toHexString(uint256 value) internal pure returns (string memory) {\n    if (value == 0) {\n      return \"0x00\";\n    }\n    uint256 temp = value;\n    uint256 length = 0;\n    while (temp != 0) {\n      length++;\n      temp >>= 8;\n    }\n    return toHexString(value, length);\n  }\n\n  /**\n   * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.\n   */\n  function toHexString(uint256 value, uint256 length)\n    internal\n    pure\n    returns (string memory)\n  {\n    bytes memory buffer = new bytes(2 * length + 2);\n    buffer[0] = \"0\";\n    buffer[1] = \"x\";\n    for (uint256 i = 2 * length + 1; i > 1; --i) {\n      buffer[i] = _HEX_SYMBOLS[value & 0xf];\n      value >>= 4;\n    }\n    require(value == 0, \"Strings: hex length insufficient\");\n    return string(buffer);\n  }\n\n  /**\n   * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.\n   */\n  function toHexString(address addr) internal pure returns (string memory) {\n    return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);\n  }\n}\n"},"contracts/external/openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)\n\npragma solidity ^0.8.0;\n\nimport \"contracts/external/openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol\";\nimport \"contracts/external/openzeppelin/contracts-upgradeable/proxy/Initializable.sol\";\n\n/**\n * @dev Contract module which allows children to implement an emergency stop\n * mechanism that can be triggered by an authorized account.\n *\n * This module is used through inheritance. It will make available the\n * modifiers `whenNotPaused` and `whenPaused`, which can be applied to\n * the functions of your contract. Note that they will not be pausable by\n * simply including this module, only once the modifiers are put in place.\n */\nabstract contract PausableUpgradeable is Initializable, ContextUpgradeable {\n  /**\n   * @dev Emitted when the pause is triggered by `account`.\n   */\n  event Paused(address account);\n\n  /**\n   * @dev Emitted when the pause is lifted by `account`.\n   */\n  event Unpaused(address account);\n\n  bool private _paused;\n\n  /**\n   * @dev Initializes the contract in unpaused state.\n   */\n  function __Pausable_init() internal onlyInitializing {\n    __Pausable_init_unchained();\n  }\n\n  function __Pausable_init_unchained() internal onlyInitializing {\n    _paused = false;\n  }\n\n  /**\n   * @dev Modifier to make a function callable only when the contract is not paused.\n   *\n   * Requirements:\n   *\n   * - The contract must not be paused.\n   */\n  modifier whenNotPaused() {\n    _requireNotPaused();\n    _;\n  }\n\n  /**\n   * @dev Modifier to make a function callable only when the contract is paused.\n   *\n   * Requirements:\n   *\n   * - The contract must be paused.\n   */\n  modifier whenPaused() {\n    _requirePaused();\n    _;\n  }\n\n  /**\n   * @dev Returns true if the contract is paused, and false otherwise.\n   */\n  function paused() public view virtual returns (bool) {\n    return _paused;\n  }\n\n  /**\n   * @dev Throws if the contract is paused.\n   */\n  function _requireNotPaused() internal view virtual {\n    require(!paused(), \"Pausable: paused\");\n  }\n\n  /**\n   * @dev Throws if the contract is not paused.\n   */\n  function _requirePaused() internal view virtual {\n    require(paused(), \"Pausable: not paused\");\n  }\n\n  /**\n   * @dev Triggers stopped state.\n   *\n   * Requirements:\n   *\n   * - The contract must not be paused.\n   */\n  function _pause() internal virtual whenNotPaused {\n    _paused = true;\n    emit Paused(_msgSender());\n  }\n\n  /**\n   * @dev Returns to normal state.\n   *\n   * Requirements:\n   *\n   * - The contract must be paused.\n   */\n  function _unpause() internal virtual whenPaused {\n    _paused = false;\n    emit Unpaused(_msgSender());\n  }\n\n  /**\n   * @dev This empty reserved space is put in place to allow future versions to add new\n   * variables without shifting down storage in the inheritance chain.\n   * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\n   */\n  uint256[49] private __gap;\n}\n"},"contracts/external/openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP.\n */\ninterface IERC20Upgradeable {\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 amount of tokens in existence.\n   */\n  function totalSupply() external view returns (uint256);\n\n  /**\n   * @dev Returns the amount of tokens owned by `account`.\n   */\n  function balanceOf(address account) external view returns (uint256);\n\n  /**\n   * @dev Moves `amount` 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 amount) 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)\n    external\n    view\n    returns (uint256);\n\n  /**\n   * @dev Sets `amount` as the allowance of `spender` over the 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 amount) external returns (bool);\n\n  /**\n   * @dev Moves `amount` tokens from `from` to `to` using the\n   * allowance mechanism. `amount` 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(\n    address from,\n    address to,\n    uint256 amount\n  ) external returns (bool);\n}\n"},"contracts/external/openzeppelin/contracts-upgradeable/utils/EnumerableSetUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/structs/EnumerableSet.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Library for managing\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n * types.\n *\n * Sets have the following properties:\n *\n * - Elements are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n *     // Add the library methods\n *     using EnumerableSet for EnumerableSet.AddressSet;\n *\n *     // Declare a set state variable\n *     EnumerableSet.AddressSet private mySet;\n * }\n * ```\n *\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n * and `uint256` (`UintSet`) are supported.\n *\n * [WARNING]\n * ====\n *  Trying to delete such a structure from storage will likely result in data corruption, rendering the structure unusable.\n *  See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.\n *\n *  In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an array of EnumerableSet.\n * ====\n */\nlibrary EnumerableSetUpgradeable {\n  // To implement this library for multiple types with as little code\n  // repetition as possible, we write it in terms of a generic Set type with\n  // bytes32 values.\n  // The Set implementation uses private functions, and user-facing\n  // implementations (such as AddressSet) are just wrappers around the\n  // underlying Set.\n  // This means that we can only create new EnumerableSets for types that fit\n  // in bytes32.\n\n  struct Set {\n    // Storage of set values\n    bytes32[] _values;\n    // Position of the value in the `values` array, plus 1 because index 0\n    // means a value is not in the set.\n    mapping(bytes32 => uint256) _indexes;\n  }\n\n  /**\n   * @dev Add a value to a set. O(1).\n   *\n   * Returns true if the value was added to the set, that is if it was not\n   * already present.\n   */\n  function _add(Set storage set, bytes32 value) private returns (bool) {\n    if (!_contains(set, value)) {\n      set._values.push(value);\n      // The value is stored at length-1, but we add 1 to all indexes\n      // and use 0 as a sentinel value\n      set._indexes[value] = set._values.length;\n      return true;\n    } else {\n      return false;\n    }\n  }\n\n  /**\n   * @dev Removes a value from a set. O(1).\n   *\n   * Returns true if the value was removed from the set, that is if it was\n   * present.\n   */\n  function _remove(Set storage set, bytes32 value) private returns (bool) {\n    // We read and store the value's index to prevent multiple reads from the same storage slot\n    uint256 valueIndex = set._indexes[value];\n\n    if (valueIndex != 0) {\n      // Equivalent to contains(set, value)\n      // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\n      // the array, and then remove the last element (sometimes called as 'swap and pop').\n      // This modifies the order of the array, as noted in {at}.\n\n      uint256 toDeleteIndex = valueIndex - 1;\n      uint256 lastIndex = set._values.length - 1;\n\n      if (lastIndex != toDeleteIndex) {\n        bytes32 lastValue = set._values[lastIndex];\n\n        // Move the last value to the index where the value to delete is\n        set._values[toDeleteIndex] = lastValue;\n        // Update the index for the moved value\n        set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex\n      }\n\n      // Delete the slot where the moved value was stored\n      set._values.pop();\n\n      // Delete the index for the deleted slot\n      delete set._indexes[value];\n\n      return true;\n    } else {\n      return false;\n    }\n  }\n\n  /**\n   * @dev Returns true if the value is in the set. O(1).\n   */\n  function _contains(Set storage set, bytes32 value)\n    private\n    view\n    returns (bool)\n  {\n    return set._indexes[value] != 0;\n  }\n\n  /**\n   * @dev Returns the number of values on the set. O(1).\n   */\n  function _length(Set storage set) private view returns (uint256) {\n    return set._values.length;\n  }\n\n  /**\n   * @dev Returns the value stored at position `index` in the set. O(1).\n   *\n   * Note that there are no guarantees on the ordering of values inside the\n   * array, and it may change when more values are added or removed.\n   *\n   * Requirements:\n   *\n   * - `index` must be strictly less than {length}.\n   */\n  function _at(Set storage set, uint256 index) private view returns (bytes32) {\n    return set._values[index];\n  }\n\n  /**\n   * @dev Return the entire set in an array\n   *\n   * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n   * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n   * this function has an unbounded cost, and using it as part of a state-changing function may render the function\n   * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\n   */\n  function _values(Set storage set) private view returns (bytes32[] memory) {\n    return set._values;\n  }\n\n  // Bytes32Set\n\n  struct Bytes32Set {\n    Set _inner;\n  }\n\n  /**\n   * @dev Add a value to a set. O(1).\n   *\n   * Returns true if the value was added to the set, that is if it was not\n   * already present.\n   */\n  function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n    return _add(set._inner, value);\n  }\n\n  /**\n   * @dev Removes a value from a set. O(1).\n   *\n   * Returns true if the value was removed from the set, that is if it was\n   * present.\n   */\n  function remove(Bytes32Set storage set, bytes32 value)\n    internal\n    returns (bool)\n  {\n    return _remove(set._inner, value);\n  }\n\n  /**\n   * @dev Returns true if the value is in the set. O(1).\n   */\n  function contains(Bytes32Set storage set, bytes32 value)\n    internal\n    view\n    returns (bool)\n  {\n    return _contains(set._inner, value);\n  }\n\n  /**\n   * @dev Returns the number of values in the set. O(1).\n   */\n  function length(Bytes32Set storage set) internal view returns (uint256) {\n    return _length(set._inner);\n  }\n\n  /**\n   * @dev Returns the value stored at position `index` in the set. O(1).\n   *\n   * Note that there are no guarantees on the ordering of values inside the\n   * array, and it may change when more values are added or removed.\n   *\n   * Requirements:\n   *\n   * - `index` must be strictly less than {length}.\n   */\n  function at(Bytes32Set storage set, uint256 index)\n    internal\n    view\n    returns (bytes32)\n  {\n    return _at(set._inner, index);\n  }\n\n  /**\n   * @dev Return the entire set in an array\n   *\n   * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n   * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n   * this function has an unbounded cost, and using it as part of a state-changing function may render the function\n   * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\n   */\n  function values(Bytes32Set storage set)\n    internal\n    view\n    returns (bytes32[] memory)\n  {\n    return _values(set._inner);\n  }\n\n  // AddressSet\n\n  struct AddressSet {\n    Set _inner;\n  }\n\n  /**\n   * @dev Add a value to a set. O(1).\n   *\n   * Returns true if the value was added to the set, that is if it was not\n   * already present.\n   */\n  function add(AddressSet storage set, address value) internal returns (bool) {\n    return _add(set._inner, bytes32(uint256(uint160(value))));\n  }\n\n  /**\n   * @dev Removes a value from a set. O(1).\n   *\n   * Returns true if the value was removed from the set, that is if it was\n   * present.\n   */\n  function remove(AddressSet storage set, address value)\n    internal\n    returns (bool)\n  {\n    return _remove(set._inner, bytes32(uint256(uint160(value))));\n  }\n\n  /**\n   * @dev Returns true if the value is in the set. O(1).\n   */\n  function contains(AddressSet storage set, address value)\n    internal\n    view\n    returns (bool)\n  {\n    return _contains(set._inner, bytes32(uint256(uint160(value))));\n  }\n\n  /**\n   * @dev Returns the number of values in the set. O(1).\n   */\n  function length(AddressSet storage set) internal view returns (uint256) {\n    return _length(set._inner);\n  }\n\n  /**\n   * @dev Returns the value stored at position `index` in the set. O(1).\n   *\n   * Note that there are no guarantees on the ordering of values inside the\n   * array, and it may change when more values are added or removed.\n   *\n   * Requirements:\n   *\n   * - `index` must be strictly less than {length}.\n   */\n  function at(AddressSet storage set, uint256 index)\n    internal\n    view\n    returns (address)\n  {\n    return address(uint160(uint256(_at(set._inner, index))));\n  }\n\n  /**\n   * @dev Return the entire set in an array\n   *\n   * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n   * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n   * this function has an unbounded cost, and using it as part of a state-changing function may render the function\n   * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\n   */\n  function values(AddressSet storage set)\n    internal\n    view\n    returns (address[] memory)\n  {\n    bytes32[] memory store = _values(set._inner);\n    address[] memory result;\n\n    /// @solidity memory-safe-assembly\n    assembly {\n      result := store\n    }\n\n    return result;\n  }\n\n  // UintSet\n\n  struct UintSet {\n    Set _inner;\n  }\n\n  /**\n   * @dev Add a value to a set. O(1).\n   *\n   * Returns true if the value was added to the set, that is if it was not\n   * already present.\n   */\n  function add(UintSet storage set, uint256 value) internal returns (bool) {\n    return _add(set._inner, bytes32(value));\n  }\n\n  /**\n   * @dev Removes a value from a set. O(1).\n   *\n   * Returns true if the value was removed from the set, that is if it was\n   * present.\n   */\n  function remove(UintSet storage set, uint256 value) internal returns (bool) {\n    return _remove(set._inner, bytes32(value));\n  }\n\n  /**\n   * @dev Returns true if the value is in the set. O(1).\n   */\n  function contains(UintSet storage set, uint256 value)\n    internal\n    view\n    returns (bool)\n  {\n    return _contains(set._inner, bytes32(value));\n  }\n\n  /**\n   * @dev Returns the number of values on the set. O(1).\n   */\n  function length(UintSet storage set) internal view returns (uint256) {\n    return _length(set._inner);\n  }\n\n  /**\n   * @dev Returns the value stored at position `index` in the set. O(1).\n   *\n   * Note that there are no guarantees on the ordering of values inside the\n   * array, and it may change when more values are added or removed.\n   *\n   * Requirements:\n   *\n   * - `index` must be strictly less than {length}.\n   */\n  function at(UintSet storage set, uint256 index)\n    internal\n    view\n    returns (uint256)\n  {\n    return uint256(_at(set._inner, index));\n  }\n\n  /**\n   * @dev Return the entire set in an array\n   *\n   * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n   * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n   * this function has an unbounded cost, and using it as part of a state-changing function may render the function\n   * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\n   */\n  function values(UintSet storage set)\n    internal\n    view\n    returns (uint256[] memory)\n  {\n    bytes32[] memory store = _values(set._inner);\n    uint256[] memory result;\n\n    /// @solidity memory-safe-assembly\n    assembly {\n      result := store\n    }\n\n    return result;\n  }\n}\n"},"contracts/external/openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol)\n\npragma solidity ^0.8.0;\n\nimport \"contracts/external/openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable.sol\";\nimport \"contracts/external/openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol\";\nimport \"contracts/external/openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol\";\nimport \"contracts/external/openzeppelin/contracts-upgradeable/utils/ERC165Upgradeable.sol\";\nimport \"contracts/external/openzeppelin/contracts-upgradeable/proxy/Initializable.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 * ```\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 * ```\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.\n */\nabstract contract AccessControlUpgradeable is\n  Initializable,\n  ContextUpgradeable,\n  IAccessControlUpgradeable,\n  ERC165Upgradeable\n{\n  function __AccessControl_init() internal onlyInitializing {}\n\n  function __AccessControl_init_unchained() internal onlyInitializing {}\n\n  struct RoleData {\n    mapping(address => bool) members;\n    bytes32 adminRole;\n  }\n\n  mapping(bytes32 => 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 a standardized message including the required role.\n   *\n   * The format of the revert reason is given by the following regular expression:\n   *\n   *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/\n   *\n   * _Available since v4.1._\n   */\n  modifier onlyRole(bytes32 role) {\n    _checkRole(role);\n    _;\n  }\n\n  /**\n   * @dev See {IERC165-supportsInterface}.\n   */\n  function supportsInterface(bytes4 interfaceId)\n    public\n    view\n    virtual\n    override\n    returns (bool)\n  {\n    return\n      interfaceId == type(IAccessControlUpgradeable).interfaceId ||\n      super.supportsInterface(interfaceId);\n  }\n\n  /**\n   * @dev Returns `true` if `account` has been granted `role`.\n   */\n  function hasRole(bytes32 role, address account)\n    public\n    view\n    virtual\n    override\n    returns (bool)\n  {\n    return _roles[role].members[account];\n  }\n\n  /**\n   * @dev Revert with a standard message if `_msgSender()` is missing `role`.\n   * Overriding this function changes the behavior of the {onlyRole} modifier.\n   *\n   * Format of the revert message is described in {_checkRole}.\n   *\n   * _Available since v4.6._\n   */\n  function _checkRole(bytes32 role) internal view virtual {\n    _checkRole(role, _msgSender());\n  }\n\n  /**\n   * @dev Revert with a standard message if `account` is missing `role`.\n   *\n   * The format of the revert reason is given by the following regular expression:\n   *\n   *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/\n   */\n  function _checkRole(bytes32 role, address account) internal view virtual {\n    if (!hasRole(role, account)) {\n      revert(\n        string(\n          abi.encodePacked(\n            \"AccessControl: account \",\n            StringsUpgradeable.toHexString(uint160(account), 20),\n            \" is missing role \",\n            StringsUpgradeable.toHexString(uint256(role), 32)\n          )\n        )\n      );\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)\n    public\n    view\n    virtual\n    override\n    returns (bytes32)\n  {\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)\n    public\n    virtual\n    override\n    onlyRole(getRoleAdmin(role))\n  {\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)\n    public\n    virtual\n    override\n    onlyRole(getRoleAdmin(role))\n  {\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 `account`.\n   *\n   * May emit a {RoleRevoked} event.\n   */\n  function renounceRole(bytes32 role, address account) public virtual override {\n    require(\n      account == _msgSender(),\n      \"AccessControl: can only renounce roles for self\"\n    );\n\n    _revokeRole(role, account);\n  }\n\n  /**\n   * @dev Grants `role` to `account`.\n   *\n   * If `account` had not been already granted `role`, emits a {RoleGranted}\n   * event. Note that unlike {grantRole}, this function doesn't perform any\n   * checks on the calling account.\n   *\n   * May emit a {RoleGranted} event.\n   *\n   * [WARNING]\n   * ====\n   * This function should only be called from the constructor when setting\n   * up the initial roles for the system.\n   *\n   * Using this function in any other way is effectively circumventing the admin\n   * system imposed by {AccessControl}.\n   * ====\n   *\n   * NOTE: This function is deprecated in favor of {_grantRole}.\n   */\n  function _setupRole(bytes32 role, address account) internal virtual {\n    _grantRole(role, account);\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 Grants `role` to `account`.\n   *\n   * Internal function without access restriction.\n   *\n   * May emit a {RoleGranted} event.\n   */\n  function _grantRole(bytes32 role, address account) internal virtual {\n    if (!hasRole(role, account)) {\n      _roles[role].members[account] = true;\n      emit RoleGranted(role, account, _msgSender());\n    }\n  }\n\n  /**\n   * @dev Revokes `role` from `account`.\n   *\n   * Internal function without access restriction.\n   *\n   * May emit a {RoleRevoked} event.\n   */\n  function _revokeRole(bytes32 role, address account) internal virtual {\n    if (hasRole(role, account)) {\n      _roles[role].members[account] = false;\n      emit RoleRevoked(role, account, _msgSender());\n    }\n  }\n\n  /**\n   * @dev This empty reserved space is put in place to allow future versions to add new\n   * variables without shifting down storage in the inheritance chain.\n   * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\n   */\n  uint256[49] private __gap;\n}\n"},"contracts/external/openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev External interface of AccessControl declared to support ERC165 detection.\n */\ninterface IAccessControlUpgradeable {\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   * _Available since v3.1._\n   */\n  event RoleAdminChanged(\n    bytes32 indexed role,\n    bytes32 indexed previousAdminRole,\n    bytes32 indexed newAdminRole\n  );\n\n  /**\n   * @dev Emitted when `account` is granted `role`.\n   *\n   * `sender` is the account that originated the contract call, an admin role\n   * bearer except when using {AccessControl-_setupRole}.\n   */\n  event RoleGranted(\n    bytes32 indexed role,\n    address indexed account,\n    address indexed sender\n  );\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(\n    bytes32 indexed role,\n    address indexed account,\n    address indexed sender\n  );\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 `account`.\n   */\n  function renounceRole(bytes32 role, address account) external;\n}\n"},"contracts/external/openzeppelin/contracts-upgradeable/token/ERC20/IERC20MetadataUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)\n\npragma solidity ^0.8.0;\n\nimport \"contracts/external/openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol\";\n\n/**\n * @dev Interface for the optional metadata functions from the ERC20 standard.\n *\n * _Available since v4.1._\n */\ninterface IERC20MetadataUpgradeable is IERC20Upgradeable {\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"},"contracts/external/openzeppelin/contracts-upgradeable/access/AccessControlEnumerableUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol)\n\npragma solidity ^0.8.0;\n\nimport \"contracts/external/openzeppelin/contracts-upgradeable/access/IAccessControlEnumerableUpgradeable.sol\";\nimport \"contracts/external/openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol\";\nimport \"contracts/external/openzeppelin/contracts-upgradeable/utils/EnumerableSetUpgradeable.sol\";\nimport \"contracts/external/openzeppelin/contracts-upgradeable/proxy/Initializable.sol\";\n\n/**\n * @dev Extension of {AccessControl} that allows enumerating the members of each role.\n */\nabstract contract AccessControlEnumerableUpgradeable is\n  Initializable,\n  IAccessControlEnumerableUpgradeable,\n  AccessControlUpgradeable\n{\n  function __AccessControlEnumerable_init() internal onlyInitializing {}\n\n  function __AccessControlEnumerable_init_unchained()\n    internal\n    onlyInitializing\n  {}\n\n  using EnumerableSetUpgradeable for EnumerableSetUpgradeable.AddressSet;\n\n  mapping(bytes32 => EnumerableSetUpgradeable.AddressSet) private _roleMembers;\n\n  /**\n   * @dev See {IERC165-supportsInterface}.\n   */\n  function supportsInterface(bytes4 interfaceId)\n    public\n    view\n    virtual\n    override\n    returns (bool)\n  {\n    return\n      interfaceId == type(IAccessControlEnumerableUpgradeable).interfaceId ||\n      super.supportsInterface(interfaceId);\n  }\n\n  /**\n   * @dev Returns one of the accounts that have `role`. `index` must be a\n   * value between 0 and {getRoleMemberCount}, non-inclusive.\n   *\n   * Role bearers are not sorted in any particular way, and their ordering may\n   * change at any point.\n   *\n   * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\n   * you perform all queries on the same block. See the following\n   * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\n   * for more information.\n   */\n  function getRoleMember(bytes32 role, uint256 index)\n    public\n    view\n    virtual\n    override\n    returns (address)\n  {\n    return _roleMembers[role].at(index);\n  }\n\n  /**\n   * @dev Returns the number of accounts that have `role`. Can be used\n   * together with {getRoleMember} to enumerate all bearers of a role.\n   */\n  function getRoleMemberCount(bytes32 role)\n    public\n    view\n    virtual\n    override\n    returns (uint256)\n  {\n    return _roleMembers[role].length();\n  }\n\n  /**\n   * @dev Overload {_grantRole} to track enumerable memberships\n   */\n  function _grantRole(bytes32 role, address account) internal virtual override {\n    super._grantRole(role, account);\n    _roleMembers[role].add(account);\n  }\n\n  /**\n   * @dev Overload {_revokeRole} to track enumerable memberships\n   */\n  function _revokeRole(bytes32 role, address account)\n    internal\n    virtual\n    override\n  {\n    super._revokeRole(role, account);\n    _roleMembers[role].remove(account);\n  }\n\n  /**\n   * @dev This empty reserved space is put in place to allow future versions to add new\n   * variables without shifting down storage in the inheritance chain.\n   * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\n   */\n  uint256[49] private __gap;\n}\n"},"contracts/external/openzeppelin/contracts-upgradeable/access/IAccessControlEnumerableUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)\n\npragma solidity ^0.8.0;\n\nimport \"./IAccessControlUpgradeable.sol\";\n\n/**\n * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.\n */\ninterface IAccessControlEnumerableUpgradeable is IAccessControlUpgradeable {\n  /**\n   * @dev Returns one of the accounts that have `role`. `index` must be a\n   * value between 0 and {getRoleMemberCount}, non-inclusive.\n   *\n   * Role bearers are not sorted in any particular way, and their ordering may\n   * change at any point.\n   *\n   * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\n   * you perform all queries on the same block. See the following\n   * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\n   * for more information.\n   */\n  function getRoleMember(bytes32 role, uint256 index)\n    external\n    view\n    returns (address);\n\n  /**\n   * @dev Returns the number of accounts that have `role`. Can be used\n   * together with {getRoleMember} to enumerate all bearers of a role.\n   */\n  function getRoleMemberCount(bytes32 role) external view returns (uint256);\n}\n"}},"language":"Solidity","settings":{"viaIR":false,"metadata":{"bytecodeHash":"ipfs","useLiteralContent":false},"optimizer":{"runs":200,"enabled":true},"evmVersion":"london","remappings":["eth-gas-reporter/=node_modules/eth-gas-reporter/","forge-tests/=forge-tests/","lib/=lib/","@aragon/=node_modules/@aragon/","@ensdomains/=node_modules/@ensdomains/","@openzeppelin/=node_modules/@openzeppelin/","@uniswap/=node_modules/@uniswap/","forge-std/=lib/forge-std/src/","hardhat-deploy/=node_modules/hardhat-deploy/","hardhat/=node_modules/hardhat/","math/=node_modules/@aragon/os/contracts/lib/math/","misc/=node_modules/@aragon/os/contracts/lib/misc/","solidity-bytes-utils/=node_modules/solidity-bytes-utils/","standards/=node_modules/@aragon/os/contracts/lib/standards/","token/=node_modules/@aragon/os/contracts/lib/token/","truffle/=node_modules/truffle/"]}},"stdJsonOutput":{"sources":{"contracts/interfaces/IUSDY.sol":{"id":31},"contracts/usdy/rusdy/rUSDY.sol":{"id":36},"contracts/interfaces/IRWALike.sol":{"id":30},"contracts/interfaces/IBlocklist.sol":{"id":28},"contracts/interfaces/IBlocklistClient.sol":{"id":29},"contracts/rwaOracles/IRWADynamicOracle.sol":{"id":32},"contracts/xManager/interfaces/IOndoFees.sol":{"id":39},"contracts/sanctions/ISanctionsListClient.sol":{"id":33},"contracts/xManager/interfaces/IOndoOracle.sol":{"id":41},"contracts/xManager/interfaces/ITokenSource.sol":{"id":45},"contracts/external/chainalysis/ISanctionsList.sol":{"id":0},"contracts/xManager/interfaces/IOndoCompliance.sol":{"id":38},"contracts/xManager/interfaces/IOndoIDRegistry.sol":{"id":40},"contracts/xManager/interfaces/ITokenRecipient.sol":{"id":44},"contracts/xManager/rwaManagers/BaseRWAManager.sol":{"id":47},"contracts/xManager/interfaces/IOndoRateLimiter.sol":{"id":42},"contracts/xManager/interfaces/IOndoTokenRouter.sol":{"id":43},"contracts/sanctions/SanctionsListClientUpgradeable.sol":{"id":34},"contracts/xManager/interfaces/IUSDY_InstantManager.sol":{"id":46},"contracts/xManager/rwaManagers/USDY_InstantManager.sol":{"id":50},"contracts/usdy/blocklist/BlocklistClientUpgradeable.sol":{"id":35},"contracts/xManager/rwaManagers/IBaseRWAManagerErrors.sol":{"id":48},"contracts/xManager/rwaManagers/IBaseRWAManagerEvents.sol":{"id":49},"contracts/external/openzeppelin/contracts/token/IERC20.sol":{"id":20},"contracts/external/openzeppelin/contracts/utils/ERC165.sol":{"id":24},"contracts/external/openzeppelin/contracts/utils/Context.sol":{"id":23},"contracts/external/openzeppelin/contracts/utils/IERC165.sol":{"id":26},"contracts/external/openzeppelin/contracts/utils/Strings.sol":{"id":27},"contracts/xManager/interfaces/IAdminSubscriptionChecker.sol":{"id":37},"contracts/external/openzeppelin/contracts/token/SafeERC20.sol":{"id":22},"contracts/external/openzeppelin/contracts/utils/EnumerableSet.sol":{"id":25},"contracts/external/openzeppelin/contracts/access/AccessControl.sol":{"id":15},"contracts/external/openzeppelin/contracts/token/IERC20Metadata.sol":{"id":21},"contracts/external/openzeppelin/contracts/access/IAccessControl.sol":{"id":17},"contracts/external/openzeppelin/contracts/security/ReentrancyGuard.sol":{"id":19},"contracts/external/openzeppelin/contracts/access/AccessControlEnumerable.sol":{"id":16},"contracts/external/openzeppelin/contracts-upgradeable/proxy/Initializable.sol":{"id":5},"contracts/external/openzeppelin/contracts/access/IAccessControlEnumerable.sol":{"id":18},"contracts/external/openzeppelin/contracts-upgradeable/utils/ERC165Upgradeable.sol":{"id":11},"contracts/external/openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol":{"id":9},"contracts/external/openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol":{"id":10},"contracts/external/openzeppelin/contracts-upgradeable/utils/IERC165Upgradeable.sol":{"id":13},"contracts/external/openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol":{"id":14},"contracts/external/openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol":{"id":6},"contracts/external/openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol":{"id":8},"contracts/external/openzeppelin/contracts-upgradeable/utils/EnumerableSetUpgradeable.sol":{"id":12},"contracts/external/openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol":{"id":2},"contracts/external/openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable.sol":{"id":4},"contracts/external/openzeppelin/contracts-upgradeable/token/ERC20/IERC20MetadataUpgradeable.sol":{"id":7},"contracts/external/openzeppelin/contracts-upgradeable/access/AccessControlEnumerableUpgradeable.sol":{"id":1},"contracts/external/openzeppelin/contracts-upgradeable/access/IAccessControlEnumerableUpgradeable.sol":{"id":3}},"contracts":{"contracts/xManager/rwaManagers/USDY_InstantManager.sol":{"USDY_InstantManager":{"abi":[{"type":"constructor","inputs":[{"name":"_defaultAdmin","type":"address","internalType":"address"},{"name":"_rwaToken","type":"address","internalType":"address"},{"name":"_rusdy","type":"address","internalType":"address"},{"name":"_minimumDepositAmount","type":"uint256","internalType":"uint256"},{"name":"_minimumRedemptionAmount","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"AdminSubscriptionCheckerAddressCantBeZero","type":"error","inputs":[]},{"name":"ComplianceAddressCantBeZero","type":"error","inputs":[]},{"name":"DepositAmountTooSmall","type":"error","inputs":[]},{"name":"FeeGreaterThanRedemption","type":"error","inputs":[]},{"name":"FeeGreaterThanSubscription","type":"error","inputs":[]},{"name":"FeesAddressCantBeZero","type":"error","inputs":[]},{"name":"IDRegistryAddressCantBeZero","type":"error","inputs":[]},{"name":"OracleAddressCantBeZero","type":"error","inputs":[]},{"name":"RWAPriceTooLow","type":"error","inputs":[]},{"name":"RateLimiterAddressCantBeZero","type":"error","inputs":[]},{"name":"RebasingUSDYCantBeZeroAddress","type":"error","inputs":[]},{"name":"ReceiveAmountTooSmall","type":"error","inputs":[]},{"name":"RedemptionAmountTooSmall","type":"error","inputs":[]},{"name":"RedemptionsPaused","type":"error","inputs":[]},{"name":"RouterAddressCantBeZero","type":"error","inputs":[]},{"name":"RwaReceiveAmountTooSmall","type":"error","inputs":[]},{"name":"SafeERC20FailedOperation","type":"error","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"name":"SubscriptionsPaused","type":"error","inputs":[]},{"name":"TokenAddressCantBeZero","type":"error","inputs":[]},{"name":"TokenNotAccepted","type":"error","inputs":[]},{"name":"UserNotRegistered","type":"error","inputs":[]},{"name":"AcceptedRedemptionTokenSet","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"accepted","type":"bool","indexed":true,"internalType":"bool"}],"anonymous":false},{"name":"AcceptedSubscriptionTokenSet","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"accepted","type":"bool","indexed":true,"internalType":"bool"}],"anonymous":false},{"name":"AdminSubscription","type":"event","inputs":[{"name":"adminCaller","type":"address","indexed":true,"internalType":"address"},{"name":"recipient","type":"address","indexed":true,"internalType":"address"},{"name":"recipientId","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"rwaAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"usdAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"metadata","type":"bytes32","indexed":false,"internalType":"bytes32"}],"anonymous":false},{"name":"AdminSubscriptionCheckerSet","type":"event","inputs":[{"name":"oldAdminSubscriptionChecker","type":"address","indexed":true,"internalType":"address"},{"name":"newAdminSubscriptionChecker","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"AdminSubscriptionRebasingUSDY","type":"event","inputs":[{"name":"recipient","type":"address","indexed":true,"internalType":"address"},{"name":"usdyAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"rusdyAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"metadata","type":"bytes32","indexed":false,"internalType":"bytes32"}],"anonymous":false},{"name":"InstantRedemptionRebasingUSDY","type":"event","inputs":[{"name":"redeemer","type":"address","indexed":true,"internalType":"address"},{"name":"usdyAmountIn","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"rusdyAmountIn","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"receivingToken","type":"address","indexed":false,"internalType":"address"},{"name":"receiveTokenAmount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"InstantSubscriptionRebasingUSDY","type":"event","inputs":[{"name":"recipient","type":"address","indexed":true,"internalType":"address"},{"name":"usdyAmountOut","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"rusdyAmountOut","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"depositToken","type":"address","indexed":false,"internalType":"address"},{"name":"depositAmount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"MinimumDepositAmountSet","type":"event","inputs":[{"name":"oldMinDepositAmount","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newMinDepositAmount","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"MinimumRedemptionAmountSet","type":"event","inputs":[{"name":"oldMinRedemptionAmount","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newMinRedemptionAmount","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"MinimumRwaPriceSet","type":"event","inputs":[{"name":"oldMinimumRwaPrice","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newMinimumRwaPrice","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"OndoComplianceSet","type":"event","inputs":[{"name":"oldOndoCompliance","type":"address","indexed":true,"internalType":"address"},{"name":"newOndoCompliance","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"OndoIDRegistrySet","type":"event","inputs":[{"name":"oldOndoIDRegistry","type":"address","indexed":true,"internalType":"address"},{"name":"newOndoIDRegistry","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"OndoOracleSet","type":"event","inputs":[{"name":"oldOndoOracle","type":"address","indexed":true,"internalType":"address"},{"name":"newOndoOracle","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"OndoRateLimiterSet","type":"event","inputs":[{"name":"oldOndoRateLimiter","type":"address","indexed":true,"internalType":"address"},{"name":"newOndoRateLimiter","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"OndoRedemptionFeesSet","type":"event","inputs":[{"name":"oldOndoRedemptionFees","type":"address","indexed":true,"internalType":"address"},{"name":"newOndoRedemptionFees","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"OndoSubscriptionFeesSet","type":"event","inputs":[{"name":"oldOndoSubscriptionFees","type":"address","indexed":true,"internalType":"address"},{"name":"newOndoSubscriptionFees","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"OndoTokenRouterSet","type":"event","inputs":[{"name":"oldOndoTokenRouter","type":"address","indexed":true,"internalType":"address"},{"name":"newOndoTokenRouter","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"RedeemPaused","type":"event","inputs":[],"anonymous":false},{"name":"RedeemUnpaused","type":"event","inputs":[],"anonymous":false},{"name":"Redemption","type":"event","inputs":[{"name":"redeemer","type":"address","indexed":true,"internalType":"address"},{"name":"redeemerId","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"rwaAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"receivingToken","type":"address","indexed":false,"internalType":"address"},{"name":"receiveTokenAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"redemptionUSDValue","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"fee","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"RoleAdminChanged","type":"event","inputs":[{"name":"role","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"previousAdminRole","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"newAdminRole","type":"bytes32","indexed":true,"internalType":"bytes32"}],"anonymous":false},{"name":"RoleGranted","type":"event","inputs":[{"name":"role","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"account","type":"address","indexed":true,"internalType":"address"},{"name":"sender","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"RoleRevoked","type":"event","inputs":[{"name":"role","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"account","type":"address","indexed":true,"internalType":"address"},{"name":"sender","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"SubscribePaused","type":"event","inputs":[],"anonymous":false},{"name":"SubscribeUnpaused","type":"event","inputs":[],"anonymous":false},{"name":"Subscription","type":"event","inputs":[{"name":"subscriber","type":"address","indexed":true,"internalType":"address"},{"name":"subscriberId","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"rwaAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"depositToken","type":"address","indexed":false,"internalType":"address"},{"name":"depositAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"depositUSDValue","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"fee","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"ADMIN_SUBSCRIPTION_ROLE","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"CONFIGURER_ROLE","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"DEFAULT_ADMIN_ROLE","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"PAUSER_ROLE","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"RWA_NORMALIZER","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"USDY_TO_RUSDY_SHARES_MULTIPLIER","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"USD_NORMALIZER","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"acceptedRedemptionTokens","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"acceptedSubscriptionTokens","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"adminSubscribe","type":"function","inputs":[{"name":"recipient","type":"address","internalType":"address"},{"name":"rwaAmount","type":"uint256","internalType":"uint256"},{"name":"metadata","type":"bytes32","internalType":"bytes32"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"adminSubscribeRebasingUSDY","type":"function","inputs":[{"name":"recipient","type":"address","internalType":"address"},{"name":"rusdyAmount","type":"uint256","internalType":"uint256"},{"name":"metadata","type":"bytes32","internalType":"bytes32"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"adminSubscriptionChecker","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IAdminSubscriptionChecker"}],"stateMutability":"view"},{"name":"getRoleAdmin","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"getRoleMember","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"},{"name":"index","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"getRoleMemberCount","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"grantRole","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"},{"name":"account","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"hasRole","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"},{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"minimumDepositUSD","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"minimumRedemptionUSD","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"minimumRwaPrice","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"ondoCompliance","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IOndoCompliance"}],"stateMutability":"view"},{"name":"ondoIDRegistry","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IOndoIDRegistry"}],"stateMutability":"view"},{"name":"ondoOracle","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IOndoOracle"}],"stateMutability":"view"},{"name":"ondoRateLimiter","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IOndoRateLimiter"}],"stateMutability":"view"},{"name":"ondoRedemptionFees","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IOndoFees"}],"stateMutability":"view"},{"name":"ondoSubscriptionFees","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IOndoFees"}],"stateMutability":"view"},{"name":"ondoTokenRouter","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IOndoTokenRouter"}],"stateMutability":"view"},{"name":"pauseRedeem","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"pauseSubscribe","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"redeem","type":"function","inputs":[{"name":"rwaAmount","type":"uint256","internalType":"uint256"},{"name":"receivingToken","type":"address","internalType":"address"},{"name":"minimumTokenReceived","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"receiveTokenAmount","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"redeemPaused","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"redeemRebasingUSDY","type":"function","inputs":[{"name":"rusdyAmount","type":"uint256","internalType":"uint256"},{"name":"receivingToken","type":"address","internalType":"address"},{"name":"minimumTokenReceived","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"receiveTokenAmount","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"renounceRole","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"},{"name":"account","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"retrieveTokens","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"revokeRole","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"},{"name":"account","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"rusdy","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract rUSDY"}],"stateMutability":"view"},{"name":"rwaToken","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"setAcceptedRedemptionToken","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"accepted","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setAcceptedSubscriptionToken","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"accepted","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setAdminSubscriptionChecker","type":"function","inputs":[{"name":"_adminSubscriptionChecker","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setMinimumDepositAmount","type":"function","inputs":[{"name":"_minimumDepositUSD","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setMinimumRedemptionAmount","type":"function","inputs":[{"name":"_minimumRedemptionUSD","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setMinimumRwaPrice","type":"function","inputs":[{"name":"_minimumRwaPrice","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setOndoCompliance","type":"function","inputs":[{"name":"_ondoCompliance","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setOndoIDRegistry","type":"function","inputs":[{"name":"_ondoIDRegistry","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setOndoOracle","type":"function","inputs":[{"name":"_ondoOracle","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setOndoRateLimiter","type":"function","inputs":[{"name":"_ondoRateLimiter","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setOndoRedemptionFees","type":"function","inputs":[{"name":"_ondoRedemptionFees","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setOndoSubscriptionFees","type":"function","inputs":[{"name":"_ondoSubscriptionFees","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setOndoTokenRouter","type":"function","inputs":[{"name":"_ondoTokenRouter","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"subscribe","type":"function","inputs":[{"name":"depositToken","type":"address","internalType":"address"},{"name":"depositAmount","type":"uint256","internalType":"uint256"},{"name":"minimumRwaReceived","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"rwaAmountOut","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"subscribePaused","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"subscribeRebasingUSDY","type":"function","inputs":[{"name":"depositToken","type":"address","internalType":"address"},{"name":"depositAmount","type":"uint256","internalType":"uint256"},{"name":"minimumRusdyReceived","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"rusdyAmountOut","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"supportsInterface","type":"function","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"unpauseRedeem","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"unpauseSubscribe","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"}],"metadata":"{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_defaultAdmin\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_rwaToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_rusdy\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_minimumDepositAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_minimumRedemptionAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AdminSubscriptionCheckerAddressCantBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ComplianceAddressCantBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DepositAmountTooSmall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeeGreaterThanRedemption\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeeGreaterThanSubscription\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeesAddressCantBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IDRegistryAddressCantBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OracleAddressCantBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RWAPriceTooLow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RateLimiterAddressCantBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RebasingUSDYCantBeZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReceiveAmountTooSmall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RedemptionAmountTooSmall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RedemptionsPaused\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RouterAddressCantBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RwaReceiveAmountTooSmall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SubscriptionsPaused\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokenAddressCantBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokenNotAccepted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UserNotRegistered\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bool\",\"name\":\"accepted\",\"type\":\"bool\"}],\"name\":\"AcceptedRedemptionTokenSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bool\",\"name\":\"accepted\",\"type\":\"bool\"}],\"name\":\"AcceptedSubscriptionTokenSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"adminCaller\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"recipientId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rwaAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"usdAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"metadata\",\"type\":\"bytes32\"}],\"name\":\"AdminSubscription\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldAdminSubscriptionChecker\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newAdminSubscriptionChecker\",\"type\":\"address\"}],\"name\":\"AdminSubscriptionCheckerSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"usdyAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rusdyAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"metadata\",\"type\":\"bytes32\"}],\"name\":\"AdminSubscriptionRebasingUSDY\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"redeemer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"usdyAmountIn\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rusdyAmountIn\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receivingToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"receiveTokenAmount\",\"type\":\"uint256\"}],\"name\":\"InstantRedemptionRebasingUSDY\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"usdyAmountOut\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rusdyAmountOut\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"depositToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"depositAmount\",\"type\":\"uint256\"}],\"name\":\"InstantSubscriptionRebasingUSDY\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldMinDepositAmount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newMinDepositAmount\",\"type\":\"uint256\"}],\"name\":\"MinimumDepositAmountSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldMinRedemptionAmount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newMinRedemptionAmount\",\"type\":\"uint256\"}],\"name\":\"MinimumRedemptionAmountSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldMinimumRwaPrice\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newMinimumRwaPrice\",\"type\":\"uint256\"}],\"name\":\"MinimumRwaPriceSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOndoCompliance\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOndoCompliance\",\"type\":\"address\"}],\"name\":\"OndoComplianceSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOndoIDRegistry\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOndoIDRegistry\",\"type\":\"address\"}],\"name\":\"OndoIDRegistrySet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOndoOracle\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOndoOracle\",\"type\":\"address\"}],\"name\":\"OndoOracleSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOndoRateLimiter\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOndoRateLimiter\",\"type\":\"address\"}],\"name\":\"OndoRateLimiterSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOndoRedemptionFees\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOndoRedemptionFees\",\"type\":\"address\"}],\"name\":\"OndoRedemptionFeesSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOndoSubscriptionFees\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOndoSubscriptionFees\",\"type\":\"address\"}],\"name\":\"OndoSubscriptionFeesSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOndoTokenRouter\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOndoTokenRouter\",\"type\":\"address\"}],\"name\":\"OndoTokenRouterSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"RedeemPaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"RedeemUnpaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"redeemer\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"redeemerId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rwaAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receivingToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"receiveTokenAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"redemptionUSDValue\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"name\":\"Redemption\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"SubscribePaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"SubscribeUnpaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"subscriberId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rwaAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"depositToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"depositAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"depositUSDValue\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"name\":\"Subscription\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"ADMIN_SUBSCRIPTION_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"CONFIGURER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PAUSER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"RWA_NORMALIZER\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"USDY_TO_RUSDY_SHARES_MULTIPLIER\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"USD_NORMALIZER\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"acceptedRedemptionTokens\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"acceptedSubscriptionTokens\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"rwaAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"metadata\",\"type\":\"bytes32\"}],\"name\":\"adminSubscribe\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"rusdyAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"metadata\",\"type\":\"bytes32\"}],\"name\":\"adminSubscribeRebasingUSDY\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"adminSubscriptionChecker\",\"outputs\":[{\"internalType\":\"contract IAdminSubscriptionChecker\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getRoleMember\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleMemberCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minimumDepositUSD\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minimumRedemptionUSD\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minimumRwaPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ondoCompliance\",\"outputs\":[{\"internalType\":\"contract IOndoCompliance\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ondoIDRegistry\",\"outputs\":[{\"internalType\":\"contract IOndoIDRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ondoOracle\",\"outputs\":[{\"internalType\":\"contract IOndoOracle\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ondoRateLimiter\",\"outputs\":[{\"internalType\":\"contract IOndoRateLimiter\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ondoRedemptionFees\",\"outputs\":[{\"internalType\":\"contract IOndoFees\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ondoSubscriptionFees\",\"outputs\":[{\"internalType\":\"contract IOndoFees\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ondoTokenRouter\",\"outputs\":[{\"internalType\":\"contract IOndoTokenRouter\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pauseRedeem\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pauseSubscribe\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"rwaAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receivingToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"minimumTokenReceived\",\"type\":\"uint256\"}],\"name\":\"redeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"receiveTokenAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"redeemPaused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"rusdyAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receivingToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"minimumTokenReceived\",\"type\":\"uint256\"}],\"name\":\"redeemRebasingUSDY\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"receiveTokenAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"retrieveTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rusdy\",\"outputs\":[{\"internalType\":\"contract rUSDY\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rwaToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"accepted\",\"type\":\"bool\"}],\"name\":\"setAcceptedRedemptionToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"accepted\",\"type\":\"bool\"}],\"name\":\"setAcceptedSubscriptionToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_adminSubscriptionChecker\",\"type\":\"address\"}],\"name\":\"setAdminSubscriptionChecker\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_minimumDepositUSD\",\"type\":\"uint256\"}],\"name\":\"setMinimumDepositAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_minimumRedemptionUSD\",\"type\":\"uint256\"}],\"name\":\"setMinimumRedemptionAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_minimumRwaPrice\",\"type\":\"uint256\"}],\"name\":\"setMinimumRwaPrice\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_ondoCompliance\",\"type\":\"address\"}],\"name\":\"setOndoCompliance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_ondoIDRegistry\",\"type\":\"address\"}],\"name\":\"setOndoIDRegistry\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_ondoOracle\",\"type\":\"address\"}],\"name\":\"setOndoOracle\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_ondoRateLimiter\",\"type\":\"address\"}],\"name\":\"setOndoRateLimiter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_ondoRedemptionFees\",\"type\":\"address\"}],\"name\":\"setOndoRedemptionFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_ondoSubscriptionFees\",\"type\":\"address\"}],\"name\":\"setOndoSubscriptionFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_ondoTokenRouter\",\"type\":\"address\"}],\"name\":\"setOndoTokenRouter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"depositToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"depositAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minimumRwaReceived\",\"type\":\"uint256\"}],\"name\":\"subscribe\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"rwaAmountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"subscribePaused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"depositToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"depositAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minimumRusdyReceived\",\"type\":\"uint256\"}],\"name\":\"subscribeRebasingUSDY\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"rusdyAmountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpauseRedeem\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpauseSubscribe\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"Ondo Finance\",\"errors\":{\"SafeERC20FailedOperation(address)\":[{\"details\":\"An operation with an ERC-20 token failed.\"}]},\"events\":{\"AdminSubscriptionRebasingUSDY(address,uint256,uint256,bytes32)\":{\"params\":{\"metadata\":\"Metadata for the subscription\",\"recipient\":\"Address of the recipient\",\"rusdyAmount\":\"Amount of rUSDY sent to recipient\",\"usdyAmount\":\"Amount of USDY wrapped for the user\"}},\"InstantRedemptionRebasingUSDY(address,uint256,uint256,address,uint256)\":{\"params\":{\"receiveTokenAmount\":\"Amount of tokens received, denoted in decimals of `receivingToken`\",\"receivingToken\":\"Address of the token received\",\"redeemer\":\"Address of the redeemer\",\"rusdyAmountIn\":\"Amount of the rUSDY burned for the redemption\",\"usdyAmountIn\":\"Amount of USDY unwrapped for the user\"}},\"InstantSubscriptionRebasingUSDY(address,uint256,uint256,address,uint256)\":{\"params\":{\"depositAmount\":\"Amount of tokens deposited, denoted in decimals of `depositToken`\",\"depositToken\":\"Address of the token deposited\",\"recipient\":\"Address of the recipient\",\"rusdyAmountOut\":\"Amount of rUSDY sent to user\",\"usdyAmountOut\":\"Amount of USDY wrapped for the user\"}}},\"kind\":\"dev\",\"methods\":{\"adminSubscribe(address,uint256,bytes32)\":{\"params\":{\"metadata\":\"Additional metadata associated with the subscription\",\"recipient\":\"The address of the recipient\",\"rwaAmount\":\"The amount of RWA to be subscribed, expected to be in decimals of the RWA                   token\"}},\"adminSubscribeRebasingUSDY(address,uint256,bytes32)\":{\"params\":{\"metadata\":\"Metadata for the subscription\",\"recipient\":\"Recipient of the rUSDY\",\"rusdyAmount\":\"Amount of rUSDY to send, in decimals of rUSDY\"}},\"constructor\":{\"params\":{\"_defaultAdmin\":\"The default admin address\",\"_minimumDepositAmount\":\"The minimum deposit amount\",\"_minimumRedemptionAmount\":\"The minimum redemption amount\",\"_rusdy\":\"The rUSDY token address\",\"_rwaToken\":\"The USDY token address\"}},\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"getRoleMember(bytes32,uint256)\":{\"details\":\"Returns one of the accounts that have `role`. `index` must be a value between 0 and {getRoleMemberCount}, non-inclusive. Role bearers are not sorted in any particular way, and their ordering may change at any point. WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure you perform all queries on the same block. See the following https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] for more information.\"},\"getRoleMemberCount(bytes32)\":{\"details\":\"Returns the number of accounts that have `role`. Can be used together with {getRoleMember} to enumerate all bearers of a role.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"redeem(uint256,address,uint256)\":{\"params\":{\"minimumTokenReceived\":\"The minimum amount of the receiving token to be received,                              expected to be in decimals of `receivingToken`\",\"receivingToken\":\"The address of the token to receive\",\"rwaAmount\":\"The amount of RWA to be redeemed, expected to be in decimals of                              the RWA token\"},\"returns\":{\"receiveTokenAmount\":\"  The amount of the token received from the redemption, expected                              to be in decimals of the `receivingToken`\"}},\"redeemRebasingUSDY(uint256,address,uint256)\":{\"params\":{\"minimumTokenReceived\":\"Minimum amount of tokens to receive, denoted in decimals of                                `receivingToken`\",\"receivingToken\":\"Token to receive\",\"rusdyAmount\":\"Amount of rUSDY to redeem\"},\"returns\":{\"receiveTokenAmount\":\"    Amount of tokens received, denoted in decimals of                                `receivingToken`\"}},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`.\"},\"retrieveTokens(address,address,uint256)\":{\"params\":{\"amount\":\"The amount of token to transfer\",\"to\":\"The address of the recipient\",\"token\":\"The address of the token\"}},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role.\"},\"setAcceptedRedemptionToken(address,bool)\":{\"params\":{\"accepted\":\"Whether the token is accepted for redemption\",\"token\":\"The token address\"}},\"setAcceptedSubscriptionToken(address,bool)\":{\"params\":{\"accepted\":\"Whether the token is accepted for subscription\",\"token\":\"The token address\"}},\"setAdminSubscriptionChecker(address)\":{\"params\":{\"_adminSubscriptionChecker\":\"The `AdminSubscriptionChecker` contract address\"}},\"setMinimumDepositAmount(uint256)\":{\"params\":{\"_minimumDepositUSD\":\"The minimum amount required to subscribe, denoted in                            USD with 18 decimals\"}},\"setMinimumRedemptionAmount(uint256)\":{\"params\":{\"_minimumRedemptionUSD\":\"The minimum amount required to redeem,                               denoted in USD with 18.\"}},\"setMinimumRwaPrice(uint256)\":{\"params\":{\"_minimumRwaPrice\":\"The minimum price of the RWA token\"}},\"setOndoCompliance(address)\":{\"params\":{\"_ondoCompliance\":\"The `OndoCompliance` contract address\"}},\"setOndoIDRegistry(address)\":{\"params\":{\"_ondoIDRegistry\":\"The `OndoIDRegistry` contract address\"}},\"setOndoOracle(address)\":{\"details\":\"Will revert if new `OndoOracle` contract returns a price lower than the minimum         configured price of the RWA token\",\"params\":{\"_ondoOracle\":\"The `OndoOracle` contract address\"}},\"setOndoRateLimiter(address)\":{\"params\":{\"_ondoRateLimiter\":\"The `OndoRateLimiter` contract address\"}},\"setOndoRedemptionFees(address)\":{\"params\":{\"_ondoRedemptionFees\":\"The `OndoFees` contract address\"}},\"setOndoSubscriptionFees(address)\":{\"params\":{\"_ondoSubscriptionFees\":\"The `OndoFees` contract address\"}},\"setOndoTokenRouter(address)\":{\"params\":{\"_ondoTokenRouter\":\"The `OndoTokenRouter` contract address\"}},\"subscribe(address,uint256,uint256)\":{\"params\":{\"depositAmount\":\"The amount of the deposit token to be deposited, expected to be in                            decimals of `depositToken`\",\"depositToken\":\"The address of the token to be deposited\",\"minimumRwaReceived\":\"The minimum amount of RWA to be received from the subscription,                            expected to be in decimals of the RWA token\"},\"returns\":{\"rwaAmountOut\":\"      The amount of RWA received from the subscription, expected to be in                            decimals of the RWA token\"}},\"subscribeRebasingUSDY(address,uint256,uint256)\":{\"params\":{\"depositAmount\":\"Amount of tokens to deposit, denoted in decimals of the                              `depositToken`\",\"depositToken\":\"The token to deposit\",\"minimumRusdyReceived\":\"Minimum amount of rUSDY to receive\"},\"returns\":{\"rusdyAmountOut\":\"      Amount of rUSDY received, in decimals of rUSDY\"}},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"title\":\"USDY_InstantManager\",\"version\":1},\"userdoc\":{\"errors\":{\"AdminSubscriptionCheckerAddressCantBeZero()\":[{\"notice\":\"Error emitted when attempting to set the `AdminSubscriptionChecker` address to zero\"}],\"ComplianceAddressCantBeZero()\":[{\"notice\":\"Error emitted when attempting to set the `OndoCompliance` address to zero\"}],\"DepositAmountTooSmall()\":[{\"notice\":\"Error emitted when the deposit amount is too small\"}],\"FeeGreaterThanRedemption()\":[{\"notice\":\"Error emitted when the fee is greater than the redemption amount\"}],\"FeeGreaterThanSubscription()\":[{\"notice\":\"Error emitted when the fee is greater than the subscription amount\"}],\"FeesAddressCantBeZero()\":[{\"notice\":\"Error emitted when attempting to set the `OndoFees` address to zero\"}],\"IDRegistryAddressCantBeZero()\":[{\"notice\":\"Error emitted when attempting to set the `OndoIDRegistry` address to zero\"}],\"OracleAddressCantBeZero()\":[{\"notice\":\"Error emitted when attempting to set the `OndoOracle` address to zero\"}],\"RWAPriceTooLow()\":[{\"notice\":\"Error emitted when the price of RWA token returned from the oracle is below the minimum price\"}],\"RateLimiterAddressCantBeZero()\":[{\"notice\":\"Error emitted when attempting to set the `OndoRateLimiter` address to zero\"}],\"RebasingUSDYCantBeZeroAddress()\":[{\"notice\":\"Error emitted when setting the rUSDY address to the zero address\"}],\"ReceiveAmountTooSmall()\":[{\"notice\":\"Error emitted when the receive amount is below the `minimumReceiveAmount` in a redemption\"}],\"RedemptionAmountTooSmall()\":[{\"notice\":\"Error emitted when the redemption amount is too small\"}],\"RedemptionsPaused()\":[{\"notice\":\"Error emitted when the redemption functionality is paused\"}],\"RouterAddressCantBeZero()\":[{\"notice\":\"Error emitted when attempting to set the `OndoTokenRouter` address to zero\"}],\"RwaReceiveAmountTooSmall()\":[{\"notice\":\"Error emitted when rwa amount is below the `minimumRwaReceived` in a subscription\"}],\"SubscriptionsPaused()\":[{\"notice\":\"Error emitted when the subscription functionality is paused\"}],\"TokenAddressCantBeZero()\":[{\"notice\":\"Error emitted when the token address is zero\"}],\"TokenNotAccepted()\":[{\"notice\":\"Error emitted when the token is not accepted for subscription\"}],\"UserNotRegistered()\":[{\"notice\":\"Error emitted when the user is not registered with the ID registry\"}]},\"events\":{\"AcceptedRedemptionTokenSet(address,bool)\":{\"notice\":\"Event emitted when a token's supported status for redemptions\"},\"AcceptedSubscriptionTokenSet(address,bool)\":{\"notice\":\"Event emitted when a token's supported status is set for subscriptions\"},\"AdminSubscription(address,address,bytes32,uint256,uint256,bytes32)\":{\"notice\":\"Event emitted when an admin completes a subscription for a recipient\"},\"AdminSubscriptionCheckerSet(address,address)\":{\"notice\":\"Event emitted when the `AdminSubscriptionChecker` contract is set\"},\"AdminSubscriptionRebasingUSDY(address,uint256,uint256,bytes32)\":{\"notice\":\"Event emitted when an admin mints rUSDY\"},\"InstantRedemptionRebasingUSDY(address,uint256,uint256,address,uint256)\":{\"notice\":\"Event emitted when a user redeems rUSDY\"},\"InstantSubscriptionRebasingUSDY(address,uint256,uint256,address,uint256)\":{\"notice\":\"Event emitted when a user mints rUSDY\"},\"MinimumDepositAmountSet(uint256,uint256)\":{\"notice\":\"Event emitted when subscription minimum is set\"},\"MinimumRedemptionAmountSet(uint256,uint256)\":{\"notice\":\"Event emitted when redeem minimum is set\"},\"MinimumRwaPriceSet(uint256,uint256)\":{\"notice\":\"Event emitted when the minimum RWA token price is set\"},\"OndoComplianceSet(address,address)\":{\"notice\":\"Event emitted when the `OndoCompliance` contract is set.\"},\"OndoIDRegistrySet(address,address)\":{\"notice\":\"Event emitted when the `OndoIDRegistry` contract is set\"},\"OndoOracleSet(address,address)\":{\"notice\":\"Event emitted when the `OndoOracle` contract is set\"},\"OndoRateLimiterSet(address,address)\":{\"notice\":\"Event emitted when the `OndoRateLimiter` contract is set\"},\"OndoRedemptionFeesSet(address,address)\":{\"notice\":\"Event emitted when the `OndoFees` redemption contract is set\"},\"OndoSubscriptionFeesSet(address,address)\":{\"notice\":\"Event emitted when the `OndoFees` subscription contract is set\"},\"OndoTokenRouterSet(address,address)\":{\"notice\":\"Event emitted when the `OndoTokenRouter` contract is set\"},\"RedeemPaused()\":{\"notice\":\"Event emitted when redeem functionality is paused\"},\"RedeemUnpaused()\":{\"notice\":\"Event emitted when redeem functionality is unpaused\"},\"Redemption(address,bytes32,uint256,address,uint256,uint256,uint256)\":{\"notice\":\"Event emitted when a user redeems an RWA token\"},\"SubscribePaused()\":{\"notice\":\"Event emitted when subscription functionality is paused\"},\"SubscribeUnpaused()\":{\"notice\":\"Event emitted when subscription functionality is unpaused\"},\"Subscription(address,bytes32,uint256,address,uint256,uint256,uint256)\":{\"notice\":\"Event emitted when a user subscribes to an RWA token\"}},\"kind\":\"user\",\"methods\":{\"ADMIN_SUBSCRIPTION_ROLE()\":{\"notice\":\"Role to manually service a subscription to RWA tokens\"},\"CONFIGURER_ROLE()\":{\"notice\":\"Role to configure the contract\"},\"PAUSER_ROLE()\":{\"notice\":\"Role to pause subscriptions and redemptions\"},\"RWA_NORMALIZER()\":{\"notice\":\"The decimals normalizer for the RWA token\"},\"USDY_TO_RUSDY_SHARES_MULTIPLIER()\":{\"notice\":\"Helper constant for converting between USDY tokens and rUSDY shares\"},\"USD_NORMALIZER()\":{\"notice\":\"The decimals normalizer for USD\"},\"acceptedRedemptionTokens(address)\":{\"notice\":\"Mapping of accepted redemption tokens\"},\"acceptedSubscriptionTokens(address)\":{\"notice\":\"Mapping of accepted subscription tokens\"},\"adminSubscribe(address,uint256,bytes32)\":{\"notice\":\"Allows an admin to subscribe on behalf of a recipient with the specified RWA amount         and metadata\"},\"adminSubscribeRebasingUSDY(address,uint256,bytes32)\":{\"notice\":\"Performs an admin subscription to rUSDY. This works similar to         `adminSubscribe`, but wraps the USDY to rUSDY before transferring the tokens         to the user.\"},\"adminSubscriptionChecker()\":{\"notice\":\"The `AdminSubscriptionChecker` contract\"},\"minimumDepositUSD()\":{\"notice\":\"Minimum USD amount required to subscribe to a RWA token, denoted in USD with 18         decimals.\"},\"minimumRedemptionUSD()\":{\"notice\":\"Minimum USD amount required to perform an RWA token redemption to be allowed,         denoted in USD with 18 decimals\"},\"minimumRwaPrice()\":{\"notice\":\"Minimum price of RWA token that this contract will use, denoted in USD with 18 decimals\"},\"ondoCompliance()\":{\"notice\":\"The `OndoCompliance` contract address\"},\"ondoIDRegistry()\":{\"notice\":\"The `OndoIDRegistry` contract address\"},\"ondoOracle()\":{\"notice\":\"The `OndoOracle` contract address\"},\"ondoRateLimiter()\":{\"notice\":\"The `OndoRateLimiter` contract address\"},\"ondoRedemptionFees()\":{\"notice\":\"The `OndoFees` contract for managing redemption fees\"},\"ondoSubscriptionFees()\":{\"notice\":\"The `OndoFees` contract for managing subscription fees\"},\"ondoTokenRouter()\":{\"notice\":\"The `OndoTokenRouter` contract address\"},\"pauseRedeem()\":{\"notice\":\"Pause the redeem functionality.\"},\"pauseSubscribe()\":{\"notice\":\"Pause the subscribe functionality.\"},\"redeem(uint256,address,uint256)\":{\"notice\":\"Redeems the specified amount of RWA for the receiving token\"},\"redeemPaused()\":{\"notice\":\"Whether redemptions are paused for this contract\"},\"redeemRebasingUSDY(uint256,address,uint256)\":{\"notice\":\"Performs a rUSDY redemption. This works similar to `redeem`, but         unwraps the rUSDY to USDY before processing the redemption.\"},\"retrieveTokens(address,address,uint256)\":{\"notice\":\"Rescue and transfer tokens locked in this contract\"},\"rusdy()\":{\"notice\":\"The rebasing USDY token contract\"},\"rwaToken()\":{\"notice\":\"The contract address for the RWA token this contract is responsible for\"},\"setAcceptedRedemptionToken(address,bool)\":{\"notice\":\"Sets whether a token is accepted for redemption.\"},\"setAcceptedSubscriptionToken(address,bool)\":{\"notice\":\"Sets whether a token is accepted for subscriptions\"},\"setAdminSubscriptionChecker(address)\":{\"notice\":\"Sets the `AdminSubscriptionChecker` contract\"},\"setMinimumDepositAmount(uint256)\":{\"notice\":\"Sets the minimum amount required for a subscription\"},\"setMinimumRedemptionAmount(uint256)\":{\"notice\":\"Sets the minimum amount to redeem\"},\"setMinimumRwaPrice(uint256)\":{\"notice\":\"Sets the minimum price of RWA token\"},\"setOndoCompliance(address)\":{\"notice\":\"Sets the `OndoCompliance` contract\"},\"setOndoIDRegistry(address)\":{\"notice\":\"Sets the `OndoIDRegistry` contract\"},\"setOndoOracle(address)\":{\"notice\":\"Admin function to set the `OndoOracle` contract\"},\"setOndoRateLimiter(address)\":{\"notice\":\"Sets the `OndoRateLimiter` contract\"},\"setOndoRedemptionFees(address)\":{\"notice\":\"Sets the `OndoFees` contract for redemptions\"},\"setOndoSubscriptionFees(address)\":{\"notice\":\"Sets the `OndoFees` contract for subscriptions\"},\"setOndoTokenRouter(address)\":{\"notice\":\"Admin function to set the `OndoTokenRouter` contract\"},\"subscribe(address,uint256,uint256)\":{\"notice\":\"Subscribes to the RWA using the specified deposit token and amount\"},\"subscribePaused()\":{\"notice\":\"Whether subscriptions are paused for this contract\"},\"subscribeRebasingUSDY(address,uint256,uint256)\":{\"notice\":\"Subscribes to rUSDY. This works similar to `subscribe`, but         wraps the USDY into rUSDY before transferring to the user.\"},\"unpauseRedeem()\":{\"notice\":\"Unpause the redeem functionality.\"},\"unpauseSubscribe()\":{\"notice\":\"Unpause the subscribe functionality.\"}},\"notice\":\"This contract manages instant subscriptions and redemptions of USDY and rUSDY tokens,         with support for conversion between USDY and rUSDY.         This contract allows for:         - Users to instantly subscribe to USDY or rUSDY by depositing supported tokens         - Users to redeem USDY or rUSDY back to supported tokens         - An admin to execute manual subscriptions for specialized use cases\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/xManager/rwaManagers/USDY_InstantManager.sol\":\"USDY_InstantManager\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@aragon/=node_modules/@aragon/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":@uniswap/=node_modules/@uniswap/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":forge-tests/=forge-tests/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\",\":lib/=lib/\",\":math/=node_modules/@aragon/os/contracts/lib/math/\",\":misc/=node_modules/@aragon/os/contracts/lib/misc/\",\":solidity-bytes-utils/=node_modules/solidity-bytes-utils/\",\":standards/=node_modules/@aragon/os/contracts/lib/standards/\",\":token/=node_modules/@aragon/os/contracts/lib/token/\",\":truffle/=node_modules/truffle/\"]},\"sources\":{\"contracts/external/chainalysis/ISanctionsList.sol\":{\"keccak256\":\"0x924a511196b8802090ba421169b5f09c9dc3be319d014ea497d6bd142ce358cc\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://3d07753a6e04c9bc4df7f1fb1ab4208e970d7978df03dba915d19945fd745efa\",\"dweb:/ipfs/QmbXY7tM5jq2oXFTnrtAAwyMyLEQ3mDWGQbBc2tS1eZBYp\"]},\"contracts/external/openzeppelin/contracts-upgradeable/access/AccessControlEnumerableUpgradeable.sol\":{\"keccak256\":\"0x8e289e9c791884b3c536b13b5a3cf0f48bbb78df3bf8d182a89679e62a06bbcd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b6c5127f7d8fb69e3d811693e9fdff7d43878fcb9f342ce902e2d0bcd217dddc\",\"dweb:/ipfs/QmYt9wZ43Ymra3BmUKqpxTQDfnt8rtGsbrEiNtMW8s85NJ\"]},\"contracts/external/openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol\":{\"keccak256\":\"0x7ac1155e2192229ae94148937eeade68dc9faadfec3ad1f7e320b4a74692b5a1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2979c02d1f5cb5eeceb8dfe8b7bb0c06c96ca00ab6be955fd5ba5450e1a25386\",\"dweb:/ipfs/QmekztwbM7Kp2RN5xcamQx3kpQSZaa9szpPSwPvAWbxhCt\"]},\"contracts/external/openzeppelin/contracts-upgradeable/access/IAccessControlEnumerableUpgradeable.sol\":{\"keccak256\":\"0x09b3aa1d18fc1d83df71a6c0599c6eb33682f98af5a9ad559629bfcf043465ab\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4543849cc6e7581c61a3756f326da6f5dbf673c1e3adc654328059d570451d3e\",\"dweb:/ipfs/QmdVTYdpEMc4WSMPYJW4bZtMcQLh3hT7ZinSkKL8VSaTAw\"]},\"contracts/external/openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable.sol\":{\"keccak256\":\"0x82ced39d1596c05d590b7ca07c3817cf45cd27c08668c4ed630897861a394897\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b7d20aed60e30f2778879f83613192e7ab1c530ece62cc25641bac3cc2a7e97f\",\"dweb:/ipfs/QmQsHMDBdgeat7YbXzrGT9SdmppY2u4kUJiXy2SkwZEBDE\"]},\"contracts/external/openzeppelin/contracts-upgradeable/proxy/Initializable.sol\":{\"keccak256\":\"0x010a43b8420b86f8e3c27e0647eff1d1e9b2a923826043a5141164c828c05bf5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0e001f96cf00da1504274078f9a2f11178162342c66df15c68f42c998f901b71\",\"dweb:/ipfs/QmVXp3YsDBRcDLYKhec1R24vGXcQtcPce5ZiybmVR4rQdJ\"]},\"contracts/external/openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol\":{\"keccak256\":\"0xe9aac368465a462d8ccd102fd72b12653321c873d3300c9066b780f842aaa056\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://98153682db34e9c9d691d39f674b15db612397c7b4018fb005c912d93d744c40\",\"dweb:/ipfs/QmXiapVy5HQnnXFL8KaW6rdAC9MPqmRuELPWB5iGsXjF6p\"]},\"contracts/external/openzeppelin/contracts-upgradeable/token/ERC20/IERC20MetadataUpgradeable.sol\":{\"keccak256\":\"0x93df6fb9d3f37b6a4b5ca97e2601134626663f091dd5ed62070bd904997c12c3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b3beecdefc0d731e0e5d03e07e9226b0155ce475942b945e8acd3731b00ccdef\",\"dweb:/ipfs/QmVaM4E84t6n28GD7Vp8Xn9NDchTtZbpKAtAvufyDBquPX\"]},\"contracts/external/openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol\":{\"keccak256\":\"0x2af484bfbaf37c407079b5a4f54ccff98a7b3759146e667119703340b6e7dea1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://af7f0a9481d93f603a7f94ba07926cc0b85cb98f0d15398b372d11f0eba4ab30\",\"dweb:/ipfs/QmTfYiZCLr4zCdJLQoj2HK4RNcSSmKC5AQDLVpeJeiFze3\"]},\"contracts/external/openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol\":{\"keccak256\":\"0xaf21ac76d103d3d1174d2bd26dde385c09f1bab9a60ec291c130efc8ccb20d36\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e5c99abcf2c4cae25d8b95996bdeab83f381d3560b3b4eefa666b8e2e2876333\",\"dweb:/ipfs/QmR1Cpn98bQ2k31t3Mm9Njh4SiatBY36svRPKgPpedbNfk\"]},\"contracts/external/openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol\":{\"keccak256\":\"0xc333158994f7724934ae32da3bd03a4e816446808bac93df1d3f0c044e469e62\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1c8f40443409af08388f1b04568057752c36adc5fc7b3f72d90f97d918071b85\",\"dweb:/ipfs/QmYGNDXvZyjXqy8Zs4jepBKEvkoQQVpKvEp8TzmT67Rn2Q\"]},\"contracts/external/openzeppelin/contracts-upgradeable/utils/ERC165Upgradeable.sol\":{\"keccak256\":\"0x19f33d4901eb8c8b0dd5ff1e85076299f31a0841f75fb7472689d4c1257d9b1d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://813caaff7ca40b95ec81706f12038a1419c7a7cc3abc0b8e4b32821fec8ca4ef\",\"dweb:/ipfs/QmXVmhosYrbQDbQe3zt3Fg5fqbYAGt3v173eeDV8X4DBcP\"]},\"contracts/external/openzeppelin/contracts-upgradeable/utils/EnumerableSetUpgradeable.sol\":{\"keccak256\":\"0xcfd889f86aa7523f1a9b7903c24ced3512ed3ba14d27372a75a07e9c49ed141b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://030850091a35c9e58f71fd0bf74a355cf5756ad8ac89856f5ea1ba26b7179829\",\"dweb:/ipfs/QmTZGLo3HHoa3W2PEo8qpZUuzdvnPwBEL4K5CnZzAD3KHK\"]},\"contracts/external/openzeppelin/contracts-upgradeable/utils/IERC165Upgradeable.sol\":{\"keccak256\":\"0x26751ffef7dd0b030529f36b653b20561de1eff524eea9b401b614d454a33c5b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://19cbe38f8f2c1157139459a9d8d7935c5c2a4b08486496e0dc9448b3cf25a9bb\",\"dweb:/ipfs/QmeyavLyBHSyCYXrjUD4iVFz5U2hDbtLdHhssVAbSzRikq\"]},\"contracts/external/openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol\":{\"keccak256\":\"0x14695559487022a2e893608ca1700670171e471003a4cced204acf93811d123d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c4b85804ceac8bacef557ee4994ca8a74c9309bb76c851a655ac809b5c904876\",\"dweb:/ipfs/QmWMcseyS826eM3oc8T9DzJVwufBBPqTJbbjyVsBk2oDF9\"]},\"contracts/external/openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0xe7e809b0d89fa668d9707e3c107974a005f2acd136c425cd78f6d828c219aa40\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3f9c3761e4aed23e5fec8b6f597815242d096976db67ce6a75f815cdc131fb24\",\"dweb:/ipfs/Qmf54yk4i4XKb2nw5Ao9rELgtAYowkVhbEQ3vThr9PizFB\"]},\"contracts/external/openzeppelin/contracts/access/AccessControlEnumerable.sol\":{\"keccak256\":\"0xf0155eaa75c379807c202eb9a0db8a073e5d93d6f9144b42d194c2ecd49ddb33\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b03956b65ce3e2f1bd2aa0a0cbef734107c8ae246215b3ca8aa932f6cf28bd8e\",\"dweb:/ipfs/QmejtqQeTDqPQfYDBwKmveiaV3MkVVhXyiJRFbnANiuw31\"]},\"contracts/external/openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x02787a6b562763467c448f39369285b1903615e81c787f45c0b163a1ff9e07d5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://81b6f6b08f68a5f747d05b73c15d595efa86be1bd72ba60eb9b953f4ed939ccb\",\"dweb:/ipfs/QmQkiz6s9tWzGcHodPRPiFZ5iTLmeSzhELjRcftnnmBkxS\"]},\"contracts/external/openzeppelin/contracts/access/IAccessControlEnumerable.sol\":{\"keccak256\":\"0xc29b5788f8deef40aee3f1b1f67fdfd7b84ebcc0f0d2e73db14185de07f3c50b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://05e25d2eec7087d9fea88ab1d306e45e9d91d3810add4c7312c8421d237e059b\",\"dweb:/ipfs/Qmexr11aTo4KLX42kguRERHKhWY8o7MsUupL8qH2GzYD5Y\"]},\"contracts/external/openzeppelin/contracts/security/ReentrancyGuard.sol\":{\"keccak256\":\"0x0134fde2cc9450792bc761f05588383e3b1baf78454dba8b6a592dd39895cd08\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://07706a7f7f427fc28e40c29d8c12989e9623e22b8b9da0eba7c5ba4bf466bad0\",\"dweb:/ipfs/QmQLpwxp4hX8j7tjGGGovdS4WGr57v4vDEFCjPue6EapbV\"]},\"contracts/external/openzeppelin/contracts/token/IERC20.sol\":{\"keccak256\":\"0x2d0b233e43b64bb4afb057ccc16493c9b3c22d334a4ac6636915c7ef7f06b118\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f0702af2d619b4cbbc417b89fb215c64b2f0a2db8d1af1d3a23f2e3cabb077f0\",\"dweb:/ipfs/QmYVTreLMBhqZH78xnqiZyr3FLbfNrrSsG7bHiSQk9dRRW\"]},\"contracts/external/openzeppelin/contracts/token/IERC20Metadata.sol\":{\"keccak256\":\"0x099220ebd191f57aa291f8c00866eb8c943680d9790d46ec82010b933d68550f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2fb8a9ee59a46ef114fda28c6f3f94fc3d715fd727b6f269c4cea96462b23b6b\",\"dweb:/ipfs/QmTBtvRpJuioam5xXX9BX9f6ASuwuozwKkKGnEXwuJLiHa\"]},\"contracts/external/openzeppelin/contracts/token/SafeERC20.sol\":{\"keccak256\":\"0xc1b6cd1277f11e24fa35b4dd76cf5a78037a1aebec01fd58088cd860b515d416\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://989ae158309172c97c4860fd0791de74a16ced1f1f64781a8841fa9ca327026b\",\"dweb:/ipfs/QmfYFBEyompT47RnxBcnSR77rk85eKr1nQhqieuyYp7FGn\"]},\"contracts/external/openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x197651ff7207345936e19940e36235967fe866449caa294e19642b6c6aaa62f8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3cb4e784c91e106ee75877271ff11f9997a68bc9e577cab4d36d60a10b88e6e9\",\"dweb:/ipfs/QmVuLfSBsfsqcpUcsFaY275Re3n7uQW6ErhDGpYHY92uBo\"]},\"contracts/external/openzeppelin/contracts/utils/ERC165.sol\":{\"keccak256\":\"0x092935b6d168de393154e5b5622bbc5f57c99eb14a5a5af3dc2cda6a19add989\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a4393585c7475b0552daaf144cdfed4ccd3485d8438c8db16024871bdf866f14\",\"dweb:/ipfs/QmZBcft4cWNb1NSPgcDdbDRUZSxwZj2LYVKQnunU2fpJMa\"]},\"contracts/external/openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0x6dfd57320c54054f69d620239b72c0230a3912520dff78f26dec2a709592555c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f3d7ee88f342083071601363d7718c037e9e97f4622d8061af2bc455460da1ae\",\"dweb:/ipfs/Qmcw9rfXpogtneRhNCF9w6gw6N7HTmgG2xmndURKFtYTZD\"]},\"contracts/external/openzeppelin/contracts/utils/IERC165.sol\":{\"keccak256\":\"0x64e1d4f776a4bf02f7ab4187741c2e50c767bfa04f4ef1f920edba78c2918020\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cff6c09b4206cbf675fae7baa5e036802a16b1bad9a541db160858a5caa5b35c\",\"dweb:/ipfs/QmRCagsWpeQGomTbdHusJuNUPJnNB8HLHkB98FPU2s9Vc6\"]},\"contracts/external/openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x132805e1b4569cd64ef45bb19ce1f3387263de8d8c9b28926bd8eb1e44bba84a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6ddf46c3e136218067c92591fce8abc636da06a15da9f8a42054ed774dc5a82\",\"dweb:/ipfs/Qmb2TRrwxa5oWXhn9gLC6Pmcob5UHWvHiGwv1hfZPJjzcU\"]},\"contracts/interfaces/IBlocklist.sol\":{\"keccak256\":\"0xdc584fc0dd4e50f379b7222224c9f1c0a429a5c17e0aaca0e73d478404921ce8\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://52587147ae4949122bed455677c2a1587d67a410bb18091d987695c1c560dd88\",\"dweb:/ipfs/QmUAygtJztJ9xbtxKbkL9cNM79wymhP9B45SFNrHNFsR3K\"]},\"contracts/interfaces/IBlocklistClient.sol\":{\"keccak256\":\"0xd74c9b2de9259f6ceb243e42083266366900a11f2dc5252cbdff95ee360b917e\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://ae96e01acf95cc93e7308d803716e0ff896709e4c2311bf7026e81fe944ac56d\",\"dweb:/ipfs/QmfG9vZbLTdGQbyvHz6kyQbNWnNQKKPPVsWdWjEbwZZNHG\"]},\"contracts/interfaces/IRWALike.sol\":{\"keccak256\":\"0x0dc5e9e98d1a66c0b7708f5aeb874182fc0d03255c4d1bf97f8553f7e77dea71\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://7137cee7247f400102466270c33e6501894518c3e8d670ddc032e2850e2348d7\",\"dweb:/ipfs/QmPkRNdALGT1Y7Zt5PaWxsNc2YqLxQcSoAMQR7CABPgsW8\"]},\"contracts/interfaces/IUSDY.sol\":{\"keccak256\":\"0xecc50171f48abec2d31cf9e5b7c06be808d1c63880cd2e759f2a6f24465237ff\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://fa9beea316a7e07dc527d43ea4b9352b0b90f6e108210e8dd97d762a29bd060b\",\"dweb:/ipfs/Qmb5WXgCf1BB1YAfjtdkpRqUqkxiF2f3K7pPffsRXyjnco\"]},\"contracts/rwaOracles/IRWADynamicOracle.sol\":{\"keccak256\":\"0xa4a301f354018dbd0fc5e47f04005f45a65faea3fdad45122aa8c445bc02c433\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://734236fafb2918064241140eba2c63cf778831cb3e17e54d9ae9eedb39372d12\",\"dweb:/ipfs/QmWy2yLbmnyBmRmGhkmwgppmTEpj2fGka7E9VCgxw3xCNM\"]},\"contracts/sanctions/ISanctionsListClient.sol\":{\"keccak256\":\"0x0b05569a945016d90a6a50f6f5276c81e1631ec653108a9ab2c571abb8778623\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://ddef83229437c82cebb691f944123004a45c59218f447bab21ec3eb3ac592d3d\",\"dweb:/ipfs/QmTVk4zvfojvLSCbDdhxeFm3zGRQz3fNzmH2UJxtXUfjRf\"]},\"contracts/sanctions/SanctionsListClientUpgradeable.sol\":{\"keccak256\":\"0xa2c5574a9f2bf09db2dffd9adab968f490b9570eca7bf89b413ac362f346eb50\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://0e0cc52a4d1c43c70365eb4e2fda3738312aec3045a122d81027814ee6970010\",\"dweb:/ipfs/QmQ8myDQXi2tSD8Umg7ojzU7zZ3i93aPpGvBfYqmrKgymG\"]},\"contracts/usdy/blocklist/BlocklistClientUpgradeable.sol\":{\"keccak256\":\"0xcac2a56f86c47e5593ba63386a10dd3f71fae8dc2fd785fc36b5f9ea501afff1\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://5f85abd4722743fa63b28f044da8fe6a62b1315a04b40ca583f0052c18b3c50e\",\"dweb:/ipfs/QmdL1rnjBcFXmycLLabefnDwccsM25zty3f9aZVErzn4r7\"]},\"contracts/usdy/rusdy/rUSDY.sol\":{\"keccak256\":\"0x22db1d71a9bef8a5d90d483394c0d9f4f59eacc811d19876ef4fe0f2dbf5bd7b\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://b5ef6a8b36ecc6d34ab156404809a1c887f5cdb0ef68d85176922108cbf7ffa9\",\"dweb:/ipfs/QmR6oZ5awuUNNc3oryzCzceyQNWW2dKjX9kujWccAbBEYw\"]},\"contracts/xManager/interfaces/IAdminSubscriptionChecker.sol\":{\"keccak256\":\"0xc4a16a8fd45a743597f9c3e3de5340a56b0ec8a387b76bf1574139e245973b92\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://d70665704dfa24c8b6836bd530f4037409107ea6dc2b079a909d64c18feaa640\",\"dweb:/ipfs/QmavajFNWgcPeHSkQJFu8ZTujKQJgFpLkh8RbMwmNNbhZX\"]},\"contracts/xManager/interfaces/IOndoCompliance.sol\":{\"keccak256\":\"0xbefead4f7293fa4d007d942c7b92ebc59873d07693ebd75da7e1b08bb176aabd\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://72630f28679126d874d0a9cefe603533e7e2fa4d785702997850318eb58b1ec9\",\"dweb:/ipfs/QmUkjAKGfydDCtBwCp7CqdNrsn7onwr4wPsahuJsEZfVe8\"]},\"contracts/xManager/interfaces/IOndoFees.sol\":{\"keccak256\":\"0xb90004d891dddb988afa658fc84ca8e60f878ede54e1aca6930c8479efd7df84\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://abf0af880c83a61d8aeb6a8b2f10be4ee893b136963b2e26828632bd5f64e2ca\",\"dweb:/ipfs/QmSbVP5exvrvxvWH5Z4wq9XWe9oh5ctMMfmJy81NFBQWZb\"]},\"contracts/xManager/interfaces/IOndoIDRegistry.sol\":{\"keccak256\":\"0x8f23f30f1c239e1e99b76974dab6d2fd1b612e26984cddf129317409972fd78f\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://981f3725d37bc70d20b5acebb501c0d07158fd9a3091cfaff02b0fb5468c30b5\",\"dweb:/ipfs/QmPrKKCxiR5SYNggsfoKTn3TYVDtrNUTH8egVtY2JkjL3B\"]},\"contracts/xManager/interfaces/IOndoOracle.sol\":{\"keccak256\":\"0x2b56141c38b210bb01a8c2f6e59e6b706024456460f45b4d6ef1755f642c0ea9\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://c7f95b054aed1f831218a4ac2aff7c64480ba02f6fbb5778655f3169b19fdca5\",\"dweb:/ipfs/QmaX2654QGXstKYedRxaWeS43gYYefCg7676o1tFamqBS3\"]},\"contracts/xManager/interfaces/IOndoRateLimiter.sol\":{\"keccak256\":\"0xa2be8cf3d48449b17576f591cc64d2a5ba47f28142115e3e90be25ed9706bbac\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b67a1cf45a6c3c19f592c407369386e0919dd6e9cffa756ea1c9d281a38c8a85\",\"dweb:/ipfs/QmUPXSCz9uDwx37B19vuAvJDjH6v17uFiNH1SWoLjH4aCL\"]},\"contracts/xManager/interfaces/IOndoTokenRouter.sol\":{\"keccak256\":\"0xaeebeb0a6684dd8a0d78097a4880f5af0ea2b2ddb0e9fa217ef880e0f0085329\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://2180d5bf57c92463828261eca77c323f8fb718d983e87ace13d16664a6c61f35\",\"dweb:/ipfs/Qmdrg18q6k5af4gUqQ2XBEyZFmAHuhLi5AfYw2kvaASHHz\"]},\"contracts/xManager/interfaces/ITokenRecipient.sol\":{\"keccak256\":\"0xe95bece55fecf820a8515200227dde2b84856b281ecb1551de6f10a215cf8309\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://e4b570d48a417d87d830b4ced563d724abf7281c1d8dc76c6ed7f269edb3ccc1\",\"dweb:/ipfs/Qmb5pS3xmWtv7N59W3wips1VyY1wFh8ujTQJ22p4ZgGZEU\"]},\"contracts/xManager/interfaces/ITokenSource.sol\":{\"keccak256\":\"0x320c8c0ae1aad7cdc291a28d987d029fa83fc73ec40d006fad34b40010d5f150\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://3633d5450047b0bf3c641dc7f670ae5be99e03c0dfb4cc37f3e254dc240f8b08\",\"dweb:/ipfs/QmRX1swZb6TkZLc6a3Kg1tg6mSdu9nbfv4t8VeFamAMdnk\"]},\"contracts/xManager/interfaces/IUSDY_InstantManager.sol\":{\"keccak256\":\"0xc197892ca6d7c4cfa15eda3cb544a0a8eff934e983fbc3d0bc08631a2997fb22\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://bf7787df39c9dc936ada081f4ae06bacb8046697cbdcdaf66a9e308270277c16\",\"dweb:/ipfs/QmSeHNc4LxfrifVb7aYuuHcQmFGBdkfxQa4feE3oAHUoex\"]},\"contracts/xManager/rwaManagers/BaseRWAManager.sol\":{\"keccak256\":\"0x7434bc560f781507ff08cbdff835d23176d86f7518190c51e34466d574fb25f4\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://a52fad4bd664d31778c6b7580b1dc7f925d0cf55dc8941f43af9f19a49d32a38\",\"dweb:/ipfs/QmZxq9PCP8Ge8mMJqEsgpmnz5SGUxppheb7P2PsMDXnuVq\"]},\"contracts/xManager/rwaManagers/IBaseRWAManagerErrors.sol\":{\"keccak256\":\"0xd06c50f17bb5f9b74a7c8c7c94ec24c9331800b65d1a70ec49bc3dfb2a000864\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://55cac1ad22caf0a1b7d6317073d232dfdc86f57c9ac9937f7a38380dbf2b87fa\",\"dweb:/ipfs/QmXYT4n29JAXbVz7EzCP2baTjShz1uJttGMzNNnzjD6oqa\"]},\"contracts/xManager/rwaManagers/IBaseRWAManagerEvents.sol\":{\"keccak256\":\"0xade72e08a467ea16fbf5dfe57885a6ffcb7e88932b71e72d28a8d30629322e96\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://dc2e2f7a1a401a554a3fcc586dc3644d8d571aa2a46f28d9b9250e551399e973\",\"dweb:/ipfs/QmQEMf7riyvC9aDYu7kJNJEkwR1bt5P7HAhJPdK7AURGAv\"]},\"contracts/xManager/rwaManagers/USDY_InstantManager.sol\":{\"keccak256\":\"0x4358bb4060c7178b31047c40d6a6b837db85044cede09af85d172ab013181f76\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://a6fbf3a8a669f1e01d31f5c2441d30a1c798df617ed0ff665b6196370a84e6ca\",\"dweb:/ipfs/QmfUE9pr43m4gRSAvsKKjrJSxNFsW2aFPmeeJw7ezK1pd2\"]}},\"version\":1}","userdoc":{"kind":"user","errors":{"RWAPriceTooLow()":[{"notice":"Error emitted when the price of RWA token returned from the oracle is below the minimum price"}],"TokenNotAccepted()":[{"notice":"Error emitted when the token is not accepted for subscription"}],"RedemptionsPaused()":[{"notice":"Error emitted when the redemption functionality is paused"}],"UserNotRegistered()":[{"notice":"Error emitted when the user is not registered with the ID registry"}],"SubscriptionsPaused()":[{"notice":"Error emitted when the subscription functionality is paused"}],"DepositAmountTooSmall()":[{"notice":"Error emitted when the deposit amount is too small"}],"FeesAddressCantBeZero()":[{"notice":"Error emitted when attempting to set the `OndoFees` address to zero"}],"ReceiveAmountTooSmall()":[{"notice":"Error emitted when the receive amount is below the `minimumReceiveAmount` in a redemption"}],"TokenAddressCantBeZero()":[{"notice":"Error emitted when the token address is zero"}],"OracleAddressCantBeZero()":[{"notice":"Error emitted when attempting to set the `OndoOracle` address to zero"}],"RouterAddressCantBeZero()":[{"notice":"Error emitted when attempting to set the `OndoTokenRouter` address to zero"}],"FeeGreaterThanRedemption()":[{"notice":"Error emitted when the fee is greater than the redemption amount"}],"RedemptionAmountTooSmall()":[{"notice":"Error emitted when the redemption amount is too small"}],"RwaReceiveAmountTooSmall()":[{"notice":"Error emitted when rwa amount is below the `minimumRwaReceived` in a subscription"}],"FeeGreaterThanSubscription()":[{"notice":"Error emitted when the fee is greater than the subscription amount"}],"ComplianceAddressCantBeZero()":[{"notice":"Error emitted when attempting to set the `OndoCompliance` address to zero"}],"IDRegistryAddressCantBeZero()":[{"notice":"Error emitted when attempting to set the `OndoIDRegistry` address to zero"}],"RateLimiterAddressCantBeZero()":[{"notice":"Error emitted when attempting to set the `OndoRateLimiter` address to zero"}],"RebasingUSDYCantBeZeroAddress()":[{"notice":"Error emitted when setting the rUSDY address to the zero address"}],"AdminSubscriptionCheckerAddressCantBeZero()":[{"notice":"Error emitted when attempting to set the `AdminSubscriptionChecker` address to zero"}]},"events":{"RedeemPaused()":{"notice":"Event emitted when redeem functionality is paused"},"RedeemUnpaused()":{"notice":"Event emitted when redeem functionality is unpaused"},"SubscribePaused()":{"notice":"Event emitted when subscription functionality is paused"},"SubscribeUnpaused()":{"notice":"Event emitted when subscription functionality is unpaused"},"OndoOracleSet(address,address)":{"notice":"Event emitted when the `OndoOracle` contract is set"},"OndoComplianceSet(address,address)":{"notice":"Event emitted when the `OndoCompliance` contract is set."},"OndoIDRegistrySet(address,address)":{"notice":"Event emitted when the `OndoIDRegistry` contract is set"},"MinimumRwaPriceSet(uint256,uint256)":{"notice":"Event emitted when the minimum RWA token price is set"},"OndoRateLimiterSet(address,address)":{"notice":"Event emitted when the `OndoRateLimiter` contract is set"},"OndoTokenRouterSet(address,address)":{"notice":"Event emitted when the `OndoTokenRouter` contract is set"},"OndoRedemptionFeesSet(address,address)":{"notice":"Event emitted when the `OndoFees` redemption contract is set"},"AcceptedRedemptionTokenSet(address,bool)":{"notice":"Event emitted when a token's supported status for redemptions"},"MinimumDepositAmountSet(uint256,uint256)":{"notice":"Event emitted when subscription minimum is set"},"OndoSubscriptionFeesSet(address,address)":{"notice":"Event emitted when the `OndoFees` subscription contract is set"},"AcceptedSubscriptionTokenSet(address,bool)":{"notice":"Event emitted when a token's supported status is set for subscriptions"},"MinimumRedemptionAmountSet(uint256,uint256)":{"notice":"Event emitted when redeem minimum is set"},"AdminSubscriptionCheckerSet(address,address)":{"notice":"Event emitted when the `AdminSubscriptionChecker` contract is set"},"AdminSubscriptionRebasingUSDY(address,uint256,uint256,bytes32)":{"notice":"Event emitted when an admin mints rUSDY"},"AdminSubscription(address,address,bytes32,uint256,uint256,bytes32)":{"notice":"Event emitted when an admin completes a subscription for a recipient"},"Redemption(address,bytes32,uint256,address,uint256,uint256,uint256)":{"notice":"Event emitted when a user redeems an RWA token"},"Subscription(address,bytes32,uint256,address,uint256,uint256,uint256)":{"notice":"Event emitted when a user subscribes to an RWA token"},"InstantRedemptionRebasingUSDY(address,uint256,uint256,address,uint256)":{"notice":"Event emitted when a user redeems rUSDY"},"InstantSubscriptionRebasingUSDY(address,uint256,uint256,address,uint256)":{"notice":"Event emitted when a user mints rUSDY"}},"notice":"This contract manages instant subscriptions and redemptions of USDY and rUSDY tokens,         with support for conversion between USDY and rUSDY.         This contract allows for:         - Users to instantly subscribe to USDY or rUSDY by depositing supported tokens         - Users to redeem USDY or rUSDY back to supported tokens         - An admin to execute manual subscriptions for specialized use cases","methods":{"rusdy()":{"notice":"The rebasing USDY token contract"},"rwaToken()":{"notice":"The contract address for the RWA token this contract is responsible for"},"ondoOracle()":{"notice":"The `OndoOracle` contract address"},"PAUSER_ROLE()":{"notice":"Role to pause subscriptions and redemptions"},"pauseRedeem()":{"notice":"Pause the redeem functionality."},"redeemPaused()":{"notice":"Whether redemptions are paused for this contract"},"unpauseRedeem()":{"notice":"Unpause the redeem functionality."},"RWA_NORMALIZER()":{"notice":"The decimals normalizer for the RWA token"},"USD_NORMALIZER()":{"notice":"The decimals normalizer for USD"},"ondoCompliance()":{"notice":"The `OndoCompliance` contract address"},"ondoIDRegistry()":{"notice":"The `OndoIDRegistry` contract address"},"pauseSubscribe()":{"notice":"Pause the subscribe functionality."},"CONFIGURER_ROLE()":{"notice":"Role to configure the contract"},"minimumRwaPrice()":{"notice":"Minimum price of RWA token that this contract will use, denoted in USD with 18 decimals"},"ondoRateLimiter()":{"notice":"The `OndoRateLimiter` contract address"},"ondoTokenRouter()":{"notice":"The `OndoTokenRouter` contract address"},"subscribePaused()":{"notice":"Whether subscriptions are paused for this contract"},"unpauseSubscribe()":{"notice":"Unpause the subscribe functionality."},"minimumDepositUSD()":{"notice":"Minimum USD amount required to subscribe to a RWA token, denoted in USD with 18         decimals."},"ondoRedemptionFees()":{"notice":"The `OndoFees` contract for managing redemption fees"},"minimumRedemptionUSD()":{"notice":"Minimum USD amount required to perform an RWA token redemption to be allowed,         denoted in USD with 18 decimals"},"ondoSubscriptionFees()":{"notice":"The `OndoFees` contract for managing subscription fees"},"setOndoOracle(address)":{"notice":"Admin function to set the `OndoOracle` contract"},"ADMIN_SUBSCRIPTION_ROLE()":{"notice":"Role to manually service a subscription to RWA tokens"},"adminSubscriptionChecker()":{"notice":"The `AdminSubscriptionChecker` contract"},"setOndoCompliance(address)":{"notice":"Sets the `OndoCompliance` contract"},"setOndoIDRegistry(address)":{"notice":"Sets the `OndoIDRegistry` contract"},"setMinimumRwaPrice(uint256)":{"notice":"Sets the minimum price of RWA token"},"setOndoRateLimiter(address)":{"notice":"Sets the `OndoRateLimiter` contract"},"setOndoTokenRouter(address)":{"notice":"Admin function to set the `OndoTokenRouter` contract"},"setOndoRedemptionFees(address)":{"notice":"Sets the `OndoFees` contract for redemptions"},"redeem(uint256,address,uint256)":{"notice":"Redeems the specified amount of RWA for the receiving token"},"setMinimumDepositAmount(uint256)":{"notice":"Sets the minimum amount required for a subscription"},"setOndoSubscriptionFees(address)":{"notice":"Sets the `OndoFees` contract for subscriptions"},"USDY_TO_RUSDY_SHARES_MULTIPLIER()":{"notice":"Helper constant for converting between USDY tokens and rUSDY shares"},"acceptedRedemptionTokens(address)":{"notice":"Mapping of accepted redemption tokens"},"subscribe(address,uint256,uint256)":{"notice":"Subscribes to the RWA using the specified deposit token and amount"},"acceptedSubscriptionTokens(address)":{"notice":"Mapping of accepted subscription tokens"},"setMinimumRedemptionAmount(uint256)":{"notice":"Sets the minimum amount to redeem"},"setAdminSubscriptionChecker(address)":{"notice":"Sets the `AdminSubscriptionChecker` contract"},"adminSubscribe(address,uint256,bytes32)":{"notice":"Allows an admin to subscribe on behalf of a recipient with the specified RWA amount         and metadata"},"retrieveTokens(address,address,uint256)":{"notice":"Rescue and transfer tokens locked in this contract"},"setAcceptedRedemptionToken(address,bool)":{"notice":"Sets whether a token is accepted for redemption."},"setAcceptedSubscriptionToken(address,bool)":{"notice":"Sets whether a token is accepted for subscriptions"},"redeemRebasingUSDY(uint256,address,uint256)":{"notice":"Performs a rUSDY redemption. This works similar to `redeem`, but         unwraps the rUSDY to USDY before processing the redemption."},"subscribeRebasingUSDY(address,uint256,uint256)":{"notice":"Subscribes to rUSDY. This works similar to `subscribe`, but         wraps the USDY into rUSDY before transferring to the user."},"adminSubscribeRebasingUSDY(address,uint256,bytes32)":{"notice":"Performs an admin subscription to rUSDY. This works similar to         `adminSubscribe`, but wraps the USDY to rUSDY before transferring the tokens         to the user."}},"version":1},"devdoc":{"kind":"dev","title":"USDY_InstantManager","author":"Ondo Finance","errors":{"SafeERC20FailedOperation(address)":[{"details":"An operation with an ERC-20 token failed."}]},"events":{"AdminSubscriptionRebasingUSDY(address,uint256,uint256,bytes32)":{"params":{"metadata":"Metadata for the subscription","recipient":"Address of the recipient","usdyAmount":"Amount of USDY wrapped for the user","rusdyAmount":"Amount of rUSDY sent to recipient"}},"InstantRedemptionRebasingUSDY(address,uint256,uint256,address,uint256)":{"params":{"redeemer":"Address of the redeemer","usdyAmountIn":"Amount of USDY unwrapped for the user","rusdyAmountIn":"Amount of the rUSDY burned for the redemption","receivingToken":"Address of the token received","receiveTokenAmount":"Amount of tokens received, denoted in decimals of `receivingToken`"}},"InstantSubscriptionRebasingUSDY(address,uint256,uint256,address,uint256)":{"params":{"recipient":"Address of the recipient","depositToken":"Address of the token deposited","depositAmount":"Amount of tokens deposited, denoted in decimals of `depositToken`","usdyAmountOut":"Amount of USDY wrapped for the user","rusdyAmountOut":"Amount of rUSDY sent to user"}}},"methods":{"constructor":{"params":{"_rusdy":"The rUSDY token address","_rwaToken":"The USDY token address","_defaultAdmin":"The default admin address","_minimumDepositAmount":"The minimum deposit amount","_minimumRedemptionAmount":"The minimum redemption amount"}},"getRoleAdmin(bytes32)":{"details":"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}."},"setOndoOracle(address)":{"params":{"_ondoOracle":"The `OndoOracle` contract address"},"details":"Will revert if new `OndoOracle` contract returns a price lower than the minimum         configured price of the RWA token"},"hasRole(bytes32,address)":{"details":"Returns `true` if `account` has been granted `role`."},"supportsInterface(bytes4)":{"details":"See {IERC165-supportsInterface}."},"grantRole(bytes32,address)":{"details":"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role."},"setOndoCompliance(address)":{"params":{"_ondoCompliance":"The `OndoCompliance` contract address"}},"setOndoIDRegistry(address)":{"params":{"_ondoIDRegistry":"The `OndoIDRegistry` contract address"}},"getRoleMemberCount(bytes32)":{"details":"Returns the number of accounts that have `role`. Can be used together with {getRoleMember} to enumerate all bearers of a role."},"revokeRole(bytes32,address)":{"details":"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role."},"setMinimumRwaPrice(uint256)":{"params":{"_minimumRwaPrice":"The minimum price of the RWA token"}},"setOndoRateLimiter(address)":{"params":{"_ondoRateLimiter":"The `OndoRateLimiter` contract address"}},"setOndoTokenRouter(address)":{"params":{"_ondoTokenRouter":"The `OndoTokenRouter` contract address"}},"renounceRole(bytes32,address)":{"details":"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`."},"getRoleMember(bytes32,uint256)":{"details":"Returns one of the accounts that have `role`. `index` must be a value between 0 and {getRoleMemberCount}, non-inclusive. Role bearers are not sorted in any particular way, and their ordering may change at any point. WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure you perform all queries on the same block. See the following https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] for more information."},"setOndoRedemptionFees(address)":{"params":{"_ondoRedemptionFees":"The `OndoFees` contract address"}},"redeem(uint256,address,uint256)":{"params":{"rwaAmount":"The amount of RWA to be redeemed, expected to be in decimals of                              the RWA token","receivingToken":"The address of the token to receive","minimumTokenReceived":"The minimum amount of the receiving token to be received,                              expected to be in decimals of `receivingToken`"},"returns":{"receiveTokenAmount":"  The amount of the token received from the redemption, expected                              to be in decimals of the `receivingToken`"}},"setMinimumDepositAmount(uint256)":{"params":{"_minimumDepositUSD":"The minimum amount required to subscribe, denoted in                            USD with 18 decimals"}},"setOndoSubscriptionFees(address)":{"params":{"_ondoSubscriptionFees":"The `OndoFees` contract address"}},"subscribe(address,uint256,uint256)":{"params":{"depositToken":"The address of the token to be deposited","depositAmount":"The amount of the deposit token to be deposited, expected to be in                            decimals of `depositToken`","minimumRwaReceived":"The minimum amount of RWA to be received from the subscription,                            expected to be in decimals of the RWA token"},"returns":{"rwaAmountOut":"      The amount of RWA received from the subscription, expected to be in                            decimals of the RWA token"}},"setMinimumRedemptionAmount(uint256)":{"params":{"_minimumRedemptionUSD":"The minimum amount required to redeem,                               denoted in USD with 18."}},"setAdminSubscriptionChecker(address)":{"params":{"_adminSubscriptionChecker":"The `AdminSubscriptionChecker` contract address"}},"adminSubscribe(address,uint256,bytes32)":{"params":{"metadata":"Additional metadata associated with the subscription","recipient":"The address of the recipient","rwaAmount":"The amount of RWA to be subscribed, expected to be in decimals of the RWA                   token"}},"retrieveTokens(address,address,uint256)":{"params":{"to":"The address of the recipient","token":"The address of the token","amount":"The amount of token to transfer"}},"setAcceptedRedemptionToken(address,bool)":{"params":{"token":"The token address","accepted":"Whether the token is accepted for redemption"}},"setAcceptedSubscriptionToken(address,bool)":{"params":{"token":"The token address","accepted":"Whether the token is accepted for subscription"}},"redeemRebasingUSDY(uint256,address,uint256)":{"params":{"rusdyAmount":"Amount of rUSDY to redeem","receivingToken":"Token to receive","minimumTokenReceived":"Minimum amount of tokens to receive, denoted in decimals of                                `receivingToken`"},"returns":{"receiveTokenAmount":"    Amount of tokens received, denoted in decimals of                                `receivingToken`"}},"subscribeRebasingUSDY(address,uint256,uint256)":{"params":{"depositToken":"The token to deposit","depositAmount":"Amount of tokens to deposit, denoted in decimals of the                              `depositToken`","minimumRusdyReceived":"Minimum amount of rUSDY to receive"},"returns":{"rusdyAmountOut":"      Amount of rUSDY received, in decimals of rUSDY"}},"adminSubscribeRebasingUSDY(address,uint256,bytes32)":{"params":{"metadata":"Metadata for the subscription","recipient":"Recipient of the rUSDY","rusdyAmount":"Amount of rUSDY to send, in decimals of rUSDY"}}},"version":1},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_bytes32":{"label":"bytes32","encoding":"inplace","numberOfBytes":"32"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_contract(IOndoFees)5588":{"label":"contract IOndoFees","encoding":"inplace","numberOfBytes":"20"},"t_struct(Set)3144_storage":{"label":"struct EnumerableSet.Set","members":[{"slot":"0","type":"t_array(t_bytes32)dyn_storage","astId":3139,"label":"_values","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"1","type":"t_mapping(t_bytes32,t_uint256)","astId":3143,"label":"_indexes","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"}],"encoding":"inplace","numberOfBytes":"64"},"t_contract(IOndoOracle)5610":{"label":"contract IOndoOracle","encoding":"inplace","numberOfBytes":"20"},"t_mapping(t_address,t_bool)":{"key":"t_address","label":"mapping(address => bool)","value":"t_bool","encoding":"mapping","numberOfBytes":"32"},"t_array(t_bytes32)dyn_storage":{"base":"t_bytes32","label":"bytes32[]","encoding":"dynamic_array","numberOfBytes":"32"},"t_mapping(t_bytes32,t_uint256)":{"key":"t_bytes32","label":"mapping(bytes32 => uint256)","value":"t_uint256","encoding":"mapping","numberOfBytes":"32"},"t_struct(RoleData)2159_storage":{"label":"struct AccessControl.RoleData","members":[{"slot":"0","type":"t_mapping(t_address,t_bool)","astId":2156,"label":"members","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"1","type":"t_bytes32","astId":2158,"label":"adminRole","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"}],"encoding":"inplace","numberOfBytes":"64"},"t_contract(IOndoCompliance)5572":{"label":"contract IOndoCompliance","encoding":"inplace","numberOfBytes":"20"},"t_contract(IOndoIDRegistry)5600":{"label":"contract IOndoIDRegistry","encoding":"inplace","numberOfBytes":"20"},"t_contract(IOndoRateLimiter)5628":{"label":"contract IOndoRateLimiter","encoding":"inplace","numberOfBytes":"20"},"t_contract(IOndoTokenRouter)5662":{"label":"contract IOndoTokenRouter","encoding":"inplace","numberOfBytes":"20"},"t_struct(AddressSet)3445_storage":{"label":"struct EnumerableSet.AddressSet","members":[{"slot":"0","type":"t_struct(Set)3144_storage","astId":3444,"label":"_inner","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"}],"encoding":"inplace","numberOfBytes":"64"},"t_contract(IAdminSubscriptionChecker)5562":{"label":"contract IAdminSubscriptionChecker","encoding":"inplace","numberOfBytes":"20"},"t_mapping(t_bytes32,t_struct(RoleData)2159_storage)":{"key":"t_bytes32","label":"mapping(bytes32 => struct AccessControl.RoleData)","value":"t_struct(RoleData)2159_storage","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_bytes32,t_struct(AddressSet)3445_storage)":{"key":"t_bytes32","label":"mapping(bytes32 => struct EnumerableSet.AddressSet)","value":"t_struct(AddressSet)3445_storage","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_uint256","astId":2682,"label":"_status","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"1","type":"t_mapping(t_bytes32,t_struct(RoleData)2159_storage)","astId":2164,"label":"_roles","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"2","type":"t_mapping(t_bytes32,t_struct(AddressSet)3445_storage)","astId":2467,"label":"_roleMembers","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"3","type":"t_uint256","astId":5842,"label":"minimumDepositUSD","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"4","type":"t_uint256","astId":5845,"label":"minimumRedemptionUSD","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"5","type":"t_uint256","astId":5848,"label":"minimumRwaPrice","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"6","type":"t_bool","astId":5851,"label":"subscribePaused","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"6","type":"t_bool","astId":5854,"label":"redeemPaused","offset":1,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"6","type":"t_contract(IOndoTokenRouter)5662","astId":5861,"label":"ondoTokenRouter","offset":2,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"7","type":"t_contract(IOndoOracle)5610","astId":5865,"label":"ondoOracle","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"8","type":"t_contract(IOndoCompliance)5572","astId":5869,"label":"ondoCompliance","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"9","type":"t_contract(IOndoIDRegistry)5600","astId":5873,"label":"ondoIDRegistry","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"10","type":"t_contract(IOndoRateLimiter)5628","astId":5877,"label":"ondoRateLimiter","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"11","type":"t_contract(IOndoFees)5588","astId":5881,"label":"ondoSubscriptionFees","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"12","type":"t_contract(IOndoFees)5588","astId":5885,"label":"ondoRedemptionFees","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"13","type":"t_contract(IAdminSubscriptionChecker)5562","astId":5889,"label":"adminSubscriptionChecker","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"14","type":"t_mapping(t_address,t_bool)","astId":5894,"label":"acceptedSubscriptionTokens","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"},{"slot":"15","type":"t_mapping(t_address,t_bool)","astId":5899,"label":"acceptedRedemptionTokens","offset":0,"contract":"contracts/xManager/rwaManagers/USDY_InstantManager.sol:USDY_InstantManager"}]},"transientStorageLayout":null,"evm":{"bytecode":{"object":"60e06040523480156200001157600080fd5b50604051620041b9380380620041b983398101604081905262000034916200029c565b6001600055848483836001600160a01b038316620000655760405163885ce5f160e01b815260040160405180910390fd5b6001600160a01b03831660a08190526040805163313ce56760e01b8152905163313ce567916004808201926020929091908290030181865afa158015620000b0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000d69190620002f9565b620000e390600a62000438565b60805260038290556004819055620000fd60008562000141565b5050506001600160a01b03841690506200012a57604051630f35c93760e21b815260040160405180910390fd5b50506001600160a01b031660c05250620004499050565b6200015882826200018460201b620020b41760201c565b60008281526002602090815260409091206200017f9183906200211f6200020d821b17901c565b505050565b60008281526001602090815260408083206001600160a01b038516845290915290205460ff16620002095760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45b5050565b600062000224836001600160a01b0384166200022d565b90505b92915050565b6000818152600183016020526040812054620002765750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000227565b50600062000227565b80516001600160a01b03811681146200029757600080fd5b919050565b600080600080600060a08688031215620002b557600080fd5b620002c0866200027f565b9450620002d0602087016200027f565b9350620002e0604087016200027f565b6060870151608090970151959894975095949392505050565b6000602082840312156200030c57600080fd5b815160ff811681146200031e57600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200037c57816000190482111562000360576200036062000325565b808516156200036e57918102915b93841c939080029062000340565b509250929050565b600082620003955750600162000227565b81620003a45750600062000227565b8160018114620003bd5760028114620003c857620003e8565b600191505062000227565b60ff841115620003dc57620003dc62000325565b50506001821b62000227565b5060208310610133831016604e8410600b84101617156200040d575081810a62000227565b6200041983836200033b565b806000190482111562000430576200043062000325565b029392505050565b60006200022460ff84168362000384565b60805160a05160c051613c2862000591600039600081816103fc015281816108890152818161091c015281816109a50152818161101901528181611167015281816111eb015281816112510152818161187d015281816119d001528181611a540152611aba0152600081816103aa01528181610a3301528181610b4901528181610c6b01528181610d2401528181610f3d015281816110ba015281816111380152818161161601528181611923015281816119a101528181611ef301528181611f86015281816121e10152818161227b0152818161239401528181612453015281816125fa0152818161274e015281816127e8015281816128d501528181612a7201528181612b9b01528181612d3401528181612dbb01528181612f1501526130f60152600081816105e10152818161230a01528181612b100152612e4a0152613c286000f3fe608060405234801561001057600080fd5b50600436106103785760003560e01c80637b0e1c57116101d3578063af3345d111610104578063d547741f116100a2578063e64338341161007c578063e6433834146107c4578063f3a408da146107d7578063fd84a072146107df578063fe6f14c5146107f257600080fd5b8063d547741f14610777578063d87801611461078a578063e63ab1e91461079d57600080fd5b8063ba2a1c4d116100de578063ba2a1c4d14610717578063c768b1451461073e578063c8e1585d14610751578063ca15c8731461076457600080fd5b8063af3345d1146106ea578063afb6794e146106f2578063b235d4681461070557600080fd5b80638f8eb81211610171578063a217fddf1161014b578063a217fddf146106a7578063aab483d6146106af578063abbb9f4c146106c2578063ad129e77146106d757600080fd5b80638f8eb812146106785780639010d07c1461068157806391d148541461069457600080fd5b80638133067e116101ad5780638133067e1461061657806386dd535c14610629578063884a05011461063c5780638f4f96131461065f57600080fd5b80637b0e1c57146105c95780637ead09e8146105dc578063811400fa1461060357600080fd5b806336568abe116102ad578063531acc131161024b5780636085057411610225578063608505741461058b57806361fca4551461059457806368f26f82146105a7578063695e122d146105b657600080fd5b8063531acc131461056257806359e0f36f1461056b5780635f1270791461057e57600080fd5b80633faed166116102875780633faed1661461052157806340db35e0146105345780634ce78490146105475780634ef1ccd11461054f57600080fd5b806336568abe146104e85780633e4af11f146104fb5780633f9832581461050e57600080fd5b806322d4a1751161031a578063248a9ca3116102f4578063248a9ca3146104965780632d7d41ab146104ba5780632f2ff15d146104cd57806332ec84d2146104e057600080fd5b806322d4a1751461046557806323991e4b14610478578063245513ce1461048d57600080fd5b806310a4f09f1161035657806310a4f09f146103f757806316762d7a1461041e5780631ee547e71461043f57806321e0e0cf1461045257600080fd5b806301ffc9a71461037d5780630c5bf351146103a55780630ded4a6f146103e4575b600080fd5b61039061038b366004613642565b610815565b60405190151581526020015b60405180910390f35b6103cc7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161039c565b600d546103cc906001600160a01b031681565b6103cc7f000000000000000000000000000000000000000000000000000000000000000081565b61043161042c366004613688565b610840565b60405190815260200161039c565b6008546103cc906001600160a01b031681565b6007546103cc906001600160a01b031681565b6104316104733660046136bd565b610b03565b61048b6104863660046136f0565b610bc7565b005b61043161271081565b6104316104a436600461370b565b6000908152600160208190526040909120015490565b61048b6104c83660046136bd565b610cdb565b61048b6104db366004613724565b610d97565b61048b610dbe565b61048b6104f6366004613724565b610e24565b61048b6105093660046136f0565b610ea2565b61048b61051c3660046136bd565b610fd6565b61048b61052f366004613761565b611345565b61048b6105423660046136f0565b611452565b61048b6114e2565b61048b61055d36600461370b565b611524565b61043160035481565b61048b6105793660046136f0565b611572565b6006546103909060ff1681565b61043160055481565b61048b6105a23660046136f0565b611676565b610431670de0b6b3a764000081565b61048b6105c4366004613761565b611705565b61048b6105d7366004613798565b611812565b6104317f000000000000000000000000000000000000000000000000000000000000000081565b600a546103cc906001600160a01b031681565b6104316106243660046136bd565b611838565b61048b6106373660046136f0565b611bdd565b61039061064a3660046136f0565b600f6020526000908152604090205460ff1681565b6006546103cc906201000090046001600160a01b031681565b61043160045481565b6103cc61068f3660046137c4565b611c6c565b6103906106a2366004613724565b611c8b565b610431600081565b61048b6106bd36600461370b565b611cb6565b610431600080516020613bd383398151915281565b61048b6106e53660046136f0565b611d04565b61048b611d94565b61048b6107003660046136f0565b611dd7565b60065461039090610100900460ff1681565b6104317fb94da9555321002e2f278a8e588b6b5c51fa2748893b00f6e45fc41af53493ab81565b6009546103cc906001600160a01b031681565b600b546103cc906001600160a01b031681565b61043161077236600461370b565b611e75565b61048b610785366004613724565b611e8c565b610431610798366004613688565b611eb3565b6104317f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b600c546103cc906001600160a01b031681565b61048b612002565b61048b6107ed36600461370b565b612066565b6103906108003660046136f0565b600e6020526000908152604090205460ff1681565b60006001600160e01b03198216635a05180f60e01b148061083a575061083a82612134565b92915050565b600060026000540361086d5760405162461bcd60e51b8152600401610864906137e6565b60405180910390fd5b60026000556040516323b872dd60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906323b872dd906108c29033903090899060040161381d565b6020604051808303816000875af11580156108e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109059190613841565b50604051636f074d1f60e11b8152600481018590527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063de0e9a3e90602401600060405180830381600087803b15801561096857600080fd5b505af115801561097c573d6000803e3d6000fd5b50506040516358af948f60e11b8152600481018790526000925061271091506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063b15f291e90602401602060405180830381865afa1580156109ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a10919061385e565b610a1a919061388d565b604051630852cd8d60e31b8152600481018290529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906342966c6890602401600060405180830381600087803b158015610a7f57600080fd5b505af1158015610a93573d6000803e3d6000fd5b50505050610aa2818585612169565b60408051838152602081018890526001600160a01b0387168183015260608101839052905191935033917f9ef7a247f6b9f5762b48aaef49860629bb5fec37c2e12bc46a980abd704ab0459181900360800190a25060016000559392505050565b6000600260005403610b275760405162461bcd60e51b8152600401610864906137e6565b6002600055610b378484846126db565b6040516340c10f1960e01b81529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906340c10f1990610b8890339085906004016138af565b600060405180830381600087803b158015610ba257600080fd5b505af1158015610bb6573d6000803e3d6000fd5b505060016000555090949350505050565b6000610bd38133612c59565b6001600160a01b038216610bfa57604051633d04535360e21b815260040160405180910390fd5b6009546040516001600160a01b038085169216907ff78e014ab86d7bb38135262d64726cef2e151dae47c0947a1d6bb970702c30d690600090a3600980546001600160a01b0319166001600160a01b038416908117909155604051637f19077160e01b8152637f19077190610c95907f00000000000000000000000000000000000000000000000000000000000000009030906004016138c8565b602060405180830381865afa158015610cb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd6919061385e565b505050565b600260005403610cfd5760405162461bcd60e51b8152600401610864906137e6565b6002600055610d0d838383612cbd565b6040516340c10f1960e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906340c10f1990610d5b90869086906004016138af565b600060405180830381600087803b158015610d7557600080fd5b505af1158015610d89573d6000803e3d6000fd5b505060016000555050505050565b60008281526001602081905260409091200154610db48133612c59565b610cd68383612fdb565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610de98133612c59565b6006805461ff0019166101001790556040517f60b78ed2d882d2d2387ad2b7119495f7c99dd9a9c191d3d02c35982a0750bcc690600090a150565b6001600160a01b0381163314610e945760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610864565b610e9e8282612ffd565b5050565b6000610eae8133612c59565b6001600160a01b038216610ed557604051632233f8fd60e21b815260040160405180910390fd5b6007546040516001600160a01b038085169216907f6c9074ba8ab5c258404464c9703de55127adb996134fd80d450ce94eb76ff59090600090a3600780546001600160a01b0319166001600160a01b0384811691821790925560405163b3596f0760e01b81527f0000000000000000000000000000000000000000000000000000000000000000909216600483015260009163b3596f0790602401602060405180830381865afa158015610f8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb1919061385e565b9050600554811015610cd657604051633b2f2ac960e11b815260040160405180910390fd5b600260005403610ff85760405162461bcd60e51b8152600401610864906137e6565b600260009081556040516358af948f60e11b815260048101849052612710907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063b15f291e90602401602060405180830381865afa158015611068573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108c919061385e565b611096919061388d565b90506110a3848284612cbd565b6040516340c10f1960e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906340c10f19906110f190309085906004016138af565b600060405180830381600087803b15801561110b57600080fd5b505af115801561111f573d6000803e3d6000fd5b505060405163095ea7b360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063095ea7b39150611191907f00000000000000000000000000000000000000000000000000000000000000009085906004016138af565b6020604051808303816000875af11580156111b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d49190613841565b50604051630ea598cb60e41b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063ea598cb090602401600060405180830381600087803b15801561123757600080fd5b505af115801561124b573d6000803e3d6000fd5b505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638fcb4e5b856127108461128d91906138e2565b6040518363ffffffff1660e01b81526004016112aa9291906138af565b6020604051808303816000875af11580156112c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ed919061385e565b5060408051828152602081018590529081018390526001600160a01b038516907ffd614e52d7b496f0d3f713f3a55ea6a08921356a6778f1565134f76da6731d6a9060600160405180910390a2505060016000555050565b60006113518133612c59565b6001600160a01b0383166113785760405163885ce5f160e01b815260040160405180910390fd5b81156113ee5760075460405163b3596f0760e01b81526001600160a01b0385811660048301529091169063b3596f0790602401602060405180830381865afa1580156113c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ec919061385e565b505b604051821515906001600160a01b038516907fb69d0cdc257fe2726a8ebd7602c8a681fd8152961d1c38a5d5b3090a4d96b20c90600090a3506001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b600061145e8133612c59565b6001600160a01b0382166114855760405163524d94d960e11b815260040160405180910390fd5b600d546040516001600160a01b038085169216907ff68d3e8139cf85c4c8ea147060134c79e97dbfa33f3f6a9d4cdec44ef467c74790600090a350600d80546001600160a01b0319166001600160a01b0392909216919091179055565b60006114ee8133612c59565b6006805460ff191690556040517f849babeb0c1b4e2b3842433574a5cdfe23ffde54c64651d42a6b02e8f98cbf8a90600090a150565b600080516020613bd383398151915261153d8133612c59565b6004546040518391907ffdaf6ed728cef208e62328a008209556f8281f3062b14dd08aaaa90fa159421190600090a350600455565b600061157e8133612c59565b6001600160a01b0382166115a557604051630b69326560e11b815260040160405180910390fd5b6008546040516001600160a01b038085169216907fdbc2a9769fa2b31eadfb16b690e3c783592becd0b822401b274a90a34d80b6dc90600090a3600880546001600160a01b0319166001600160a01b0384169081179091556040516334dae8d560e01b81526334dae8d590611640907f00000000000000000000000000000000000000000000000000000000000000009030906004016138c8565b600060405180830381600087803b15801561165a57600080fd5b505af115801561166e573d6000803e3d6000fd5b505050505050565b60006116828133612c59565b6001600160a01b0382166116a8576040516291d13760e51b815260040160405180910390fd5b600b546040516001600160a01b038085169216907f24fdea3a24a4edda22c10620f63628ed57f6b60d457d833035a316ab15684c9490600090a350600b80546001600160a01b0319166001600160a01b0392909216919091179055565b60006117118133612c59565b6001600160a01b0383166117385760405163885ce5f160e01b815260040160405180910390fd5b81156117ae5760075460405163b3596f0760e01b81526001600160a01b0385811660048301529091169063b3596f0790602401602060405180830381865afa158015611788573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ac919061385e565b505b604051821515906001600160a01b038516907f34e319579e041b2d04a5a9ff137ef4511e2db49d2da0512cdbe3845c32bc933a90600090a3506001600160a01b03919091166000908152600f60205260409020805460ff1916911515919091179055565b600061181e8133612c59565b6118326001600160a01b038516848461301f565b50505050565b600060026000540361185c5760405162461bcd60e51b8152600401610864906137e6565b600260009081556040516358af948f60e11b815260048101849052612710907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063b15f291e90602401602060405180830381865afa1580156118cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f0919061385e565b6118fa919061388d565b905060006119098686846126db565b6040516340c10f1960e01b81529091506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906340c10f199061195a90309085906004016138af565b600060405180830381600087803b15801561197457600080fd5b505af1158015611988573d6000803e3d6000fd5b505060405163095ea7b360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063095ea7b391506119fa907f00000000000000000000000000000000000000000000000000000000000000009085906004016138af565b6020604051808303816000875af1158015611a19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a3d9190613841565b50604051630ea598cb60e41b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063ea598cb090602401600060405180830381600087803b158015611aa057600080fd5b505af1158015611ab4573d6000803e3d6000fd5b505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638fcb4e5b611aee3390565b611afa612710856138e2565b6040518363ffffffff1660e01b8152600401611b179291906138af565b6020604051808303816000875af1158015611b36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b5a919061385e565b925083831015611b7d5760405163c5db0fc160e01b815260040160405180910390fd5b60408051828152602081018590526001600160a01b0388168183015260608101879052905133917f9d1b78864fb222ffcf82e2444ee22d6bb9cf52d41b71914f34e1597f23423ca4919081900360800190a2505060016000559392505050565b6000611be98133612c59565b6001600160a01b038216611c0f576040516291d13760e51b815260040160405180910390fd5b600c546040516001600160a01b038085169216907f849fba91aaeaa62c2a7f48c8ff7c26b006ca3ae247c1640072ecf571e31040c890600090a350600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6000828152600260205260408120611c849083613077565b9392505050565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020613bd3833981519152611ccf8133612c59565b6003546040518391907fe6e25add7363f8f8a40cbea9810d3115a33703b10972ef759104219b0065743690600090a350600355565b6000611d108133612c59565b6001600160a01b038216611d3757604051633aa9ba3360e01b815260040160405180910390fd5b600a546040516001600160a01b038085169216907fc54bf4c3067c1d8f65e053dafb5dbb699615b1b527d2866bd0223102bb2e692d90600090a350600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000611da08133612c59565b6006805461ff00191690556040517f687bf6e69dbabcc95e11041b4816a83f36dcf6ef647f6acf63e7469d28f5ea7390600090a150565b6000611de38133612c59565b6001600160a01b038216611e0a5760405163341d47c360e01b815260040160405180910390fd5b6006546040516001600160a01b038085169262010000900416907f132a375a3726b76fcc71a6992f19961145ed03f35eca19ad07381f43501c2b5e90600090a350600680546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b600081815260026020526040812061083a90613083565b60008281526001602081905260409091200154611ea98133612c59565b610cd68383612ffd565b6000600260005403611ed75760405162461bcd60e51b8152600401610864906137e6565b60026000556040516323b872dd60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906323b872dd90611f2c9033903090899060040161381d565b6020604051808303816000875af1158015611f4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6f9190613841565b50604051630852cd8d60e31b8152600481018590527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906342966c6890602401600060405180830381600087803b158015611fd257600080fd5b505af1158015611fe6573d6000803e3d6000fd5b50505050611ff5848484612169565b6001600055949350505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61202d8133612c59565b6006805460ff191660011790556040517fb9964f53255ea6cb323618cebc0c47de4f99089e9993d1862f24e2fdaf2a31e590600090a150565b600080516020613bd383398151915261207f8133612c59565b6005546040518391907f8ba90cff6e6e2b8e73cee7f3c5356cca13f1715f39f5eaa6164a99b49e497c8e90600090a350600555565b6120be8282611c8b565b610e9e5760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b6000611c84836001600160a01b03841661308d565b60006001600160e01b03198216637965db0b60e01b148061083a57506301ffc9a760e01b6001600160e01b031983161461083a565b600654600090610100900460ff161561219557604051630df65d9f60e01b815260040160405180910390fd5b6001600160a01b0383166000908152600f602052604090205460ff166121ce5760405163e51cf7bf60e01b815260040160405180910390fd5b6008546001600160a01b03166334dae8d57f0000000000000000000000000000000000000000000000000000000000000000336040518363ffffffff1660e01b815260040161221e9291906138c8565b600060405180830381600087803b15801561223857600080fd5b505af115801561224c573d6000803e3d6000fd5b5050600954604051637f19077160e01b8152600093506001600160a01b039091169150637f190771906122a5907f00000000000000000000000000000000000000000000000000000000000000009033906004016138c8565b602060405180830381865afa1580156122c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122e6919061385e565b90508061230657604051632163950f60e01b815260040160405180910390fd5b60007f0000000000000000000000000000000000000000000000000000000000000000866123326130dc565b61233c91906138e2565b612346919061388d565b905060045481101561236b5760405163680116dd60e11b815260040160405180910390fd5b600c5460405163c75af63560e01b81526000916001600160a01b03169063c75af635906123c2907f0000000000000000000000000000000000000000000000000000000000000000908a9088908890600401613901565b6020604051808303816000875af11580156123e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612405919061385e565b90508181111561242857604051635774f9b360e11b815260040160405180910390fd5b600a54604051637d4945b760e01b81526001600160a01b0390911690637d4945b79061247f906001907f0000000000000000000000000000000000000000000000000000000000000000908890889060040161392a565b600060405180830381600087803b15801561249957600080fd5b505af11580156124ad573d6000803e3d6000fd5b505060075460405163b3596f0760e01b81526001600160a01b038a81166004830152909116925063b3596f079150602401602060405180830381865afa1580156124fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061251f919061385e565b866001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801561255d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125819190613971565b61258c90600a613a78565b6125968385613a87565b6125a091906138e2565b6125aa919061388d565b9350848410156125cd57604051638f19033960e01b815260040160405180910390fd5b60065460405163071f2cab60e51b8152620100009091046001600160a01b03169063e3e5956090612628907f0000000000000000000000000000000000000000000000000000000000000000908a9088908a90600401613901565b600060405180830381600087803b15801561264257600080fd5b505af1158015612656573d6000803e3d6000fd5b505050506126756126643390565b6001600160a01b038816908661301f565b604080518881526001600160a01b03881660208201529081018590526060810183905260808101829052839033907f7023b7bcd020761014c9e1590603f4effceabc102cf0b8023c3f2b14db9ffb6e9060a0015b60405180910390a35050509392505050565b60065460009060ff1615612702576040516302822dcd60e51b815260040160405180910390fd5b6001600160a01b0384166000908152600e602052604090205460ff1661273b5760405163e51cf7bf60e01b815260040160405180910390fd5b6008546001600160a01b03166334dae8d57f0000000000000000000000000000000000000000000000000000000000000000336040518363ffffffff1660e01b815260040161278b9291906138c8565b600060405180830381600087803b1580156127a557600080fd5b505af11580156127b9573d6000803e3d6000fd5b5050600954604051637f19077160e01b8152600093506001600160a01b039091169150637f19077190612812907f00000000000000000000000000000000000000000000000000000000000000009033906004016138c8565b602060405180830381865afa15801561282f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612853919061385e565b90508061287357604051632163950f60e01b815260040160405180910390fd5b6128886001600160a01b038616333087613193565b6006546128a8906001600160a01b038781169162010000900416866131bb565b600654604051631f61f2f560e31b8152620100009091046001600160a01b03169063fb0f97a890612901907f0000000000000000000000000000000000000000000000000000000000000000908990899060040161381d565b600060405180830381600087803b15801561291b57600080fd5b505af115801561292f573d6000803e3d6000fd5b505050506000856001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015612973573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129979190613971565b6129a290600a613a78565b60075460405163b3596f0760e01b81526001600160a01b0389811660048301528892169063b3596f0790602401602060405180830381865afa1580156129ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a10919061385e565b612a1a91906138e2565b612a24919061388d565b9050600354811015612a49576040516367627d0760e01b815260040160405180910390fd5b600b5460405163c75af63560e01b81526000916001600160a01b03169063c75af63590612aa0907f0000000000000000000000000000000000000000000000000000000000000000908b9088908890600401613901565b6020604051808303816000875af1158015612abf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ae3919061385e565b905081811115612b065760405163566f172560e11b815260040160405180910390fd5b612b0e6130dc565b7f0000000000000000000000000000000000000000000000000000000000000000612b398385613a87565b612b4391906138e2565b612b4d919061388d565b935084841015612b705760405163c5db0fc160e01b815260040160405180910390fd5b600a54604051637d4945b760e01b81526001600160a01b0390911690637d4945b790612bc7906000907f0000000000000000000000000000000000000000000000000000000000000000908890889060040161392a565b600060405180830381600087803b158015612be157600080fd5b505af1158015612bf5573d6000803e3d6000fd5b5050505082612c013390565b604080518781526001600160a01b038b811660208301529181018a905260608101869052608081018590529116907f5c88561b046569d4773b016d48f154d22685738bfb692bb0f8478ec2ef36b79f9060a0016126c9565b612c638282611c8b565b610e9e57612c7b816001600160a01b0316601461324d565b612c8683602061324d565b604051602001612c97929190613abe565b60408051601f198184030181529082905262461bcd60e51b825261086491600401613b33565b60065460ff1615612ce1576040516302822dcd60e51b815260040160405180910390fd5b7fb94da9555321002e2f278a8e588b6b5c51fa2748893b00f6e45fc41af53493ab612d0c8133612c59565b6008546040516334dae8d560e01b81526001600160a01b03909116906334dae8d590612d5e907f00000000000000000000000000000000000000000000000000000000000000009088906004016138c8565b600060405180830381600087803b158015612d7857600080fd5b505af1158015612d8c573d6000803e3d6000fd5b5050600954604051637f19077160e01b8152600093506001600160a01b039091169150637f19077190612de5907f00000000000000000000000000000000000000000000000000000000000000009089906004016138c8565b602060405180830381865afa158015612e02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e26919061385e565b905080612e4657604051632163950f60e01b815260040160405180910390fd5b60007f0000000000000000000000000000000000000000000000000000000000000000612e716130dc565b612e7b90876138e2565b612e85919061388d565b600d54604051631e03bab960e21b81529192506001600160a01b03169063780eeae490612eb890339085906004016138af565b600060405180830381600087803b158015612ed257600080fd5b505af1158015612ee6573d6000803e3d6000fd5b5050600a54604051637d4945b760e01b81526001600160a01b039091169250637d4945b79150612f41906000907f0000000000000000000000000000000000000000000000000000000000000000908790879060040161392a565b600060405180830381600087803b158015612f5b57600080fd5b505af1158015612f6f573d6000803e3d6000fd5b5050505081866001600160a01b0316612f853390565b60408051898152602081018690529081018890526001600160a01b0391909116907f8153c95a1826b81124293b12cbbc293c0dfba473b563c61d9a9ff82aa4a1c7ad9060600160405180910390a4505050505050565b612fe582826120b4565b6000828152600260205260409020610cd6908261211f565b61300782826133e9565b6000828152600260205260409020610cd69082613450565b610cd683846001600160a01b031663a9059cbb85856040516024016130459291906138af565b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050613465565b6000611c8483836134d6565b600061083a825490565b60008181526001830160205260408120546130d45750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561083a565b50600061083a565b60075460405163b3596f0760e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152600092169063b3596f0790602401602060405180830381865afa158015613147573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061316b919061385e565b905060055481101561319057604051633b2f2ac960e11b815260040160405180910390fd5b90565b61183284856001600160a01b03166323b872dd8686866040516024016130459392919061381d565b6000836001600160a01b031663095ea7b384846040516024016131df9291906138af565b604051602081830303815290604052915060e01b6020820180516001600160e01b03838183161783525050505090506132188482613500565b6118325761324384856001600160a01b031663095ea7b38660006040516024016130459291906138af565b6118328482613465565b6060600061325c8360026138e2565b613267906002613b66565b67ffffffffffffffff81111561327f5761327f613b79565b6040519080825280601f01601f1916602001820160405280156132a9576020820181803683370190505b509050600360fc1b816000815181106132c4576132c4613b8f565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106132f3576132f3613b8f565b60200101906001600160f81b031916908160001a90535060006133178460026138e2565b613322906001613b66565b90505b600181111561339a576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061335657613356613b8f565b1a60f81b82828151811061336c5761336c613b8f565b60200101906001600160f81b031916908160001a90535060049490941c9361339381613ba5565b9050613325565b508315611c845760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610864565b6133f38282611c8b565b15610e9e5760008281526001602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000611c84836001600160a01b03841661354f565b600080602060008451602086016000885af180613488576040513d6000823e3d81fd5b50506000513d915081156134a05780600114156134ad565b6001600160a01b0384163b155b1561183257604051635274afe760e01b81526001600160a01b0385166004820152602401610864565b60008260000182815481106134ed576134ed613b8f565b9060005260206000200154905092915050565b6000806000806020600086516020880160008a5af192503d91506000519050828015613545575081156135365780600114613545565b6000866001600160a01b03163b115b9695505050505050565b60008181526001830160205260408120548015613638576000613573600183613a87565b855490915060009061358790600190613a87565b90508181146135ec5760008660000182815481106135a7576135a7613b8f565b90600052602060002001549050808760000184815481106135ca576135ca613b8f565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806135fd576135fd613bbc565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061083a565b600091505061083a565b60006020828403121561365457600080fd5b81356001600160e01b031981168114611c8457600080fd5b80356001600160a01b038116811461368357600080fd5b919050565b60008060006060848603121561369d57600080fd5b833592506136ad6020850161366c565b9150604084013590509250925092565b6000806000606084860312156136d257600080fd5b6136db8461366c565b95602085013595506040909401359392505050565b60006020828403121561370257600080fd5b611c848261366c565b60006020828403121561371d57600080fd5b5035919050565b6000806040838503121561373757600080fd5b823591506137476020840161366c565b90509250929050565b801515811461375e57600080fd5b50565b6000806040838503121561377457600080fd5b61377d8361366c565b9150602083013561378d81613750565b809150509250929050565b6000806000606084860312156137ad57600080fd5b6137b68461366c565b92506136ad6020850161366c565b600080604083850312156137d757600080fd5b50508035926020909101359150565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60006020828403121561385357600080fd5b8151611c8481613750565b60006020828403121561387057600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b6000826138aa57634e487b7160e01b600052601260045260246000fd5b500490565b6001600160a01b03929092168252602082015260400190565b6001600160a01b0392831681529116602082015260400190565b60008160001904831182151516156138fc576138fc613877565b500290565b6001600160a01b0394851681529290931660208301526040820152606081019190915260800190565b608081016002861061394c57634e487b7160e01b600052602160045260246000fd5b9481526001600160a01b03939093166020840152604083019190915260609091015290565b60006020828403121561398357600080fd5b815160ff81168114611c8457600080fd5b600181815b808511156139cf5781600019048211156139b5576139b5613877565b808516156139c257918102915b93841c9390800290613999565b509250929050565b6000826139e65750600161083a565b816139f35750600061083a565b8160018114613a095760028114613a1357613a2f565b600191505061083a565b60ff841115613a2457613a24613877565b50506001821b61083a565b5060208310610133831016604e8410600b8410161715613a52575081810a61083a565b613a5c8383613994565b8060001904821115613a7057613a70613877565b029392505050565b6000611c8460ff8416836139d7565b8181038181111561083a5761083a613877565b60005b83811015613ab5578181015183820152602001613a9d565b50506000910152565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613af6816017850160208801613a9a565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613b27816028840160208801613a9a565b01602801949350505050565b6020815260008251806020840152613b52816040850160208701613a9a565b601f01601f19169190910160400192915050565b8082018082111561083a5761083a613877565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081613bb457613bb4613877565b506000190190565b634e487b7160e01b600052603160045260246000fdfef45c97b23e2beeefda80e1ce5cb3e234aa7b6888ad5cbabb75bfd654dd8e102da26469706673582212206b3d1ae2de87393fe963ec5f8872f8cbb8779d18a8a5aefca212b05fc28e2fdb64736f6c63430008100033","sourceMap":"2035:9322:50:-:0;;;4391:387;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1679:1:19;1774:7;:22;4576:13:50;4597:9;4614:21;4643:24;-1:-1:-1;;;;;6475:23:47;;6471:60;;6507:24;;-1:-1:-1;;;6507:24:47;;;;;;;;;;;6471:60;-1:-1:-1;;;;;6538:20:47;;;;;;6587:36;;;-1:-1:-1;;;6587:36:47;;;;:34;;:36;;;;;;;;;;;;;;;6538:20;6587:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6581:42;;:2;:42;:::i;:::-;6564:59;;6629:17;:38;;;6673:20;:44;;;6723:45;-1:-1:-1;6754:13:47;6723:10;:45::i;:::-;-1:-1:-1;;;;;;;;4686:20:50;::::1;::::0;-1:-1:-1;4682:64:50::1;;4715:31;;-1:-1:-1::0;;;4715:31:50::1;;;;;;;;;;;4682:64;-1:-1:-1::0;;;;;;;4752:21:50::1;;::::0;-1:-1:-1;2035:9322:50;;-1:-1:-1;2035:9322:50;2111:156:16;2194:31;2211:4;2217:7;2194:16;;;;;:31;;:::i;:::-;2231:18;;;;:12;:18;;;;;;;;:31;;2254:7;;2231:22;;;;;:31;;:::i;:::-;;2111:156;;:::o;6749:211:15:-;3129:4;3150:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;3150:29:15;;;;;;;;;;;;6823:133;;6860:12;;;;6892:4;6860:12;;;;;;;;-1:-1:-1;;;;;6860:29:15;;;;;;;;;;:36;;-1:-1:-1;;6860:36:15;;;;;;;6909:40;;713:10:23;;6860:12:15;;6909:40;;6860:12;6909:40;6823:133;6749:211;;:::o;7180:144:25:-;7250:4;7269:50;7274:3;-1:-1:-1;;;;;7294:23:25;;7269:4;:50::i;:::-;7262:57;;7180:144;;;;;:::o;1643:354::-;1706:4;3572:19;;;:12;;;:19;;;;;;1718:275;;-1:-1:-1;1754:23:25;;;;;;;;:11;:23;;;;;;;;;;;;;1916:18;;1894:19;;;:12;;;:19;;;;;;:40;;;;1942:11;;1718:275;-1:-1:-1;1981:5:25;1974:12;;14:177:51;93:13;;-1:-1:-1;;;;;135:31:51;;125:42;;115:70;;181:1;178;171:12;115:70;14:177;;;:::o;196:502::-;302:6;310;318;326;334;387:3;375:9;366:7;362:23;358:33;355:53;;;404:1;401;394:12;355:53;427:40;457:9;427:40;:::i;:::-;417:50;;486:49;531:2;520:9;516:18;486:49;:::i;:::-;476:59;;554:49;599:2;588:9;584:18;554:49;:::i;:::-;643:2;628:18;;622:25;687:3;672:19;;;666:26;196:502;;;;-1:-1:-1;544:59:51;622:25;666:26;196:502;-1:-1:-1;;;196:502:51:o;703:273::-;771:6;824:2;812:9;803:7;799:23;795:32;792:52;;;840:1;837;830:12;792:52;872:9;866:16;922:4;915:5;911:16;904:5;901:27;891:55;;942:1;939;932:12;891:55;965:5;703:273;-1:-1:-1;;;703:273:51:o;981:127::-;1042:10;1037:3;1033:20;1030:1;1023:31;1073:4;1070:1;1063:15;1097:4;1094:1;1087:15;1113:422;1202:1;1245:5;1202:1;1259:270;1280:7;1270:8;1267:21;1259:270;;;1339:4;1335:1;1331:6;1327:17;1321:4;1318:27;1315:53;;;1348:18;;:::i;:::-;1398:7;1388:8;1384:22;1381:55;;;1418:16;;;;1381:55;1497:22;;;;1457:15;;;;1259:270;;;1263:3;1113:422;;;;;:::o;1540:806::-;1589:5;1619:8;1609:80;;-1:-1:-1;1660:1:51;1674:5;;1609:80;1708:4;1698:76;;-1:-1:-1;1745:1:51;1759:5;;1698:76;1790:4;1808:1;1803:59;;;;1876:1;1871:130;;;;1783:218;;1803:59;1833:1;1824:10;;1847:5;;;1871:130;1908:3;1898:8;1895:17;1892:43;;;1915:18;;:::i;:::-;-1:-1:-1;;1971:1:51;1957:16;;1986:5;;1783:218;;2085:2;2075:8;2072:16;2066:3;2060:4;2057:13;2053:36;2047:2;2037:8;2034:16;2029:2;2023:4;2020:12;2016:35;2013:77;2010:159;;;-1:-1:-1;2122:19:51;;;2154:5;;2010:159;2201:34;2226:8;2220:4;2201:34;:::i;:::-;2271:6;2267:1;2263:6;2259:19;2250:7;2247:32;2244:58;;;2282:18;;:::i;:::-;2320:20;;1540:806;-1:-1:-1;;;1540:806:51:o;2351:140::-;2409:5;2438:47;2479:4;2469:8;2465:19;2459:4;2438:47;:::i;2351:140::-;2035:9322:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"608060405234801561001057600080fd5b50600436106103785760003560e01c80637b0e1c57116101d3578063af3345d111610104578063d547741f116100a2578063e64338341161007c578063e6433834146107c4578063f3a408da146107d7578063fd84a072146107df578063fe6f14c5146107f257600080fd5b8063d547741f14610777578063d87801611461078a578063e63ab1e91461079d57600080fd5b8063ba2a1c4d116100de578063ba2a1c4d14610717578063c768b1451461073e578063c8e1585d14610751578063ca15c8731461076457600080fd5b8063af3345d1146106ea578063afb6794e146106f2578063b235d4681461070557600080fd5b80638f8eb81211610171578063a217fddf1161014b578063a217fddf146106a7578063aab483d6146106af578063abbb9f4c146106c2578063ad129e77146106d757600080fd5b80638f8eb812146106785780639010d07c1461068157806391d148541461069457600080fd5b80638133067e116101ad5780638133067e1461061657806386dd535c14610629578063884a05011461063c5780638f4f96131461065f57600080fd5b80637b0e1c57146105c95780637ead09e8146105dc578063811400fa1461060357600080fd5b806336568abe116102ad578063531acc131161024b5780636085057411610225578063608505741461058b57806361fca4551461059457806368f26f82146105a7578063695e122d146105b657600080fd5b8063531acc131461056257806359e0f36f1461056b5780635f1270791461057e57600080fd5b80633faed166116102875780633faed1661461052157806340db35e0146105345780634ce78490146105475780634ef1ccd11461054f57600080fd5b806336568abe146104e85780633e4af11f146104fb5780633f9832581461050e57600080fd5b806322d4a1751161031a578063248a9ca3116102f4578063248a9ca3146104965780632d7d41ab146104ba5780632f2ff15d146104cd57806332ec84d2146104e057600080fd5b806322d4a1751461046557806323991e4b14610478578063245513ce1461048d57600080fd5b806310a4f09f1161035657806310a4f09f146103f757806316762d7a1461041e5780631ee547e71461043f57806321e0e0cf1461045257600080fd5b806301ffc9a71461037d5780630c5bf351146103a55780630ded4a6f146103e4575b600080fd5b61039061038b366004613642565b610815565b60405190151581526020015b60405180910390f35b6103cc7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161039c565b600d546103cc906001600160a01b031681565b6103cc7f000000000000000000000000000000000000000000000000000000000000000081565b61043161042c366004613688565b610840565b60405190815260200161039c565b6008546103cc906001600160a01b031681565b6007546103cc906001600160a01b031681565b6104316104733660046136bd565b610b03565b61048b6104863660046136f0565b610bc7565b005b61043161271081565b6104316104a436600461370b565b6000908152600160208190526040909120015490565b61048b6104c83660046136bd565b610cdb565b61048b6104db366004613724565b610d97565b61048b610dbe565b61048b6104f6366004613724565b610e24565b61048b6105093660046136f0565b610ea2565b61048b61051c3660046136bd565b610fd6565b61048b61052f366004613761565b611345565b61048b6105423660046136f0565b611452565b61048b6114e2565b61048b61055d36600461370b565b611524565b61043160035481565b61048b6105793660046136f0565b611572565b6006546103909060ff1681565b61043160055481565b61048b6105a23660046136f0565b611676565b610431670de0b6b3a764000081565b61048b6105c4366004613761565b611705565b61048b6105d7366004613798565b611812565b6104317f000000000000000000000000000000000000000000000000000000000000000081565b600a546103cc906001600160a01b031681565b6104316106243660046136bd565b611838565b61048b6106373660046136f0565b611bdd565b61039061064a3660046136f0565b600f6020526000908152604090205460ff1681565b6006546103cc906201000090046001600160a01b031681565b61043160045481565b6103cc61068f3660046137c4565b611c6c565b6103906106a2366004613724565b611c8b565b610431600081565b61048b6106bd36600461370b565b611cb6565b610431600080516020613bd383398151915281565b61048b6106e53660046136f0565b611d04565b61048b611d94565b61048b6107003660046136f0565b611dd7565b60065461039090610100900460ff1681565b6104317fb94da9555321002e2f278a8e588b6b5c51fa2748893b00f6e45fc41af53493ab81565b6009546103cc906001600160a01b031681565b600b546103cc906001600160a01b031681565b61043161077236600461370b565b611e75565b61048b610785366004613724565b611e8c565b610431610798366004613688565b611eb3565b6104317f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b600c546103cc906001600160a01b031681565b61048b612002565b61048b6107ed36600461370b565b612066565b6103906108003660046136f0565b600e6020526000908152604090205460ff1681565b60006001600160e01b03198216635a05180f60e01b148061083a575061083a82612134565b92915050565b600060026000540361086d5760405162461bcd60e51b8152600401610864906137e6565b60405180910390fd5b60026000556040516323b872dd60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906323b872dd906108c29033903090899060040161381d565b6020604051808303816000875af11580156108e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109059190613841565b50604051636f074d1f60e11b8152600481018590527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063de0e9a3e90602401600060405180830381600087803b15801561096857600080fd5b505af115801561097c573d6000803e3d6000fd5b50506040516358af948f60e11b8152600481018790526000925061271091506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063b15f291e90602401602060405180830381865afa1580156109ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a10919061385e565b610a1a919061388d565b604051630852cd8d60e31b8152600481018290529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906342966c6890602401600060405180830381600087803b158015610a7f57600080fd5b505af1158015610a93573d6000803e3d6000fd5b50505050610aa2818585612169565b60408051838152602081018890526001600160a01b0387168183015260608101839052905191935033917f9ef7a247f6b9f5762b48aaef49860629bb5fec37c2e12bc46a980abd704ab0459181900360800190a25060016000559392505050565b6000600260005403610b275760405162461bcd60e51b8152600401610864906137e6565b6002600055610b378484846126db565b6040516340c10f1960e01b81529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906340c10f1990610b8890339085906004016138af565b600060405180830381600087803b158015610ba257600080fd5b505af1158015610bb6573d6000803e3d6000fd5b505060016000555090949350505050565b6000610bd38133612c59565b6001600160a01b038216610bfa57604051633d04535360e21b815260040160405180910390fd5b6009546040516001600160a01b038085169216907ff78e014ab86d7bb38135262d64726cef2e151dae47c0947a1d6bb970702c30d690600090a3600980546001600160a01b0319166001600160a01b038416908117909155604051637f19077160e01b8152637f19077190610c95907f00000000000000000000000000000000000000000000000000000000000000009030906004016138c8565b602060405180830381865afa158015610cb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd6919061385e565b505050565b600260005403610cfd5760405162461bcd60e51b8152600401610864906137e6565b6002600055610d0d838383612cbd565b6040516340c10f1960e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906340c10f1990610d5b90869086906004016138af565b600060405180830381600087803b158015610d7557600080fd5b505af1158015610d89573d6000803e3d6000fd5b505060016000555050505050565b60008281526001602081905260409091200154610db48133612c59565b610cd68383612fdb565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610de98133612c59565b6006805461ff0019166101001790556040517f60b78ed2d882d2d2387ad2b7119495f7c99dd9a9c191d3d02c35982a0750bcc690600090a150565b6001600160a01b0381163314610e945760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610864565b610e9e8282612ffd565b5050565b6000610eae8133612c59565b6001600160a01b038216610ed557604051632233f8fd60e21b815260040160405180910390fd5b6007546040516001600160a01b038085169216907f6c9074ba8ab5c258404464c9703de55127adb996134fd80d450ce94eb76ff59090600090a3600780546001600160a01b0319166001600160a01b0384811691821790925560405163b3596f0760e01b81527f0000000000000000000000000000000000000000000000000000000000000000909216600483015260009163b3596f0790602401602060405180830381865afa158015610f8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb1919061385e565b9050600554811015610cd657604051633b2f2ac960e11b815260040160405180910390fd5b600260005403610ff85760405162461bcd60e51b8152600401610864906137e6565b600260009081556040516358af948f60e11b815260048101849052612710907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063b15f291e90602401602060405180830381865afa158015611068573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108c919061385e565b611096919061388d565b90506110a3848284612cbd565b6040516340c10f1960e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906340c10f19906110f190309085906004016138af565b600060405180830381600087803b15801561110b57600080fd5b505af115801561111f573d6000803e3d6000fd5b505060405163095ea7b360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063095ea7b39150611191907f00000000000000000000000000000000000000000000000000000000000000009085906004016138af565b6020604051808303816000875af11580156111b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d49190613841565b50604051630ea598cb60e41b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063ea598cb090602401600060405180830381600087803b15801561123757600080fd5b505af115801561124b573d6000803e3d6000fd5b505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638fcb4e5b856127108461128d91906138e2565b6040518363ffffffff1660e01b81526004016112aa9291906138af565b6020604051808303816000875af11580156112c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ed919061385e565b5060408051828152602081018590529081018390526001600160a01b038516907ffd614e52d7b496f0d3f713f3a55ea6a08921356a6778f1565134f76da6731d6a9060600160405180910390a2505060016000555050565b60006113518133612c59565b6001600160a01b0383166113785760405163885ce5f160e01b815260040160405180910390fd5b81156113ee5760075460405163b3596f0760e01b81526001600160a01b0385811660048301529091169063b3596f0790602401602060405180830381865afa1580156113c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ec919061385e565b505b604051821515906001600160a01b038516907fb69d0cdc257fe2726a8ebd7602c8a681fd8152961d1c38a5d5b3090a4d96b20c90600090a3506001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b600061145e8133612c59565b6001600160a01b0382166114855760405163524d94d960e11b815260040160405180910390fd5b600d546040516001600160a01b038085169216907ff68d3e8139cf85c4c8ea147060134c79e97dbfa33f3f6a9d4cdec44ef467c74790600090a350600d80546001600160a01b0319166001600160a01b0392909216919091179055565b60006114ee8133612c59565b6006805460ff191690556040517f849babeb0c1b4e2b3842433574a5cdfe23ffde54c64651d42a6b02e8f98cbf8a90600090a150565b600080516020613bd383398151915261153d8133612c59565b6004546040518391907ffdaf6ed728cef208e62328a008209556f8281f3062b14dd08aaaa90fa159421190600090a350600455565b600061157e8133612c59565b6001600160a01b0382166115a557604051630b69326560e11b815260040160405180910390fd5b6008546040516001600160a01b038085169216907fdbc2a9769fa2b31eadfb16b690e3c783592becd0b822401b274a90a34d80b6dc90600090a3600880546001600160a01b0319166001600160a01b0384169081179091556040516334dae8d560e01b81526334dae8d590611640907f00000000000000000000000000000000000000000000000000000000000000009030906004016138c8565b600060405180830381600087803b15801561165a57600080fd5b505af115801561166e573d6000803e3d6000fd5b505050505050565b60006116828133612c59565b6001600160a01b0382166116a8576040516291d13760e51b815260040160405180910390fd5b600b546040516001600160a01b038085169216907f24fdea3a24a4edda22c10620f63628ed57f6b60d457d833035a316ab15684c9490600090a350600b80546001600160a01b0319166001600160a01b0392909216919091179055565b60006117118133612c59565b6001600160a01b0383166117385760405163885ce5f160e01b815260040160405180910390fd5b81156117ae5760075460405163b3596f0760e01b81526001600160a01b0385811660048301529091169063b3596f0790602401602060405180830381865afa158015611788573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ac919061385e565b505b604051821515906001600160a01b038516907f34e319579e041b2d04a5a9ff137ef4511e2db49d2da0512cdbe3845c32bc933a90600090a3506001600160a01b03919091166000908152600f60205260409020805460ff1916911515919091179055565b600061181e8133612c59565b6118326001600160a01b038516848461301f565b50505050565b600060026000540361185c5760405162461bcd60e51b8152600401610864906137e6565b600260009081556040516358af948f60e11b815260048101849052612710907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063b15f291e90602401602060405180830381865afa1580156118cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f0919061385e565b6118fa919061388d565b905060006119098686846126db565b6040516340c10f1960e01b81529091506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906340c10f199061195a90309085906004016138af565b600060405180830381600087803b15801561197457600080fd5b505af1158015611988573d6000803e3d6000fd5b505060405163095ea7b360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063095ea7b391506119fa907f00000000000000000000000000000000000000000000000000000000000000009085906004016138af565b6020604051808303816000875af1158015611a19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a3d9190613841565b50604051630ea598cb60e41b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063ea598cb090602401600060405180830381600087803b158015611aa057600080fd5b505af1158015611ab4573d6000803e3d6000fd5b505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638fcb4e5b611aee3390565b611afa612710856138e2565b6040518363ffffffff1660e01b8152600401611b179291906138af565b6020604051808303816000875af1158015611b36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b5a919061385e565b925083831015611b7d5760405163c5db0fc160e01b815260040160405180910390fd5b60408051828152602081018590526001600160a01b0388168183015260608101879052905133917f9d1b78864fb222ffcf82e2444ee22d6bb9cf52d41b71914f34e1597f23423ca4919081900360800190a2505060016000559392505050565b6000611be98133612c59565b6001600160a01b038216611c0f576040516291d13760e51b815260040160405180910390fd5b600c546040516001600160a01b038085169216907f849fba91aaeaa62c2a7f48c8ff7c26b006ca3ae247c1640072ecf571e31040c890600090a350600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6000828152600260205260408120611c849083613077565b9392505050565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020613bd3833981519152611ccf8133612c59565b6003546040518391907fe6e25add7363f8f8a40cbea9810d3115a33703b10972ef759104219b0065743690600090a350600355565b6000611d108133612c59565b6001600160a01b038216611d3757604051633aa9ba3360e01b815260040160405180910390fd5b600a546040516001600160a01b038085169216907fc54bf4c3067c1d8f65e053dafb5dbb699615b1b527d2866bd0223102bb2e692d90600090a350600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000611da08133612c59565b6006805461ff00191690556040517f687bf6e69dbabcc95e11041b4816a83f36dcf6ef647f6acf63e7469d28f5ea7390600090a150565b6000611de38133612c59565b6001600160a01b038216611e0a5760405163341d47c360e01b815260040160405180910390fd5b6006546040516001600160a01b038085169262010000900416907f132a375a3726b76fcc71a6992f19961145ed03f35eca19ad07381f43501c2b5e90600090a350600680546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b600081815260026020526040812061083a90613083565b60008281526001602081905260409091200154611ea98133612c59565b610cd68383612ffd565b6000600260005403611ed75760405162461bcd60e51b8152600401610864906137e6565b60026000556040516323b872dd60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906323b872dd90611f2c9033903090899060040161381d565b6020604051808303816000875af1158015611f4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6f9190613841565b50604051630852cd8d60e31b8152600481018590527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906342966c6890602401600060405180830381600087803b158015611fd257600080fd5b505af1158015611fe6573d6000803e3d6000fd5b50505050611ff5848484612169565b6001600055949350505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61202d8133612c59565b6006805460ff191660011790556040517fb9964f53255ea6cb323618cebc0c47de4f99089e9993d1862f24e2fdaf2a31e590600090a150565b600080516020613bd383398151915261207f8133612c59565b6005546040518391907f8ba90cff6e6e2b8e73cee7f3c5356cca13f1715f39f5eaa6164a99b49e497c8e90600090a350600555565b6120be8282611c8b565b610e9e5760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b6000611c84836001600160a01b03841661308d565b60006001600160e01b03198216637965db0b60e01b148061083a57506301ffc9a760e01b6001600160e01b031983161461083a565b600654600090610100900460ff161561219557604051630df65d9f60e01b815260040160405180910390fd5b6001600160a01b0383166000908152600f602052604090205460ff166121ce5760405163e51cf7bf60e01b815260040160405180910390fd5b6008546001600160a01b03166334dae8d57f0000000000000000000000000000000000000000000000000000000000000000336040518363ffffffff1660e01b815260040161221e9291906138c8565b600060405180830381600087803b15801561223857600080fd5b505af115801561224c573d6000803e3d6000fd5b5050600954604051637f19077160e01b8152600093506001600160a01b039091169150637f190771906122a5907f00000000000000000000000000000000000000000000000000000000000000009033906004016138c8565b602060405180830381865afa1580156122c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122e6919061385e565b90508061230657604051632163950f60e01b815260040160405180910390fd5b60007f0000000000000000000000000000000000000000000000000000000000000000866123326130dc565b61233c91906138e2565b612346919061388d565b905060045481101561236b5760405163680116dd60e11b815260040160405180910390fd5b600c5460405163c75af63560e01b81526000916001600160a01b03169063c75af635906123c2907f0000000000000000000000000000000000000000000000000000000000000000908a9088908890600401613901565b6020604051808303816000875af11580156123e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612405919061385e565b90508181111561242857604051635774f9b360e11b815260040160405180910390fd5b600a54604051637d4945b760e01b81526001600160a01b0390911690637d4945b79061247f906001907f0000000000000000000000000000000000000000000000000000000000000000908890889060040161392a565b600060405180830381600087803b15801561249957600080fd5b505af11580156124ad573d6000803e3d6000fd5b505060075460405163b3596f0760e01b81526001600160a01b038a81166004830152909116925063b3596f079150602401602060405180830381865afa1580156124fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061251f919061385e565b866001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801561255d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125819190613971565b61258c90600a613a78565b6125968385613a87565b6125a091906138e2565b6125aa919061388d565b9350848410156125cd57604051638f19033960e01b815260040160405180910390fd5b60065460405163071f2cab60e51b8152620100009091046001600160a01b03169063e3e5956090612628907f0000000000000000000000000000000000000000000000000000000000000000908a9088908a90600401613901565b600060405180830381600087803b15801561264257600080fd5b505af1158015612656573d6000803e3d6000fd5b505050506126756126643390565b6001600160a01b038816908661301f565b604080518881526001600160a01b03881660208201529081018590526060810183905260808101829052839033907f7023b7bcd020761014c9e1590603f4effceabc102cf0b8023c3f2b14db9ffb6e9060a0015b60405180910390a35050509392505050565b60065460009060ff1615612702576040516302822dcd60e51b815260040160405180910390fd5b6001600160a01b0384166000908152600e602052604090205460ff1661273b5760405163e51cf7bf60e01b815260040160405180910390fd5b6008546001600160a01b03166334dae8d57f0000000000000000000000000000000000000000000000000000000000000000336040518363ffffffff1660e01b815260040161278b9291906138c8565b600060405180830381600087803b1580156127a557600080fd5b505af11580156127b9573d6000803e3d6000fd5b5050600954604051637f19077160e01b8152600093506001600160a01b039091169150637f19077190612812907f00000000000000000000000000000000000000000000000000000000000000009033906004016138c8565b602060405180830381865afa15801561282f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612853919061385e565b90508061287357604051632163950f60e01b815260040160405180910390fd5b6128886001600160a01b038616333087613193565b6006546128a8906001600160a01b038781169162010000900416866131bb565b600654604051631f61f2f560e31b8152620100009091046001600160a01b03169063fb0f97a890612901907f0000000000000000000000000000000000000000000000000000000000000000908990899060040161381d565b600060405180830381600087803b15801561291b57600080fd5b505af115801561292f573d6000803e3d6000fd5b505050506000856001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015612973573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129979190613971565b6129a290600a613a78565b60075460405163b3596f0760e01b81526001600160a01b0389811660048301528892169063b3596f0790602401602060405180830381865afa1580156129ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a10919061385e565b612a1a91906138e2565b612a24919061388d565b9050600354811015612a49576040516367627d0760e01b815260040160405180910390fd5b600b5460405163c75af63560e01b81526000916001600160a01b03169063c75af63590612aa0907f0000000000000000000000000000000000000000000000000000000000000000908b9088908890600401613901565b6020604051808303816000875af1158015612abf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ae3919061385e565b905081811115612b065760405163566f172560e11b815260040160405180910390fd5b612b0e6130dc565b7f0000000000000000000000000000000000000000000000000000000000000000612b398385613a87565b612b4391906138e2565b612b4d919061388d565b935084841015612b705760405163c5db0fc160e01b815260040160405180910390fd5b600a54604051637d4945b760e01b81526001600160a01b0390911690637d4945b790612bc7906000907f0000000000000000000000000000000000000000000000000000000000000000908890889060040161392a565b600060405180830381600087803b158015612be157600080fd5b505af1158015612bf5573d6000803e3d6000fd5b5050505082612c013390565b604080518781526001600160a01b038b811660208301529181018a905260608101869052608081018590529116907f5c88561b046569d4773b016d48f154d22685738bfb692bb0f8478ec2ef36b79f9060a0016126c9565b612c638282611c8b565b610e9e57612c7b816001600160a01b0316601461324d565b612c8683602061324d565b604051602001612c97929190613abe565b60408051601f198184030181529082905262461bcd60e51b825261086491600401613b33565b60065460ff1615612ce1576040516302822dcd60e51b815260040160405180910390fd5b7fb94da9555321002e2f278a8e588b6b5c51fa2748893b00f6e45fc41af53493ab612d0c8133612c59565b6008546040516334dae8d560e01b81526001600160a01b03909116906334dae8d590612d5e907f00000000000000000000000000000000000000000000000000000000000000009088906004016138c8565b600060405180830381600087803b158015612d7857600080fd5b505af1158015612d8c573d6000803e3d6000fd5b5050600954604051637f19077160e01b8152600093506001600160a01b039091169150637f19077190612de5907f00000000000000000000000000000000000000000000000000000000000000009089906004016138c8565b602060405180830381865afa158015612e02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e26919061385e565b905080612e4657604051632163950f60e01b815260040160405180910390fd5b60007f0000000000000000000000000000000000000000000000000000000000000000612e716130dc565b612e7b90876138e2565b612e85919061388d565b600d54604051631e03bab960e21b81529192506001600160a01b03169063780eeae490612eb890339085906004016138af565b600060405180830381600087803b158015612ed257600080fd5b505af1158015612ee6573d6000803e3d6000fd5b5050600a54604051637d4945b760e01b81526001600160a01b039091169250637d4945b79150612f41906000907f0000000000000000000000000000000000000000000000000000000000000000908790879060040161392a565b600060405180830381600087803b158015612f5b57600080fd5b505af1158015612f6f573d6000803e3d6000fd5b5050505081866001600160a01b0316612f853390565b60408051898152602081018690529081018890526001600160a01b0391909116907f8153c95a1826b81124293b12cbbc293c0dfba473b563c61d9a9ff82aa4a1c7ad9060600160405180910390a4505050505050565b612fe582826120b4565b6000828152600260205260409020610cd6908261211f565b61300782826133e9565b6000828152600260205260409020610cd69082613450565b610cd683846001600160a01b031663a9059cbb85856040516024016130459291906138af565b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050613465565b6000611c8483836134d6565b600061083a825490565b60008181526001830160205260408120546130d45750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561083a565b50600061083a565b60075460405163b3596f0760e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152600092169063b3596f0790602401602060405180830381865afa158015613147573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061316b919061385e565b905060055481101561319057604051633b2f2ac960e11b815260040160405180910390fd5b90565b61183284856001600160a01b03166323b872dd8686866040516024016130459392919061381d565b6000836001600160a01b031663095ea7b384846040516024016131df9291906138af565b604051602081830303815290604052915060e01b6020820180516001600160e01b03838183161783525050505090506132188482613500565b6118325761324384856001600160a01b031663095ea7b38660006040516024016130459291906138af565b6118328482613465565b6060600061325c8360026138e2565b613267906002613b66565b67ffffffffffffffff81111561327f5761327f613b79565b6040519080825280601f01601f1916602001820160405280156132a9576020820181803683370190505b509050600360fc1b816000815181106132c4576132c4613b8f565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106132f3576132f3613b8f565b60200101906001600160f81b031916908160001a90535060006133178460026138e2565b613322906001613b66565b90505b600181111561339a576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061335657613356613b8f565b1a60f81b82828151811061336c5761336c613b8f565b60200101906001600160f81b031916908160001a90535060049490941c9361339381613ba5565b9050613325565b508315611c845760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610864565b6133f38282611c8b565b15610e9e5760008281526001602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000611c84836001600160a01b03841661354f565b600080602060008451602086016000885af180613488576040513d6000823e3d81fd5b50506000513d915081156134a05780600114156134ad565b6001600160a01b0384163b155b1561183257604051635274afe760e01b81526001600160a01b0385166004820152602401610864565b60008260000182815481106134ed576134ed613b8f565b9060005260206000200154905092915050565b6000806000806020600086516020880160008a5af192503d91506000519050828015613545575081156135365780600114613545565b6000866001600160a01b03163b115b9695505050505050565b60008181526001830160205260408120548015613638576000613573600183613a87565b855490915060009061358790600190613a87565b90508181146135ec5760008660000182815481106135a7576135a7613b8f565b90600052602060002001549050808760000184815481106135ca576135ca613b8f565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806135fd576135fd613bbc565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061083a565b600091505061083a565b60006020828403121561365457600080fd5b81356001600160e01b031981168114611c8457600080fd5b80356001600160a01b038116811461368357600080fd5b919050565b60008060006060848603121561369d57600080fd5b833592506136ad6020850161366c565b9150604084013590509250925092565b6000806000606084860312156136d257600080fd5b6136db8461366c565b95602085013595506040909401359392505050565b60006020828403121561370257600080fd5b611c848261366c565b60006020828403121561371d57600080fd5b5035919050565b6000806040838503121561373757600080fd5b823591506137476020840161366c565b90509250929050565b801515811461375e57600080fd5b50565b6000806040838503121561377457600080fd5b61377d8361366c565b9150602083013561378d81613750565b809150509250929050565b6000806000606084860312156137ad57600080fd5b6137b68461366c565b92506136ad6020850161366c565b600080604083850312156137d757600080fd5b50508035926020909101359150565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60006020828403121561385357600080fd5b8151611c8481613750565b60006020828403121561387057600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b6000826138aa57634e487b7160e01b600052601260045260246000fd5b500490565b6001600160a01b03929092168252602082015260400190565b6001600160a01b0392831681529116602082015260400190565b60008160001904831182151516156138fc576138fc613877565b500290565b6001600160a01b0394851681529290931660208301526040820152606081019190915260800190565b608081016002861061394c57634e487b7160e01b600052602160045260246000fd5b9481526001600160a01b03939093166020840152604083019190915260609091015290565b60006020828403121561398357600080fd5b815160ff81168114611c8457600080fd5b600181815b808511156139cf5781600019048211156139b5576139b5613877565b808516156139c257918102915b93841c9390800290613999565b509250929050565b6000826139e65750600161083a565b816139f35750600061083a565b8160018114613a095760028114613a1357613a2f565b600191505061083a565b60ff841115613a2457613a24613877565b50506001821b61083a565b5060208310610133831016604e8410600b8410161715613a52575081810a61083a565b613a5c8383613994565b8060001904821115613a7057613a70613877565b029392505050565b6000611c8460ff8416836139d7565b8181038181111561083a5761083a613877565b60005b83811015613ab5578181015183820152602001613a9d565b50506000910152565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613af6816017850160208801613a9a565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613b27816028840160208801613a9a565b01602801949350505050565b6020815260008251806020840152613b52816040850160208701613a9a565b601f01601f19169190910160400192915050565b8082018082111561083a5761083a613877565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081613bb457613bb4613877565b506000190190565b634e487b7160e01b600052603160045260246000fdfef45c97b23e2beeefda80e1ce5cb3e234aa7b6888ad5cbabb75bfd654dd8e102da26469706673582212206b3d1ae2de87393fe963ec5f8872f8cbb8779d18a8a5aefca212b05fc28e2fdb64736f6c63430008100033","sourceMap":"2035:9322:50:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;751:240:16;;;;;;:::i;:::-;;:::i;:::-;;;470:14:51;;463:22;445:41;;433:2;418:18;751:240:16;;;;;;;;5008:33:47;;;;;;;;-1:-1:-1;;;;;661:32:51;;;643:51;;631:2;616:18;5008:33:47;497:203:51;5718:57:47;;;;;-1:-1:-1;;;;;5718:57:47;;;2147:28:50;;;;;10654:701;;;;;;:::i;:::-;;:::i;:::-;;;1820:25:51;;;1808:2;1793:18;10654:701:50;1674:177:51;5253:37:47;;;;;-1:-1:-1;;;;;5253:37:47;;;5175:29;;;;;-1:-1:-1;;;;;5175:29:47;;;5435:337:50;;;;;;:::i;:::-;;:::i;16870:429:47:-;;;;;;:::i;:::-;;:::i;:::-;;2254:64:50;;2312:6;2254:64;;4002:145:15;;;;;;:::i;:::-;4096:7;4120:12;;;:6;:12;;;;;;;;:22;;;4002:145;7741:237:50;;;;;;:::i;:::-;;:::i;4375:157:15:-;;;;;;:::i;:::-;;:::i;21533:109:47:-;;;:::i;5366:222:15:-;;;;;;:::i;:::-;;:::i;15759:380:47:-;;;;;;:::i;:::-;;:::i;8363:665:50:-;;;;;;:::i;:::-;;:::i;14071:386:47:-;;;;;;:::i;:::-;;:::i;17909:445::-;;;;;;:::i;:::-;;:::i;21361:130::-;;;:::i;19979:265::-;;;;;;:::i;:::-;;:::i;4403:32::-;;;;;;16270:469;;;;;;:::i;:::-;;:::i;4814:27::-;;;;;;;;;4722:30;;;;;;18497:359;;;;;;:::i;:::-;;:::i;3749:45::-;;3790:4;3749:45;;14642:380;;;;;;:::i;:::-;;:::i;20806:170::-;;;;;;:::i;:::-;;:::i;3847:39::-;;;;;5426;;;;;-1:-1:-1;;;;;5426:39:47;;;6277:1071:50;;;;;;:::i;:::-;;:::i;18995:343:47:-;;;;;;:::i;:::-;;:::i;5933:56::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;5091:39;;;;;;;;-1:-1:-1;;;;;5091:39:47;;;4588:35;;;;;;1550:167:16;;;;;;:::i;:::-;;:::i;3023:161:15:-;;;;;;:::i;:::-;;:::i;2161:49::-;;2206:4;2161:49;;19557:226:47;;;;;;:::i;:::-;;:::i;3928:70::-;;-1:-1:-1;;;;;;;;;;;3928:70:47;;17433:315;;;;;;:::i;:::-;;:::i;21686:121::-;;;:::i;15173:310::-;;;;;;:::i;:::-;;:::i;4901:24::-;;;;;;;;;;;;4180:90;;4234:36;4180:90;;5339:37;;;;;-1:-1:-1;;;;;5339:37:47;;;5531;;;;;-1:-1:-1;;;;;5531:37:47;;;1875:156:16;;;;;;:::i;:::-;;:::i;4746:159:15:-;;;;;;:::i;:::-;;:::i;9679:405:50:-;;;;;;:::i;:::-;;:::i;4053:62:47:-;;4091:24;4053:62;;5632:35;;;;;-1:-1:-1;;;;;5632:35:47;;;21196:118;;;:::i;20374:206::-;;;;;;:::i;:::-;;:::i;5826:58::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;751:240:16;856:4;-1:-1:-1;;;;;;883:57:16;;-1:-1:-1;;;883:57:16;;:103;;;950:36;974:11;950:23;:36::i;:::-;870:116;751:240;-1:-1:-1;;751:240:16:o;10654:701:50:-;10804:26;1720:1:19;2267:7;;:19;2259:63;;;;-1:-1:-1;;;2259:63:19;;;;;;;:::i;:::-;;;;;;;;;1720:1;2389:7;:18;10838:60:50::1;::::0;-1:-1:-1;;;10838:60:50;;-1:-1:-1;;;;;10838:5:50::1;:18;::::0;::::1;::::0;:60:::1;::::0;713:10:23;;10879:4:50::1;::::0;10886:11;;10838:60:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;10904:25:50::1;::::0;-1:-1:-1;;;10904:25:50;;::::1;::::0;::::1;1820::51::0;;;10904:5:50::1;-1:-1:-1::0;;;;;10904:12:50::1;::::0;::::1;::::0;1793:18:51;;10904:25:50::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;10958:35:50::1;::::0;-1:-1:-1;;;10958:35:50;;::::1;::::0;::::1;1820:25:51::0;;;10935:20:50::1;::::0;-1:-1:-1;2312:6:50::1;::::0;-1:-1:-1;;;;;;10958:5:50::1;:22;::::0;::::1;::::0;1793:18:51;;10958:35:50::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:75;;;;:::i;:::-;11039:37;::::0;-1:-1:-1;;;11039:37:50;;::::1;::::0;::::1;1820:25:51::0;;;10935:98:50;;-1:-1:-1;11048:8:50::1;-1:-1:-1::0;;;;;11039:23:50::1;::::0;::::1;::::0;1793:18:51;;11039:37:50::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;11103:94;11129:12;11149:14;11171:20;11103:18;:94::i;:::-;11208:142;::::0;;7689:25:51;;;7745:2;7730:18;;7723:34;;;-1:-1:-1;;;;;7793:32:51;;7773:18;;;7766:60;7857:2;7842:18;;7835:34;;;11208:142:50;;11082:115;;-1:-1:-1;713:10:23;;11208:142:50::1;::::0;;;;7676:3:51;11208:142:50;;::::1;-1:-1:-1::0;1679:1:19;2546:7;:22;10654:701:50;;-1:-1:-1;;;10654:701:50:o;5435:337::-;5574:20;1720:1:19;2267:7;;:19;2259:63;;;;-1:-1:-1;;;2259:63:19;;;;;;;:::i;:::-;1720:1;2389:7;:18;5617:93:50::1;5645:12:::0;5665:13;5686:18;5617:20:::1;:93::i;:::-;5716:51;::::0;-1:-1:-1;;;5716:51:50;;5602:108;;-1:-1:-1;5725:8:50::1;-1:-1:-1::0;;;;;5716:23:50::1;::::0;::::1;::::0;:51:::1;::::0;713:10:23;;5602:108:50;;5716:51:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;1679:1:19;2546:7;:22;-1:-1:-1;5435:337:50;;;-1:-1:-1;;;;5435:337:50:o;16870:429:47:-;2206:4:15;2613:30;2206:4;713:10:23;2613::15;:30::i;:::-;-1:-1:-1;;;;;16978:29:47;::::1;16974:71;;17016:29;;-1:-1:-1::0;;;17016:29:47::1;;;;;;;;;;;16974:71;17082:14;::::0;17056:59:::1;::::0;-1:-1:-1;;;;;17056:59:47;;::::1;::::0;17082:14:::1;::::0;17056:59:::1;::::0;17082:14:::1;::::0;17056:59:::1;17121:14;:49:::0;;-1:-1:-1;;;;;;17121:49:47::1;-1:-1:-1::0;;;;;17121:49:47;::::1;::::0;;::::1;::::0;;;17239:55:::1;::::0;-1:-1:-1;;;17239:55:47;;:30:::1;::::0;:55:::1;::::0;17270:8:::1;::::0;17288:4:::1;::::0;17239:55:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;16870:429:::0;;:::o;7741:237:50:-;1720:1:19;2267:7;;:19;2259:63;;;;-1:-1:-1;;;2259:63:19;;;;;;;:::i;:::-;1720:1;2389:7;:18;7865:57:50::1;7891:9:::0;7902;7913:8;7865:25:::1;:57::i;:::-;7928:45;::::0;-1:-1:-1;;;7928:45:50;;-1:-1:-1;;;;;7937:8:50::1;7928:23;::::0;::::1;::::0;:45:::1;::::0;7952:9;;7963;;7928:45:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;1679:1:19;2546:7;:22;-1:-1:-1;;;;;7741:237:50:o;4375:157:15:-;4096:7;4120:12;;;:6;:12;;;;;;;;:22;;2613:30;2624:4;713:10:23;2613::15;:30::i;:::-;4502:25:::1;4513:4;4519:7;4502:10;:25::i;21533:109:47:-:0;4091:24;2613:30:15;4091:24:47;713:10:23;2613::15;:30::i;:::-;21593:12:47::1;:19:::0;;-1:-1:-1;;21593:19:47::1;;;::::0;;21623:14:::1;::::0;::::1;::::0;21593:19;;21623:14:::1;21533:109:::0;:::o;5366:222:15:-;-1:-1:-1;;;;;5464:23:15;;713:10:23;5464:23:15;5449:101;;;;-1:-1:-1;;;5449:101:15;;8859:2:51;5449:101:15;;;8841:21:51;8898:2;8878:18;;;8871:30;8937:34;8917:18;;;8910:62;-1:-1:-1;;;8988:18:51;;;8981:45;9043:19;;5449:101:15;8657:411:51;5449:101:15;5557:26;5569:4;5575:7;5557:11;:26::i;:::-;5366:222;;:::o;15759:380:47:-;2206:4:15;2613:30;2206:4;713:10:23;2613::15;:30::i;:::-;-1:-1:-1;;;;;15859:25:47;::::1;15855:63;;15893:25;;-1:-1:-1::0;;;15893:25:47::1;;;;;;;;;;;15855:63;15951:10;::::0;15929:47:::1;::::0;-1:-1:-1;;;;;15929:47:47;;::::1;::::0;15951:10:::1;::::0;15929:47:::1;::::0;15951:10:::1;::::0;15929:47:::1;15982:10;:37:::0;;-1:-1:-1;;;;;;15982:37:47::1;-1:-1:-1::0;;;;;15982:37:47;;::::1;::::0;;::::1;::::0;;;16042:34:::1;::::0;-1:-1:-1;;;16042:34:47;;16067:8:::1;661:32:51::0;;;16042:34:47::1;::::0;::::1;643:51:51::0;-1:-1:-1;;16042:24:47::1;::::0;616:18:51;;16042:34:47::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;16026:50;;16094:15;;16086:5;:23;16082:52;;;16118:16;;-1:-1:-1::0;;;16118:16:47::1;;;;;;;;;;;8363:665:50::0;1720:1:19;2267:7;;:19;2259:63;;;;-1:-1:-1;;;2259:63:19;;;;;;;:::i;:::-;1720:1;2389:7;:18;;;8522:35:50::1;::::0;-1:-1:-1;;;8522:35:50;;::::1;::::0;::::1;1820:25:51::0;;;2312:6:50::1;::::0;8522:5:::1;-1:-1:-1::0;;;;;8522:22:50::1;::::0;::::1;::::0;1793:18:51;;8522:35:50::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:75;;;;:::i;:::-;8501:96;;8603:58;8629:9;8640:10;8652:8;8603:25;:58::i;:::-;8667:50;::::0;-1:-1:-1;;;8667:50:50;;-1:-1:-1;;;;;8676:8:50::1;8667:23;::::0;::::1;::::0;:50:::1;::::0;8699:4:::1;::::0;8706:10;;8667:50:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;8723:54:50::1;::::0;-1:-1:-1;;;8723:54:50;;-1:-1:-1;;;;;8732:8:50::1;8723:26;::::0;-1:-1:-1;8723:26:50::1;::::0;-1:-1:-1;8723:54:50::1;::::0;8758:5:::1;::::0;8766:10;;8723:54:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;8783:22:50::1;::::0;-1:-1:-1;;;8783:22:50;;::::1;::::0;::::1;1820:25:51::0;;;8783:5:50::1;-1:-1:-1::0;;;;;8783:10:50::1;::::0;::::1;::::0;1793:18:51;;8783:22:50::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;8811:5;-1:-1:-1::0;;;;;8811:20:50::1;;8839:9;2312:6;8856:10;:44;;;;:::i;:::-;8811:95;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;8918:105:50::1;::::0;;9448:25:51;;;9504:2;9489:18;;9482:34;;;9532:18;;;9525:34;;;-1:-1:-1;;;;;8918:105:50;::::1;::::0;::::1;::::0;9436:2:51;9421:18;8918:105:50::1;;;;;;;-1:-1:-1::0;;1679:1:19;2546:7;:22;-1:-1:-1;;8363:665:50:o;14071:386:47:-;2206:4:15;2613:30;2206:4;713:10:23;2613::15;:30::i;:::-;-1:-1:-1;;;;;14199:19:47;::::1;14195:56;;14227:24;;-1:-1:-1::0;;;14227:24:47::1;;;;;;;;;;;14195:56;14305:8;14301:45;;;14315:10;::::0;:31:::1;::::0;-1:-1:-1;;;14315:31:47;;-1:-1:-1;;;;;661:32:51;;;14315:31:47::1;::::0;::::1;643:51:51::0;14315:10:47;;::::1;::::0;:24:::1;::::0;616:18:51;;14315:31:47::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;14301:45;14357;::::0;;::::1;;::::0;-1:-1:-1;;;;;14357:45:47;::::1;::::0;::::1;::::0;;;::::1;-1:-1:-1::0;;;;;;14408:33:47;;;::::1;;::::0;;;:26:::1;:33;::::0;;;;:44;;-1:-1:-1;;14408:44:47::1;::::0;::::1;;::::0;;;::::1;::::0;;14071:386::o;17909:445::-;2206:4:15;2613:30;2206:4;713:10:23;2613::15;:30::i;:::-;-1:-1:-1;;;;;18037:39:47;::::1;18033:101;;18091:43;;-1:-1:-1::0;;;18091:43:47::1;;;;;;;;;;;18033:101;18188:24;::::0;18145:107:::1;::::0;-1:-1:-1;;;;;18145:107:47;;::::1;::::0;18188:24:::1;::::0;18145:107:::1;::::0;18188:24:::1;::::0;18145:107:::1;-1:-1:-1::0;18258:24:47::1;:91:::0;;-1:-1:-1;;;;;;18258:91:47::1;-1:-1:-1::0;;;;;18258:91:47;;;::::1;::::0;;;::::1;::::0;;17909:445::o;21361:130::-;2206:4:15;2613:30;2206:4;713:10:23;2613::15;:30::i;:::-;21433:15:47::1;:23:::0;;-1:-1:-1;;21433:23:47::1;::::0;;21467:19:::1;::::0;::::1;::::0;21451:5:::1;::::0;21467:19:::1;21361:130:::0;:::o;19979:265::-;-1:-1:-1;;;;;;;;;;;2613:30:15;3970:28:47;713:10:23;2613::15;:30::i;:::-;20134:20:47::1;::::0;20100:89:::1;::::0;20162:21;;20134:20;20100:89:::1;::::0;;;::::1;-1:-1:-1::0;20195:20:47::1;:44:::0;19979:265::o;16270:469::-;2206:4:15;2613:30;2206:4;713:10:23;2613::15;:30::i;:::-;-1:-1:-1;;;;;16378:29:47;::::1;16374:71;;16416:29;;-1:-1:-1::0;;;16416:29:47::1;;;;;;;;;;;16374:71;16482:14;::::0;16456:59:::1;::::0;-1:-1:-1;;;;;16456:59:47;;::::1;::::0;16482:14:::1;::::0;16456:59:::1;::::0;16482:14:::1;::::0;16456:59:::1;16521:14;:49:::0;;-1:-1:-1;;;;;;16521:49:47::1;-1:-1:-1::0;;;;;16521:49:47;::::1;::::0;;::::1;::::0;;;16678:56:::1;::::0;-1:-1:-1;;;16678:56:47;;:31:::1;::::0;:56:::1;::::0;16710:8:::1;::::0;16728:4:::1;::::0;16678:56:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;16270:469:::0;;:::o;18497:359::-;2206:4:15;2613:30;2206:4;713:10:23;2613::15;:30::i;:::-;-1:-1:-1;;;;;18617:35:47;::::1;18613:71;;18661:23;;-1:-1:-1::0;;;18661:23:47::1;;;;;;;;;;;18613:71;18734:20;::::0;18695:95:::1;::::0;-1:-1:-1;;;;;18695:95:47;;::::1;::::0;18734:20:::1;::::0;18695:95:::1;::::0;18734:20:::1;::::0;18695:95:::1;-1:-1:-1::0;18796:20:47::1;:55:::0;;-1:-1:-1;;;;;;18796:55:47::1;-1:-1:-1::0;;;;;18796:55:47;;;::::1;::::0;;;::::1;::::0;;18497:359::o;14642:380::-;2206:4:15;2613:30;2206:4;713:10:23;2613::15;:30::i;:::-;-1:-1:-1;;;;;14768:19:47;::::1;14764:56;;14796:24;;-1:-1:-1::0;;;14796:24:47::1;;;;;;;;;;;14764:56;14874:8;14870:45;;;14884:10;::::0;:31:::1;::::0;-1:-1:-1;;;14884:31:47;;-1:-1:-1;;;;;661:32:51;;;14884:31:47::1;::::0;::::1;643:51:51::0;14884:10:47;;::::1;::::0;:24:::1;::::0;616:18:51;;14884:31:47::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;14870:45;14926:43;::::0;;::::1;;::::0;-1:-1:-1;;;;;14926:43:47;::::1;::::0;::::1;::::0;;;::::1;-1:-1:-1::0;;;;;;14975:31:47;;;::::1;;::::0;;;:24:::1;:31;::::0;;;;:42;;-1:-1:-1;;14975:42:47::1;::::0;::::1;;::::0;;;::::1;::::0;;14642:380::o;20806:170::-;2206:4:15;2613:30;2206:4;713:10:23;2613::15;:30::i;:::-;20933:38:47::1;-1:-1:-1::0;;;;;20933:26:47;::::1;20960:2:::0;20964:6;20933:26:::1;:38::i;:::-;20806:170:::0;;;;:::o;6277:1071:50:-;6430:22;1720:1:19;2267:7;;:19;2259:63;;;;-1:-1:-1;;;2259:63:19;;;;;;;:::i;:::-;1720:1;2389:7;:18;;;6488:44:50::1;::::0;-1:-1:-1;;;6488:44:50;;::::1;::::0;::::1;1820:25:51::0;;;2312:6:50::1;::::0;6488:5:::1;-1:-1:-1::0;;;;;6488:22:50::1;::::0;::::1;::::0;1793:18:51;;6488:44:50::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:84;;;;:::i;:::-;6460:112;;6578:21;6602:92;6630:12;6650:13;6671:17;6602:20;:92::i;:::-;6701:53;::::0;-1:-1:-1;;;6701:53:50;;6578:116;;-1:-1:-1;;;;;;6710:8:50::1;6701:23;::::0;::::1;::::0;:53:::1;::::0;6733:4:::1;::::0;6578:116;;6701:53:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;6760:57:50::1;::::0;-1:-1:-1;;;6760:57:50;;-1:-1:-1;;;;;6769:8:50::1;6760:26;::::0;-1:-1:-1;6760:26:50::1;::::0;-1:-1:-1;6760:57:50::1;::::0;6795:5:::1;::::0;6803:13;;6760:57:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;6823:25:50::1;::::0;-1:-1:-1;;;6823:25:50;;::::1;::::0;::::1;1820::51::0;;;6823:5:50::1;-1:-1:-1::0;;;;;6823:10:50::1;::::0;::::1;::::0;1793:18:51;;6823:25:50::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;6871:5;-1:-1:-1::0;;;;;6871:20:50::1;;6899:12;713:10:23::0;;638:90;6899:12:50::1;6919:47;2312:6;6919:13:::0;:47:::1;:::i;:::-;6871:101;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6854:118;;7129:20;7112:14;:37;7108:82;;;7164:26;;-1:-1:-1::0;;;7164:26:50::1;;;;;;;;;;;7108:82;7202:141;::::0;;7689:25:51;;;7745:2;7730:18;;7723:34;;;-1:-1:-1;;;;;7793:32:51;;7773:18;;;7766:60;7857:2;7842:18;;7835:34;;;7202:141:50;;713:10:23;;7202:141:50::1;::::0;;;;;7676:3:51;7202:141:50;;::::1;-1:-1:-1::0;;1679:1:19;2546:7;:22;6277:1071:50;;-1:-1:-1;;;6277:1071:50:o;18995:343:47:-;2206:4:15;2613:30;2206:4;713:10:23;2613::15;:30::i;:::-;-1:-1:-1;;;;;19111:33:47;::::1;19107:69;;19153:23;;-1:-1:-1::0;;;19153:23:47::1;;;;;;;;;;;19107:69;19224:18;::::0;19187:89:::1;::::0;-1:-1:-1;;;;;19187:89:47;;::::1;::::0;19224:18:::1;::::0;19187:89:::1;::::0;19224:18:::1;::::0;19187:89:::1;-1:-1:-1::0;19282:18:47::1;:51:::0;;-1:-1:-1;;;;;;19282:51:47::1;-1:-1:-1::0;;;;;19282:51:47;;;::::1;::::0;;;::::1;::::0;;18995:343::o;1550:167:16:-;1660:7;1684:18;;;:12;:18;;;;;:28;;1706:5;1684:21;:28::i;:::-;1677:35;1550:167;-1:-1:-1;;;1550:167:16:o;3023:161:15:-;3129:4;3150:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;3150:29:15;;;;;;;;;;;;;;;3023:161::o;19557:226:47:-;-1:-1:-1;;;;;;;;;;;2613:30:15;3970:28:47;713:10:23;2613::15;:30::i;:::-;19696:17:47::1;::::0;19672:62:::1;::::0;19715:18;;19696:17;19672:62:::1;::::0;;;::::1;-1:-1:-1::0;19740:17:47::1;:38:::0;19557:226::o;17433:315::-;2206:4:15;2613:30;2206:4;713:10:23;2613::15;:30::i;:::-;-1:-1:-1;;;;;17543:30:47;::::1;17539:73;;17582:30;;-1:-1:-1::0;;;17582:30:47::1;;;;;;;;;;;17539:73;17650:15;::::0;17623:62:::1;::::0;-1:-1:-1;;;;;17623:62:47;;::::1;::::0;17650:15:::1;::::0;17623:62:::1;::::0;17650:15:::1;::::0;17623:62:::1;-1:-1:-1::0;17691:15:47::1;:52:::0;;-1:-1:-1;;;;;;17691:52:47::1;-1:-1:-1::0;;;;;17691:52:47;;;::::1;::::0;;;::::1;::::0;;17433:315::o;21686:121::-;2206:4:15;2613:30;2206:4;713:10:23;2613::15;:30::i;:::-;21755:12:47::1;:20:::0;;-1:-1:-1;;21755:20:47::1;::::0;;21786:16:::1;::::0;::::1;::::0;21770:5:::1;::::0;21786:16:::1;21686:121:::0;:::o;15173:310::-;2206:4:15;2613:30;2206:4;713:10:23;2613::15;:30::i;:::-;-1:-1:-1;;;;;15283:30:47;::::1;15279:68;;15322:25;;-1:-1:-1::0;;;15322:25:47::1;;;;;;;;;;;15279:68;15385:15;::::0;15358:62:::1;::::0;-1:-1:-1;;;;;15358:62:47;;::::1;::::0;15385:15;;::::1;;::::0;15358:62:::1;::::0;;;::::1;-1:-1:-1::0;15426:15:47::1;:52:::0;;-1:-1:-1;;;;;15426:52:47;;::::1;::::0;::::1;-1:-1:-1::0;;;;;;15426:52:47;;::::1;::::0;;;::::1;::::0;;15173:310::o;1875:156:16:-;1975:7;1999:18;;;:12;:18;;;;;:27;;:25;:27::i;4746:159:15:-;4096:7;4120:12;;;:6;:12;;;;;;;;:22;;2613:30;2624:4;713:10:23;2613::15;:30::i;:::-;4874:26:::1;4886:4;4892:7;4874:11;:26::i;9679:405:50:-:0;9815:26;1720:1:19;2267:7;;:19;2259:63;;;;-1:-1:-1;;;2259:63:19;;;;;;;:::i;:::-;1720:1;2389:7;:18;9849:71:50::1;::::0;-1:-1:-1;;;9849:71:50;;-1:-1:-1;;;;;9858:8:50::1;9849:31;::::0;::::1;::::0;:71:::1;::::0;713:10:23;;9903:4:50::1;::::0;9910:9;;9849:71:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;9926:34:50::1;::::0;-1:-1:-1;;;9926:34:50;;::::1;::::0;::::1;1820:25:51::0;;;9935:8:50::1;-1:-1:-1::0;;;;;9926:23:50::1;::::0;::::1;::::0;1793:18:51;;9926:34:50::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;9988:91;10014:9;10031:14;10053:20;9988:18;:91::i;:::-;1679:1:19::0;2546:7;:22;9967:112:50;9679:405;-1:-1:-1;;;;9679:405:50:o;21196:118:47:-;4091:24;2613:30:15;4091:24:47;713:10:23;2613::15;:30::i;:::-;21259:15:47::1;:22:::0;;-1:-1:-1;;21259:22:47::1;21277:4;21259:22;::::0;;21292:17:::1;::::0;::::1;::::0;21259:15:::1;::::0;21292:17:::1;21196:118:::0;:::o;20374:206::-;-1:-1:-1;;;;;;;;;;;2613:30:15;3970:28:47;713:10:23;2613::15;:30::i;:::-;20501:15:47::1;::::0;20482:53:::1;::::0;20518:16;;20501:15;20482:53:::1;::::0;;;::::1;-1:-1:-1::0;20541:15:47::1;:34:::0;20374:206::o;6749:211:15:-;6828:22;6836:4;6842:7;6828;:22::i;:::-;6823:133;;6860:12;;;;6892:4;6860:12;;;;;;;;-1:-1:-1;;;;;6860:29:15;;;;;;;;;;:36;;-1:-1:-1;;6860:36:15;;;;;;;6909:40;;713:10:23;;6860:12:15;;6909:40;;6860:12;6909:40;6749:211;;:::o;7180:144:25:-;7250:4;7269:50;7274:3;-1:-1:-1;;;;;7294:23:25;;7269:4;:50::i;2714:230:15:-;2819:4;-1:-1:-1;;;;;;2846:47:15;;-1:-1:-1;;;2846:47:15;;:93;;-1:-1:-1;;;;;;;;;;993:40:24;;;2903:36:15;867:171:24;10159:1820:47;22074:12;;10314:26;;22074:12;;;;;22070:44;;;22095:19;;-1:-1:-1;;;22095:19:47;;;;;;;;;;;22070:44;-1:-1:-1;;;;;10353:40:47;::::1;;::::0;;;:24:::1;:40;::::0;;;;;::::1;;10348:72;;10402:18;;-1:-1:-1::0;;;10402:18:47::1;;;;;;;;;;;10348:72;10479:14;::::0;-1:-1:-1;;;;;10479:14:47::1;:31;10511:8;713:10:23::0;10479:55:47::1;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;10557:14:47::1;::::0;:54:::1;::::0;-1:-1:-1;;;10557:54:47;;10540:14:::1;::::0;-1:-1:-1;;;;;;10557:14:47;;::::1;::::0;-1:-1:-1;10557:30:47::1;::::0;:54:::1;::::0;10588:8:::1;::::0;713:10:23;;10557:54:47::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;10540:71:::0;-1:-1:-1;10540:71:47;10617:52:::1;;10650:19;;-1:-1:-1::0;;;10650:19:47::1;;;;;;;;;;;10617:52;10724:26;10784:14;10771:9;10754:14;:12;:14::i;:::-;:26;;;;:::i;:::-;10753:45;;;;:::i;:::-;10724:74;;10829:20;;10808:18;:41;10804:86;;;10864:26;;-1:-1:-1::0;;;10864:26:47::1;;;;;;;;;;;10804:86;10957:18;::::0;:118:::1;::::0;-1:-1:-1;;;10957:118:47;;10943:11:::1;::::0;-1:-1:-1;;;;;10957:18:47::1;::::0;:34:::1;::::0;:118:::1;::::0;10999:8:::1;::::0;11015:14;;11037:6;;11051:18;;10957:118:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;10943:132;;11092:18;11086:3;:24;11082:63;;;11119:26;;-1:-1:-1::0;;;11119:26:47::1;;;;;;;;;;;11082:63;11152:15;::::0;:152:::1;::::0;-1:-1:-1;;;11152:152:47;;-1:-1:-1;;;;;11152:15:47;;::::1;::::0;:39:::1;::::0;:152:::1;::::0;:15;;11250:8:::1;::::0;11266:6;;11280:18;;11152:152:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;11475:10:47::1;::::0;:40:::1;::::0;-1:-1:-1;;;11475:40:47;;-1:-1:-1;;;;;661:32:51;;;11475:40:47::1;::::0;::::1;643:51:51::0;11475:10:47;;::::1;::::0;-1:-1:-1;11475:24:47::1;::::0;-1:-1:-1;616:18:51;;11475:40:47::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;11439:14;-1:-1:-1::0;;;;;11424:39:47::1;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;11418:47;::::0;:2:::1;:47;:::i;:::-;11382:24;11403:3:::0;11382:18;:24:::1;:::i;:::-;11381:84;;;;:::i;:::-;11380:135;;;;:::i;:::-;11353:162;;11547:20;11526:18;:41;11522:83;;;11582:23;;-1:-1:-1::0;;;11582:23:47::1;;;;;;;;;;;11522:83;11612:15;::::0;:122:::1;::::0;-1:-1:-1;;;11612:122:47;;:15;;;::::1;-1:-1:-1::0;;;;;11612:15:47::1;::::0;:29:::1;::::0;:122:::1;::::0;11657:8:::1;::::0;11674:14;;11696:6;;11710:18;;11612:122:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;11741:69;11777:12;713:10:23::0;;638:90;11777:12:47::1;-1:-1:-1::0;;;;;11741:35:47;::::1;::::0;11791:18;11741:35:::1;:69::i;:::-;11822:152;::::0;;12668:25:51;;;-1:-1:-1;;;;;12729:32:51;;12724:2;12709:18;;12702:60;12778:18;;;12771:34;;;12836:2;12821:18;;12814:34;;;12879:3;12864:19;;12857:35;;;11860:6:47;;713:10:23;;11822:152:47::1;::::0;12655:3:51;12640:19;11822:152:47::1;;;;;;;;10342:1637;;;10159:1820:::0;;;;;:::o;7562:1861::-;21915:15;;7722:20;;21915:15;;21911:49;;;21939:21;;-1:-1:-1;;;21939:21:47;;;;;;;;;;;21911:49;-1:-1:-1;;;;;7755:40:47;::::1;;::::0;;;:26:::1;:40;::::0;;;;;::::1;;7750:72;;7804:18;;-1:-1:-1::0;;;7804:18:47::1;;;;;;;;;;;7750:72;7877:14;::::0;-1:-1:-1;;;;;7877:14:47::1;:31;7909:8;713:10:23::0;7877:55:47::1;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;7955:14:47::1;::::0;:54:::1;::::0;-1:-1:-1;;;7955:54:47;;7938:14:::1;::::0;-1:-1:-1;;;;;;7955:14:47;;::::1;::::0;-1:-1:-1;7955:30:47::1;::::0;:54:::1;::::0;7986:8:::1;::::0;713:10:23;;7955:54:47::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7938:71:::0;-1:-1:-1;7938:71:47;8015:52:::1;;8048:19;;-1:-1:-1::0;;;8048:19:47::1;;;;;;;;;;;8015:52;8074:105;-1:-1:-1::0;;;;;8074:37:47;::::1;713:10:23::0;8147:4:47::1;8160:13:::0;8074:37:::1;:105::i;:::-;8227:15;::::0;8185:74:::1;::::0;-1:-1:-1;;;;;8185:33:47;;::::1;::::0;8227:15;;::::1;;8245:13:::0;8185:33:::1;:74::i;:::-;8266:15;::::0;:67:::1;::::0;-1:-1:-1;;;8266:67:47;;:15;;;::::1;-1:-1:-1::0;;;;;8266:15:47::1;::::0;:28:::1;::::0;:67:::1;::::0;8295:8:::1;::::0;8305:12;;8319:13;;8266:67:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;8388:23;8500:12;-1:-1:-1::0;;;;;8485:37:47::1;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8479:45;::::0;:2:::1;:45;:::i;:::-;8415:10;::::0;:38:::1;::::0;-1:-1:-1;;;8415:38:47;;-1:-1:-1;;;;;661:32:51;;;8415:38:47::1;::::0;::::1;643:51:51::0;8462:13:47;;8415:10:::1;::::0;:24:::1;::::0;616:18:51;;8415:38:47::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:60;;;;:::i;:::-;8414:110;;;;:::i;:::-;8388:136;;8553:17;;8535:15;:35;8531:71;;;8579:23;;-1:-1:-1::0;;;8579:23:47::1;;;;;;;;;;;8531:71;8658:20;::::0;:115:::1;::::0;-1:-1:-1;;;8658:115:47;;8644:11:::1;::::0;-1:-1:-1;;;;;8658:20:47::1;::::0;:36:::1;::::0;:115:::1;::::0;8702:8:::1;::::0;8718:12;;8738:6;;8752:15;;8658:115:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8644:129;;8790:15;8784:3;:21;8780:62;;;8814:28;;-1:-1:-1::0;;;8814:28:47::1;;;;;;;;;;;8780:62;9008:14;:12;:14::i;:::-;8990;8965:21;8983:3:::0;8965:15;:21:::1;:::i;:::-;8964:40;;;;:::i;:::-;8963:59;;;;:::i;:::-;8948:74;;9048:18;9033:12;:33;9029:72;;;9075:26;;-1:-1:-1::0;;;9075:26:47::1;;;;;;;;;;;9029:72;9108:15;::::0;:151:::1;::::0;-1:-1:-1;;;9108:151:47;;-1:-1:-1;;;;;9108:15:47;;::::1;::::0;:39:::1;::::0;:151:::1;::::0;:15:::1;::::0;9208:8:::1;::::0;9224:6;;9238:15;;9108:151:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;9311:6;9291:12;713:10:23::0;;638:90;9291:12:47::1;9271:147;::::0;;12668:25:51;;;-1:-1:-1;;;;;12729:32:51;;;12724:2;12709:18;;12702:60;12778:18;;;12771:34;;;12836:2;12821:18;;12814:34;;;12879:3;12864:19;;12857:35;;;9271:147:47;::::1;::::0;::::1;::::0;12655:3:51;12640:19;9271:147:47::1;12409:489:51::0;3449:386:15;3533:22;3541:4;3547:7;3533;:22::i;:::-;3528:303;;3668:41;3696:7;-1:-1:-1;;;;;3668:41:15;3706:2;3668:19;:41::i;:::-;3756:38;3784:4;3791:2;3756:19;:38::i;:::-;3599:207;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3599:207:15;;;;;;;;;;-1:-1:-1;;;3565:259:15;;;;;;;:::i;12614:967:47:-;21915:15;;;;21911:49;;;21939:21;;-1:-1:-1;;;21939:21:47;;;;;;;;;;;21911:49;4234:36:::1;2613:30:15;4234:36:47::0;713:10:23;2613::15;:30::i;:::-:1;12842:14:47::2;::::0;:52:::2;::::0;-1:-1:-1;;;12842:52:47;;-1:-1:-1;;;;;12842:14:47;;::::2;::::0;:31:::2;::::0;:52:::2;::::0;12874:8:::2;::::0;12884:9;;12842:52:::2;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;12917:14:47::2;::::0;:51:::2;::::0;-1:-1:-1;;;12917:51:47;;12900:14:::2;::::0;-1:-1:-1;;;;;;12917:14:47;;::::2;::::0;-1:-1:-1;12917:30:47::2;::::0;:51:::2;::::0;12948:8:::2;::::0;12958:9;;12917:51:::2;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12900:68:::0;-1:-1:-1;12900:68:47;12974:52:::2;;13007:19;;-1:-1:-1::0;;;13007:19:47::2;;;;;;;;;;;12974:52;13086:23;13143:14;13125;:12;:14::i;:::-;13113:26;::::0;:9;:26:::2;:::i;:::-;13112:45;;;;:::i;:::-;13164:24;::::0;:114:::2;::::0;-1:-1:-1;;;13164:114:47;;13086:71;;-1:-1:-1;;;;;;13164:24:47::2;::::0;:65:::2;::::0;:114:::2;::::0;713:10:23;;13086:71:47;;13164:114:::2;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;13284:15:47::2;::::0;:151:::2;::::0;-1:-1:-1;;;13284:151:47;;-1:-1:-1;;;;;13284:15:47;;::::2;::::0;-1:-1:-1;13284:39:47::2;::::0;-1:-1:-1;13284:151:47::2;::::0;:15:::2;::::0;13384:8:::2;::::0;13400:6;;13414:15;;13284:151:::2;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;13508:6;13491:9;-1:-1:-1::0;;;;;13446:130:47::2;13471:12;713:10:23::0;;638:90;13471:12:47::2;13446:130;::::0;;9448:25:51;;;9504:2;9489:18;;9482:34;;;9532:18;;;9525:34;;;-1:-1:-1;;;;;13446:130:47;;;::::2;::::0;::::2;::::0;9436:2:51;9421:18;13446:130:47::2;;;;;;;12787:794;;21966:1:::1;12614:967:::0;;;:::o;2111:156:16:-;2194:31;2211:4;2217:7;2194:16;:31::i;:::-;2231:18;;;;:12;:18;;;;;:31;;2254:7;2231:22;:31::i;2348:175::-;2446:32;2464:4;2470:7;2446:17;:32::i;:::-;2484:18;;;;:12;:18;;;;;:34;;2510:7;2484:25;:34::i;1190:160:22:-;1272:71;1292:5;1314;-1:-1:-1;;;;;1314:14:22;;1331:2;1335:5;1299:43;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1299:43:22;;;;;;;;;;;1272:19;:71::i;8386:164:25:-;8472:7;8520:22;8524:3;8536:5;8520:3;:22::i;7957:109::-;8020:7;8042:19;8050:3;3752:18;;3674:101;1643:354;1706:4;3572:19;;;:12;;;:19;;;;;;1718:275;;-1:-1:-1;1754:23:25;;;;;;;;:11;:23;;;;;;;;;;;;;1916:18;;1894:19;;;:12;;;:19;;;;;;:40;;;;1942:11;;1718:275;-1:-1:-1;1981:5:25;1974:12;;13700:182:47;13782:10;;:34;;-1:-1:-1;;;13782:34:47;;-1:-1:-1;;;;;13807:8:47;661:32:51;;13782:34:47;;;643:51:51;-1:-1:-1;;13782:10:47;;:24;;616:18:51;;13782:34:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;13771:45;;13837:15;;13826:8;:26;13822:55;;;13861:16;;-1:-1:-1;;;13861:16:47;;;;;;;;;;;13822:55;13700:182;:::o;1589:188:22:-;1689:81;1709:5;1731;-1:-1:-1;;;;;1731:18:22;;1752:4;1758:2;1762:5;1716:53;;;;;;;;;;:::i;4371:380::-;4458:25;4501:5;-1:-1:-1;;;;;4501:13:22;;4517:7;4526:5;4486:47;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4486:47:22;;;;;;;;;;;4458:75;;4549:44;4573:5;4580:12;4549:23;:44::i;:::-;4544:201;;4609:71;4629:5;4651;-1:-1:-1;;;;;4651:13:22;;4667:7;4676:1;4636:43;;;;;;;;;:::i;4609:71::-;4694:40;4714:5;4721:12;4694:19;:40::i;1428:413:27:-;1515:13;1538:19;1570:10;1574:6;1570:1;:10;:::i;:::-;:14;;1583:1;1570:14;:::i;:::-;1560:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1560:25:27;;1538:47;;-1:-1:-1;;;1591:6:27;1598:1;1591:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1591:15:27;;;;;;;;;-1:-1:-1;;;1612:6:27;1619:1;1612:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1612:15:27;;;;;;;;-1:-1:-1;1638:9:27;1650:10;1654:6;1650:1;:10;:::i;:::-;:14;;1663:1;1650:14;:::i;:::-;1638:26;;1633:116;1670:1;1666;:5;1633:116;;;-1:-1:-1;;;1711:5:27;1719:3;1711:11;1698:25;;;;;;;:::i;:::-;;;;1686:6;1693:1;1686:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;1686:37:27;;;;;;;;-1:-1:-1;1741:1:27;1731:11;;;;;1673:3;;;:::i;:::-;;;1633:116;;;-1:-1:-1;1762:10:27;;1754:55;;;;-1:-1:-1;;;1754:55:27;;15400:2:51;1754:55:27;;;15382:21:51;;;15419:18;;;15412:30;15478:34;15458:18;;;15451:62;15530:18;;1754:55:27;15198:356:51;7073:212:15;7152:22;7160:4;7166:7;7152;:22::i;:::-;7148:133;;;7216:5;7184:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;7184:29:15;;;;;;;;;;:37;;-1:-1:-1;;7184:37:15;;;7234:40;713:10:23;;7184:12:15;;7234:40;;7216:5;7234:40;7073:212;;:::o;7478:160:25:-;7559:4;7580:53;7588:3;-1:-1:-1;;;;;7608:23:25;;7580:7;:53::i;5248:720:22:-;5328:18;5356:19;5494:4;5491:1;5484:4;5478:11;5471:4;5465;5461:15;5458:1;5451:5;5444;5439:60;5551:7;5541:176;;5595:4;5589:11;5640:16;5637:1;5632:3;5617:40;5686:16;5681:3;5674:29;5541:176;-1:-1:-1;;5794:1:22;5788:8;5744:16;;-1:-1:-1;5820:15:22;;:68;;5872:11;5887:1;5872:16;;5820:68;;;-1:-1:-1;;;;;5838:26:22;;;:31;5820:68;5816:146;;;5911:40;;-1:-1:-1;;;5911:40:22;;-1:-1:-1;;;;;661:32:51;;5911:40:22;;;643:51:51;616:18;;5911:40:22;497:203:51;4095:112:25;4162:7;4184:3;:11;;4196:5;4184:18;;;;;;;;:::i;:::-;;;;;;;;;4177:25;;4095:112;;;;:::o;6470:480:22:-;6553:4;6569:12;6591:18;6619:19;6753:4;6750:1;6743:4;6737:11;6730:4;6724;6720:15;6717:1;6710:5;6703;6698:60;6687:71;;6785:16;6771:30;;6835:1;6829:8;6814:23;;6863:7;:80;;;;-1:-1:-1;6875:15:22;;:67;;6926:11;6941:1;6926:16;6875:67;;;6922:1;6901:5;-1:-1:-1;;;;;6893:26:22;;:30;6875:67;6856:87;6470:480;-1:-1:-1;;;;;;6470:480:22:o;2151:1242:25:-;2217:4;2346:19;;;:12;;;:19;;;;;;2376:15;;2372:1017;;2715:21;2739:14;2752:1;2739:10;:14;:::i;:::-;2781:18;;2715:38;;-1:-1:-1;2761:17:25;;2781:22;;2802:1;;2781:22;:::i;:::-;2761:42;;2829:13;2816:9;:26;2812:352;;2854:17;2874:3;:11;;2886:9;2874:22;;;;;;;;:::i;:::-;;;;;;;;;2854:42;;3009:9;2980:3;:11;;2992:13;2980:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;3076:23;;;:12;;;:23;;;;;:36;;;2812:352;3230:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;3310:3;:12;;:19;3323:5;3310:19;;;;;;;;;;;3303:26;;;3345:4;3338:11;;;;;;;2372:1017;3377:5;3370:12;;;;;14:286:51;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:51;;209:43;;199:71;;266:1;263;256:12;1169:173;1237:20;;-1:-1:-1;;;;;1286:31:51;;1276:42;;1266:70;;1332:1;1329;1322:12;1266:70;1169:173;;;:::o;1347:322::-;1424:6;1432;1440;1493:2;1481:9;1472:7;1468:23;1464:32;1461:52;;;1509:1;1506;1499:12;1461:52;1545:9;1532:23;1522:33;;1574:38;1608:2;1597:9;1593:18;1574:38;:::i;:::-;1564:48;;1659:2;1648:9;1644:18;1631:32;1621:42;;1347:322;;;;;:::o;2316:::-;2393:6;2401;2409;2462:2;2450:9;2441:7;2437:23;2433:32;2430:52;;;2478:1;2475;2468:12;2430:52;2501:29;2520:9;2501:29;:::i;:::-;2491:39;2577:2;2562:18;;2549:32;;-1:-1:-1;2628:2:51;2613:18;;;2600:32;;2316:322;-1:-1:-1;;;2316:322:51:o;2643:186::-;2702:6;2755:2;2743:9;2734:7;2730:23;2726:32;2723:52;;;2771:1;2768;2761:12;2723:52;2794:29;2813:9;2794:29;:::i;2834:180::-;2893:6;2946:2;2934:9;2925:7;2921:23;2917:32;2914:52;;;2962:1;2959;2952:12;2914:52;-1:-1:-1;2985:23:51;;2834:180;-1:-1:-1;2834:180:51:o;3528:254::-;3596:6;3604;3657:2;3645:9;3636:7;3632:23;3628:32;3625:52;;;3673:1;3670;3663:12;3625:52;3709:9;3696:23;3686:33;;3738:38;3772:2;3761:9;3757:18;3738:38;:::i;:::-;3728:48;;3528:254;;;;;:::o;3787:118::-;3873:5;3866:13;3859:21;3852:5;3849:32;3839:60;;3895:1;3892;3885:12;3839:60;3787:118;:::o;3910:315::-;3975:6;3983;4036:2;4024:9;4015:7;4011:23;4007:32;4004:52;;;4052:1;4049;4042:12;4004:52;4075:29;4094:9;4075:29;:::i;:::-;4065:39;;4154:2;4143:9;4139:18;4126:32;4167:28;4189:5;4167:28;:::i;:::-;4214:5;4204:15;;;3910:315;;;;;:::o;4415:328::-;4492:6;4500;4508;4561:2;4549:9;4540:7;4536:23;4532:32;4529:52;;;4577:1;4574;4567:12;4529:52;4600:29;4619:9;4600:29;:::i;:::-;4590:39;;4648:38;4682:2;4671:9;4667:18;4648:38;:::i;5214:248::-;5282:6;5290;5343:2;5331:9;5322:7;5318:23;5314:32;5311:52;;;5359:1;5356;5349:12;5311:52;-1:-1:-1;;5382:23:51;;;5452:2;5437:18;;;5424:32;;-1:-1:-1;5214:248:51:o;5925:355::-;6127:2;6109:21;;;6166:2;6146:18;;;6139:30;6205:33;6200:2;6185:18;;6178:61;6271:2;6256:18;;5925:355::o;6285:375::-;-1:-1:-1;;;;;6543:15:51;;;6525:34;;6595:15;;;;6590:2;6575:18;;6568:43;6642:2;6627:18;;6620:34;;;;6475:2;6460:18;;6285:375::o;6665:245::-;6732:6;6785:2;6773:9;6764:7;6760:23;6756:32;6753:52;;;6801:1;6798;6791:12;6753:52;6833:9;6827:16;6852:28;6874:5;6852:28;:::i;6915:184::-;6985:6;7038:2;7026:9;7017:7;7013:23;7009:32;7006:52;;;7054:1;7051;7044:12;7006:52;-1:-1:-1;7077:16:51;;6915:184;-1:-1:-1;6915:184:51:o;7104:127::-;7165:10;7160:3;7156:20;7153:1;7146:31;7196:4;7193:1;7186:15;7220:4;7217:1;7210:15;7236:217;7276:1;7302;7292:132;;7346:10;7341:3;7337:20;7334:1;7327:31;7381:4;7378:1;7371:15;7409:4;7406:1;7399:15;7292:132;-1:-1:-1;7438:9:51;;7236:217::o;7880:274::-;-1:-1:-1;;;;;8072:32:51;;;;8054:51;;8136:2;8121:18;;8114:34;8042:2;8027:18;;7880:274::o;8159:304::-;-1:-1:-1;;;;;8389:15:51;;;8371:34;;8441:15;;8436:2;8421:18;;8414:43;8321:2;8306:18;;8159:304::o;9073:168::-;9113:7;9179:1;9175;9171:6;9167:14;9164:1;9161:21;9156:1;9149:9;9142:17;9138:45;9135:71;;;9186:18;;:::i;:::-;-1:-1:-1;9226:9:51;;9073:168::o;9570:447::-;-1:-1:-1;;;;;9857:15:51;;;9839:34;;9909:15;;;;9904:2;9889:18;;9882:43;9956:2;9941:18;;9934:34;9999:2;9984:18;;9977:34;;;;9788:3;9773:19;;9570:447::o;10022:588::-;10258:3;10243:19;;10292:1;10281:13;;10271:144;;10337:10;10332:3;10328:20;10325:1;10318:31;10372:4;10369:1;10362:15;10400:4;10397:1;10390:15;10271:144;10424:25;;;-1:-1:-1;;;;;10485:32:51;;;;10480:2;10465:18;;10458:60;10549:2;10534:18;;10527:34;;;;10592:2;10577:18;;;10570:34;10022:588;:::o;10615:273::-;10683:6;10736:2;10724:9;10715:7;10711:23;10707:32;10704:52;;;10752:1;10749;10742:12;10704:52;10784:9;10778:16;10834:4;10827:5;10823:16;10816:5;10813:27;10803:55;;10854:1;10851;10844:12;10893:422;10982:1;11025:5;10982:1;11039:270;11060:7;11050:8;11047:21;11039:270;;;11119:4;11115:1;11111:6;11107:17;11101:4;11098:27;11095:53;;;11128:18;;:::i;:::-;11178:7;11168:8;11164:22;11161:55;;;11198:16;;;;11161:55;11277:22;;;;11237:15;;;;11039:270;;;11043:3;10893:422;;;;;:::o;11320:806::-;11369:5;11399:8;11389:80;;-1:-1:-1;11440:1:51;11454:5;;11389:80;11488:4;11478:76;;-1:-1:-1;11525:1:51;11539:5;;11478:76;11570:4;11588:1;11583:59;;;;11656:1;11651:130;;;;11563:218;;11583:59;11613:1;11604:10;;11627:5;;;11651:130;11688:3;11678:8;11675:17;11672:43;;;11695:18;;:::i;:::-;-1:-1:-1;;11751:1:51;11737:16;;11766:5;;11563:218;;11865:2;11855:8;11852:16;11846:3;11840:4;11837:13;11833:36;11827:2;11817:8;11814:16;11809:2;11803:4;11800:12;11796:35;11793:77;11790:159;;;-1:-1:-1;11902:19:51;;;11934:5;;11790:159;11981:34;12006:8;12000:4;11981:34;:::i;:::-;12051:6;12047:1;12043:6;12039:19;12030:7;12027:32;12024:58;;;12062:18;;:::i;:::-;12100:20;;11320:806;-1:-1:-1;;;11320:806:51:o;12131:140::-;12189:5;12218:47;12259:4;12249:8;12245:19;12239:4;12218:47;:::i;12276:128::-;12343:9;;;12364:11;;;12361:37;;;12378:18;;:::i;12903:250::-;12988:1;12998:113;13012:6;13009:1;13006:13;12998:113;;;13088:11;;;13082:18;13069:11;;;13062:39;13034:2;13027:10;12998:113;;;-1:-1:-1;;13145:1:51;13127:16;;13120:27;12903:250::o;13158:812::-;13569:25;13564:3;13557:38;13539:3;13624:6;13618:13;13640:75;13708:6;13703:2;13698:3;13694:12;13687:4;13679:6;13675:17;13640:75;:::i;:::-;-1:-1:-1;;;13774:2:51;13734:16;;;13766:11;;;13759:40;13824:13;;13846:76;13824:13;13908:2;13900:11;;13893:4;13881:17;;13846:76;:::i;:::-;13942:17;13961:2;13938:26;;13158:812;-1:-1:-1;;;;13158:812:51:o;13975:396::-;14124:2;14113:9;14106:21;14087:4;14156:6;14150:13;14199:6;14194:2;14183:9;14179:18;14172:34;14215:79;14287:6;14282:2;14271:9;14267:18;14262:2;14254:6;14250:15;14215:79;:::i;:::-;14355:2;14334:15;-1:-1:-1;;14330:29:51;14315:45;;;;14362:2;14311:54;;13975:396;-1:-1:-1;;13975:396:51:o;14663:125::-;14728:9;;;14749:10;;;14746:36;;;14762:18;;:::i;14793:127::-;14854:10;14849:3;14845:20;14842:1;14835:31;14885:4;14882:1;14875:15;14909:4;14906:1;14899:15;14925:127;14986:10;14981:3;14977:20;14974:1;14967:31;15017:4;15014:1;15007:15;15041:4;15038:1;15031:15;15057:136;15096:3;15124:5;15114:39;;15133:18;;:::i;:::-;-1:-1:-1;;;15169:18:51;;15057:136::o;15559:127::-;15620:10;15615:3;15611:20;15608:1;15601:31;15651:4;15648:1;15641:15;15675:4;15672:1;15665:15","linkReferences":{},"immutableReferences":{"5821":[{"start":1505,"length":32},{"start":8970,"length":32},{"start":11024,"length":32},{"start":11850,"length":32}],"5857":[{"start":938,"length":32},{"start":2611,"length":32},{"start":2889,"length":32},{"start":3179,"length":32},{"start":3364,"length":32},{"start":3901,"length":32},{"start":4282,"length":32},{"start":4408,"length":32},{"start":5654,"length":32},{"start":6435,"length":32},{"start":6561,"length":32},{"start":7923,"length":32},{"start":8070,"length":32},{"start":8673,"length":32},{"start":8827,"length":32},{"start":9108,"length":32},{"start":9299,"length":32},{"start":9722,"length":32},{"start":10062,"length":32},{"start":10216,"length":32},{"start":10453,"length":32},{"start":10866,"length":32},{"start":11163,"length":32},{"start":11572,"length":32},{"start":11707,"length":32},{"start":12053,"length":32},{"start":12534,"length":32}],"7149":[{"start":1020,"length":32},{"start":2185,"length":32},{"start":2332,"length":32},{"start":2469,"length":32},{"start":4121,"length":32},{"start":4455,"length":32},{"start":4587,"length":32},{"start":4689,"length":32},{"start":6269,"length":32},{"start":6608,"length":32},{"start":6740,"length":32},{"start":6842,"length":32}]}}}}}}},"signatures":{"function":[{"signature":"acceptedRedemptionTokens(address)","signatureHash4":"0x884a0501","signatureHash32":"0x884a05016fa6de91ef19a4c4c14c9b14debc13ffe87e1c116fa19d87b8d15fe8"},{"signature":"acceptedSubscriptionTokens(address)","signatureHash4":"0xfe6f14c5","signatureHash32":"0xfe6f14c5b6f18066e2dff35db39ee259ea46b26435e89e8ed7e445c3978dc38a"},{"signature":"adminSubscribe(address,uint256,bytes32)","signatureHash4":"0x2d7d41ab","signatureHash32":"0x2d7d41ab1abedde630667cb2e08dffd16ceeca29cab28ff61cc2899b537d1cad"},{"signature":"adminSubscribeRebasingUSDY(address,uint256,bytes32)","signatureHash4":"0x3f983258","signatureHash32":"0x3f9832586530a9631a4b00155ed0b3fd349589d02a3383e3055026313ae83549"},{"signature":"adminSubscriptionChecker()","signatureHash4":"0x0ded4a6f","signatureHash32":"0x0ded4a6f58154fd53d019d5ba1e97b547c1cedf18d1f6d84ebf561994f8c4706"},{"signature":"ADMIN_SUBSCRIPTION_ROLE()","signatureHash4":"0xba2a1c4d","signatureHash32":"0xba2a1c4df9062c63427f8d78162d363f83e97350ddc1a3565add31ff7b1ad89d"},{"signature":"CONFIGURER_ROLE()","signatureHash4":"0xabbb9f4c","signatureHash32":"0xabbb9f4ca18afa673f3e03c6a43d503be7752956c49c967e6a78c88ed956e100"},{"signature":"DEFAULT_ADMIN_ROLE()","signatureHash4":"0xa217fddf","signatureHash32":"0xa217fddfde7807bb766525e432eeeecaaf4de889a05e8df9fb827257fb978cf4"},{"signature":"getRoleAdmin(bytes32)","signatureHash4":"0x248a9ca3","signatureHash32":"0x248a9ca39e7e298ea3bbd193e7d36b87492efea84ff513fd03940aaa5bc0d98f"},{"signature":"getRoleMember(bytes32,uint256)","signatureHash4":"0x9010d07c","signatureHash32":"0x9010d07c35d39c6d4cd0e3e64f2d5224175be836ce7811540697d664e50bd5b0"},{"signature":"getRoleMemberCount(bytes32)","signatureHash4":"0xca15c873","signatureHash32":"0xca15c87324184fe11fcfd1b62f305b0106b501a357855ca24a74263983ccd675"},{"signature":"grantRole(bytes32,address)","signatureHash4":"0x2f2ff15d","signatureHash32":"0x2f2ff15deca029b64bbc0874ae59c8f39be024a95aa718b4c13ca407db350be8"},{"signature":"hasRole(bytes32,address)","signatureHash4":"0x91d14854","signatureHash32":"0x91d1485424b278bc736d5d34907ed48280c7188845bc82b33370da2b4dc1194e"},{"signature":"minimumDepositUSD()","signatureHash4":"0x531acc13","signatureHash32":"0x531acc1325fa5eb14a312eb317a52eeb7be1efee89a3e4aa93675b786fd88a4a"},{"signature":"minimumRedemptionUSD()","signatureHash4":"0x8f8eb812","signatureHash32":"0x8f8eb8123f2c7a5642b7ee870a18ad37801dc0b3c76b509f4b46c4204bdcc9f3"},{"signature":"minimumRwaPrice()","signatureHash4":"0x60850574","signatureHash32":"0x608505743aa8d7bb0eb0d7bdb23e15495a80d06c09e3d50098b8496113fc14ae"},{"signature":"ondoCompliance()","signatureHash4":"0x1ee547e7","signatureHash32":"0x1ee547e7b0a8dd1c387b75205b62382f6641a2c25bfb1b9873cceb348ba1100c"},{"signature":"ondoIDRegistry()","signatureHash4":"0xc768b145","signatureHash32":"0xc768b145f545806650b86b99796bad0838c5a508b64355a91a7c6ac72c1ab60a"},{"signature":"ondoOracle()","signatureHash4":"0x21e0e0cf","signatureHash32":"0x21e0e0cf3fc4c8b607ce2351bca9f9f93c70edaf4c1012e155eac1b2df742830"},{"signature":"ondoRateLimiter()","signatureHash4":"0x811400fa","signatureHash32":"0x811400faf522f8a9976b1b2d70f76d55e22d3458e2325ef1d8d9d56d0ee995db"},{"signature":"ondoRedemptionFees()","signatureHash4":"0xe6433834","signatureHash32":"0xe643383413a6f36d5ebcc85baffd063cd5470ce4dd0799e8dbf0ab9f0c109282"},{"signature":"ondoSubscriptionFees()","signatureHash4":"0xc8e1585d","signatureHash32":"0xc8e1585d1e4047e342188adc10431fe0ef57e81a3abc186b3905a41721ce7c80"},{"signature":"ondoTokenRouter()","signatureHash4":"0x8f4f9613","signatureHash32":"0x8f4f96139ff66ced5f7594f71dff3f87841c1c8187768d5cf93d00422ae44e1f"},{"signature":"pauseRedeem()","signatureHash4":"0x32ec84d2","signatureHash32":"0x32ec84d21e492f3c8b88fc45b1143b172fb62d831d30b7ff2bfa00a27e6d61c5"},{"signature":"PAUSER_ROLE()","signatureHash4":"0xe63ab1e9","signatureHash32":"0xe63ab1e9105047561658ac3165e1299fe26595759c1b0c4013fb9a4343523ad1"},{"signature":"pauseSubscribe()","signatureHash4":"0xf3a408da","signatureHash32":"0xf3a408da5af3eabe32700e9aef9826fb53bb391f9c75b8e47641aa539e7540e1"},{"signature":"redeemPaused()","signatureHash4":"0xb235d468","signatureHash32":"0xb235d46897df9a7b5f80a5f46501828c7974540882e7d2c4442d61392a16f46a"},{"signature":"redeemRebasingUSDY(uint256,address,uint256)","signatureHash4":"0x16762d7a","signatureHash32":"0x16762d7a1971585aba9349f6a59531535694e27ce83fa051cf6ada1c7da85172"},{"signature":"redeem(uint256,address,uint256)","signatureHash4":"0xd8780161","signatureHash32":"0xd8780161ae2bf6d9d0abea8b50af7ac3a7c8fdfc8e998c427476097ac5341414"},{"signature":"renounceRole(bytes32,address)","signatureHash4":"0x36568abe","signatureHash32":"0x36568abe2c7e6c1d662bad0fe1760ac72cf2f9478a86be824d68ec83895c49e9"},{"signature":"retrieveTokens(address,address,uint256)","signatureHash4":"0x7b0e1c57","signatureHash32":"0x7b0e1c57ec7cb3b2e41ac4746f9a9ddaf04dca4d44be05fda7dabd85238a8bc8"},{"signature":"revokeRole(bytes32,address)","signatureHash4":"0xd547741f","signatureHash32":"0xd547741fd8d55981251e167708119763c372f2b41e85a1468b0a759b055a009f"},{"signature":"rusdy()","signatureHash4":"0x10a4f09f","signatureHash32":"0x10a4f09f63e0f03f39a7e87e5861492ceb0b036b5e82aef17261e5539f094586"},{"signature":"RWA_NORMALIZER()","signatureHash4":"0x7ead09e8","signatureHash32":"0x7ead09e85368db16fa4dcaa80d05327e43299ed4e3de5cb0908f45bfcd81f046"},{"signature":"rwaToken()","signatureHash4":"0x0c5bf351","signatureHash32":"0x0c5bf35183723ccd4444cb640860890593bf0bd8063bd8917156be3655201533"},{"signature":"setAcceptedRedemptionToken(address,bool)","signatureHash4":"0x695e122d","signatureHash32":"0x695e122daf20748dd25dcbfcba32e07810df690b1ed041a63a83b198746ec23d"},{"signature":"setAcceptedSubscriptionToken(address,bool)","signatureHash4":"0x3faed166","signatureHash32":"0x3faed166c901dbda97fecbfbec29e6fcbe87cf4e28abe79b321302b1a18cd93d"},{"signature":"setAdminSubscriptionChecker(address)","signatureHash4":"0x40db35e0","signatureHash32":"0x40db35e01c6f6f0dbc095fb879146c8455ed517444678536ec12435f13b52542"},{"signature":"setMinimumDepositAmount(uint256)","signatureHash4":"0xaab483d6","signatureHash32":"0xaab483d645710fe0fb2095869684d68c8da481658ef5c14dd8d1ed8602f712b4"},{"signature":"setMinimumRedemptionAmount(uint256)","signatureHash4":"0x4ef1ccd1","signatureHash32":"0x4ef1ccd10053aea34e5e88d44ba112b7dc1ee062ed2006aa067304d2c20f93ee"},{"signature":"setMinimumRwaPrice(uint256)","signatureHash4":"0xfd84a072","signatureHash32":"0xfd84a0721436087a73d42f909fd7cfc6bc8c9eb55cb44cdc42d75c5eaeca7baa"},{"signature":"setOndoCompliance(address)","signatureHash4":"0x59e0f36f","signatureHash32":"0x59e0f36fa13c7da6faab0c24dd98bd4e03c0f0329fbadeac4becdc060b85402f"},{"signature":"setOndoIDRegistry(address)","signatureHash4":"0x23991e4b","signatureHash32":"0x23991e4b3041b2ed2b03104d2cad5bb12bf8651cda49c9048a36c47a631d56e2"},{"signature":"setOndoOracle(address)","signatureHash4":"0x3e4af11f","signatureHash32":"0x3e4af11f4b5a62c8615731683c450fba11f32fe176697349c9537ae584b1d9ca"},{"signature":"setOndoRateLimiter(address)","signatureHash4":"0xad129e77","signatureHash32":"0xad129e77a917959ced017e2fc66850e4e181c8f0fdcc254f24d2dbaf3bf15ddb"},{"signature":"setOndoRedemptionFees(address)","signatureHash4":"0x86dd535c","signatureHash32":"0x86dd535c3a2d00e589e58e7266a9fb073c180fba37c154a68bb738864f03802b"},{"signature":"setOndoSubscriptionFees(address)","signatureHash4":"0x61fca455","signatureHash32":"0x61fca45581f6c2d3b1b9258a3968d19fc3cc3feb0651f678fc4bbf8d034228d7"},{"signature":"setOndoTokenRouter(address)","signatureHash4":"0xafb6794e","signatureHash32":"0xafb6794ee4f72c0c7576bad684ed72c4571b0c22f998b360d6039b536d47c1e8"},{"signature":"subscribe(address,uint256,uint256)","signatureHash4":"0x22d4a175","signatureHash32":"0x22d4a175eca97f4a037e3469eab79ea275bd819057d2b96221523e80ebe512bf"},{"signature":"subscribePaused()","signatureHash4":"0x5f127079","signatureHash32":"0x5f127079f3915fbd645ce17896e8b0ce7d0a52361c712f1692c0be4b1a8ba704"},{"signature":"subscribeRebasingUSDY(address,uint256,uint256)","signatureHash4":"0x8133067e","signatureHash32":"0x8133067e391d1edc26b003f238d0a9332976e7b4e92fbe415047797fbc0315d4"},{"signature":"supportsInterface(bytes4)","signatureHash4":"0x01ffc9a7","signatureHash32":"0x01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e2"},{"signature":"unpauseRedeem()","signatureHash4":"0xaf3345d1","signatureHash32":"0xaf3345d1bc51fa57b5af1dd782d6d1e17d300a71fdc76fd870b83ff0baca3820"},{"signature":"unpauseSubscribe()","signatureHash4":"0x4ce78490","signatureHash32":"0x4ce784902f88301c56bcd746c833adfee7049defc8b691bd12505730a4df91ba"},{"signature":"USD_NORMALIZER()","signatureHash4":"0x68f26f82","signatureHash32":"0x68f26f82a2fae6b29a85b6aa28e62338a99f0b793193100ea103f3e75dc03c2c"},{"signature":"USDY_TO_RUSDY_SHARES_MULTIPLIER()","signatureHash4":"0x245513ce","signatureHash32":"0x245513cea96d9e0f0c1267dd74a24ab34ddcab800bef388f727e0aec5349c3f9"}],"event":[{"signature":"AcceptedRedemptionTokenSet(address,bool)","signatureHash4":"0x34e31957","signatureHash32":"0x34e319579e041b2d04a5a9ff137ef4511e2db49d2da0512cdbe3845c32bc933a"},{"signature":"AcceptedSubscriptionTokenSet(address,bool)","signatureHash4":"0xb69d0cdc","signatureHash32":"0xb69d0cdc257fe2726a8ebd7602c8a681fd8152961d1c38a5d5b3090a4d96b20c"},{"signature":"AdminSubscription(address,address,bytes32,uint256,uint256,bytes32)","signatureHash4":"0x8153c95a","signatureHash32":"0x8153c95a1826b81124293b12cbbc293c0dfba473b563c61d9a9ff82aa4a1c7ad"},{"signature":"AdminSubscriptionCheckerSet(address,address)","signatureHash4":"0xf68d3e81","signatureHash32":"0xf68d3e8139cf85c4c8ea147060134c79e97dbfa33f3f6a9d4cdec44ef467c747"},{"signature":"AdminSubscriptionRebasingUSDY(address,uint256,uint256,bytes32)","signatureHash4":"0xfd614e52","signatureHash32":"0xfd614e52d7b496f0d3f713f3a55ea6a08921356a6778f1565134f76da6731d6a"},{"signature":"InstantRedemptionRebasingUSDY(address,uint256,uint256,address,uint256)","signatureHash4":"0x9ef7a247","signatureHash32":"0x9ef7a247f6b9f5762b48aaef49860629bb5fec37c2e12bc46a980abd704ab045"},{"signature":"InstantSubscriptionRebasingUSDY(address,uint256,uint256,address,uint256)","signatureHash4":"0x9d1b7886","signatureHash32":"0x9d1b78864fb222ffcf82e2444ee22d6bb9cf52d41b71914f34e1597f23423ca4"},{"signature":"MinimumDepositAmountSet(uint256,uint256)","signatureHash4":"0xe6e25add","signatureHash32":"0xe6e25add7363f8f8a40cbea9810d3115a33703b10972ef759104219b00657436"},{"signature":"MinimumRedemptionAmountSet(uint256,uint256)","signatureHash4":"0xfdaf6ed7","signatureHash32":"0xfdaf6ed728cef208e62328a008209556f8281f3062b14dd08aaaa90fa1594211"},{"signature":"MinimumRwaPriceSet(uint256,uint256)","signatureHash4":"0x8ba90cff","signatureHash32":"0x8ba90cff6e6e2b8e73cee7f3c5356cca13f1715f39f5eaa6164a99b49e497c8e"},{"signature":"OndoComplianceSet(address,address)","signatureHash4":"0xdbc2a976","signatureHash32":"0xdbc2a9769fa2b31eadfb16b690e3c783592becd0b822401b274a90a34d80b6dc"},{"signature":"OndoIDRegistrySet(address,address)","signatureHash4":"0xf78e014a","signatureHash32":"0xf78e014ab86d7bb38135262d64726cef2e151dae47c0947a1d6bb970702c30d6"},{"signature":"OndoOracleSet(address,address)","signatureHash4":"0x6c9074ba","signatureHash32":"0x6c9074ba8ab5c258404464c9703de55127adb996134fd80d450ce94eb76ff590"},{"signature":"OndoRateLimiterSet(address,address)","signatureHash4":"0xc54bf4c3","signatureHash32":"0xc54bf4c3067c1d8f65e053dafb5dbb699615b1b527d2866bd0223102bb2e692d"},{"signature":"OndoRedemptionFeesSet(address,address)","signatureHash4":"0x849fba91","signatureHash32":"0x849fba91aaeaa62c2a7f48c8ff7c26b006ca3ae247c1640072ecf571e31040c8"},{"signature":"OndoSubscriptionFeesSet(address,address)","signatureHash4":"0x24fdea3a","signatureHash32":"0x24fdea3a24a4edda22c10620f63628ed57f6b60d457d833035a316ab15684c94"},{"signature":"OndoTokenRouterSet(address,address)","signatureHash4":"0x132a375a","signatureHash32":"0x132a375a3726b76fcc71a6992f19961145ed03f35eca19ad07381f43501c2b5e"},{"signature":"RedeemPaused()","signatureHash4":"0x60b78ed2","signatureHash32":"0x60b78ed2d882d2d2387ad2b7119495f7c99dd9a9c191d3d02c35982a0750bcc6"},{"signature":"RedeemUnpaused()","signatureHash4":"0x687bf6e6","signatureHash32":"0x687bf6e69dbabcc95e11041b4816a83f36dcf6ef647f6acf63e7469d28f5ea73"},{"signature":"Redemption(address,bytes32,uint256,address,uint256,uint256,uint256)","signatureHash4":"0x7023b7bc","signatureHash32":"0x7023b7bcd020761014c9e1590603f4effceabc102cf0b8023c3f2b14db9ffb6e"},{"signature":"RoleAdminChanged(bytes32,bytes32,bytes32)","signatureHash4":"0xbd79b86f","signatureHash32":"0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff"},{"signature":"RoleGranted(bytes32,address,address)","signatureHash4":"0x2f878811","signatureHash32":"0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d"},{"signature":"RoleRevoked(bytes32,address,address)","signatureHash4":"0xf6391f5c","signatureHash32":"0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b"},{"signature":"SubscribePaused()","signatureHash4":"0xb9964f53","signatureHash32":"0xb9964f53255ea6cb323618cebc0c47de4f99089e9993d1862f24e2fdaf2a31e5"},{"signature":"SubscribeUnpaused()","signatureHash4":"0x849babeb","signatureHash32":"0x849babeb0c1b4e2b3842433574a5cdfe23ffde54c64651d42a6b02e8f98cbf8a"},{"signature":"Subscription(address,bytes32,uint256,address,uint256,uint256,uint256)","signatureHash4":"0x5c88561b","signatureHash32":"0x5c88561b046569d4773b016d48f154d22685738bfb692bb0f8478ec2ef36b79f"}],"error":[{"signature":"AdminSubscriptionCheckerAddressCantBeZero()","signatureHash4":"0xa49b29b2","signatureHash32":"0xa49b29b21bcbce236857405d390bfa3e3929b2ab870b5cc3940bed14bc6390ae"},{"signature":"ComplianceAddressCantBeZero()","signatureHash4":"0x16d264ca","signatureHash32":"0x16d264ca4c1b3a75d71798e416561888d6366c9831d9e3997a93d870d7ee5bd6"},{"signature":"DepositAmountTooSmall()","signatureHash4":"0x67627d07","signatureHash32":"0x67627d07452f1798bb8e8843a1bce304cf41d573010a9b3f1a4eca032f7a6233"},{"signature":"FeeGreaterThanRedemption()","signatureHash4":"0xaee9f366","signatureHash32":"0xaee9f3665fb3e3936a0af29599c19f3d106b9f8098a4b05e7f1795e874ff0dbc"},{"signature":"FeeGreaterThanSubscription()","signatureHash4":"0xacde2e4a","signatureHash32":"0xacde2e4a3edb164d4ae40c75ea1517ab07debdb42a4d007bbcda02275815876f"},{"signature":"FeesAddressCantBeZero()","signatureHash4":"0x123a26e0","signatureHash32":"0x123a26e0caf6666a69f76dea9096509138c12d93e8860a10d43658eaa238a6c0"},{"signature":"IDRegistryAddressCantBeZero()","signatureHash4":"0xf4114d4c","signatureHash32":"0xf4114d4cf231709d542222df232e7389677e839bccfe0b5091c06cf2bdaf113a"},{"signature":"OracleAddressCantBeZero()","signatureHash4":"0x88cfe3f4","signatureHash32":"0x88cfe3f48e1515b5392132962639ff185daae989998ade4326187c1c327c5a61"},{"signature":"RateLimiterAddressCantBeZero()","signatureHash4":"0x3aa9ba33","signatureHash32":"0x3aa9ba33ed94a86f255462500fc1332c35cf0245d6712deac69d1ffc7a84149d"},{"signature":"RebasingUSDYCantBeZeroAddress()","signatureHash4":"0x3cd724dc","signatureHash32":"0x3cd724dc351db5df8d2cabc66c371b16a1e1b356ea432cd74e75382d8456aae7"},{"signature":"ReceiveAmountTooSmall()","signatureHash4":"0x8f190339","signatureHash32":"0x8f19033989f30efe3057892f66bc118c785027d7c8aa0433d777f52dd4f393b8"},{"signature":"RedemptionAmountTooSmall()","signatureHash4":"0xd0022dba","signatureHash32":"0xd0022dba8cbff26656761573a5a73115839dc4eff41d3bf297eac957900595ed"},{"signature":"RedemptionsPaused()","signatureHash4":"0x0df65d9f","signatureHash32":"0x0df65d9feba217053b36368f26379edc40b24a4c165d16cc80a53b2aac892548"},{"signature":"RouterAddressCantBeZero()","signatureHash4":"0x341d47c3","signatureHash32":"0x341d47c33a9f5e0ef0d88549635d454a051bc0fcc21d5d3dc4c83241004d0393"},{"signature":"RWAPriceTooLow()","signatureHash4":"0x765e5592","signatureHash32":"0x765e55922f6c6dc42ff6b2ae4b9fee17b23b1d599cd01e2a5689805454ab2ea4"},{"signature":"RwaReceiveAmountTooSmall()","signatureHash4":"0xc5db0fc1","signatureHash32":"0xc5db0fc1d77f4856db511ec2bbf40bd30dab56dae89e6367043ef0a9ac8b9ba2"},{"signature":"SafeERC20FailedOperation(address)","signatureHash4":"0x5274afe7","signatureHash32":"0x5274afe73c98b4749fc91ffae6b7b574e7842cb2144a159e9377a5f20b32edf9"},{"signature":"SubscriptionsPaused()","signatureHash4":"0x5045b9a0","signatureHash32":"0x5045b9a0689ea51e118ae163deac0d7031e953a913fa2de8cd639ac8614fd596"},{"signature":"TokenAddressCantBeZero()","signatureHash4":"0x885ce5f1","signatureHash32":"0x885ce5f160f51ca1e25572e5d4b93cfa2a3dadb1e0a4e9b3fbf830831aff85d5"},{"signature":"TokenNotAccepted()","signatureHash4":"0xe51cf7bf","signatureHash32":"0xe51cf7bff69c0cfd85b29b7e7704f6aafd3f6cd4e4c0853aad1e12f03e446c02"},{"signature":"UserNotRegistered()","signatureHash4":"0x2163950f","signatureHash32":"0x2163950faf2e6bf3fbf8443dc406e0147aa52f7ad835022b7e00e4cd7bb4c487"}]},"proxyResolution":{"isProxy":false,"proxyType":null,"implementations":[]},"match":"match","chainId":"1","address":"0xa42613C243b67BF6194Ac327795b926B4b491f15"}