{"matchId":"29838732","creationMatch":"exact_match","runtimeMatch":"exact_match","verifiedAt":"2026-05-26T05:37:59Z","creationBytecode":{"onchainBytecode":"0x608060405234801561001057600080fd5b50612290806100206000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80636e836905116100f9578063b19a3b2c11610097578063e00daea811610071578063e00daea814610343578063f2fde38b1461034b578063f7015b281461035e578063f8077fae14610366576101c4565b8063b19a3b2c14610315578063b6b55f251461031d578063c39d13d214610330576101c4565b80637a259dba116100d35780637a259dba146102dd578063818d8d2c146102f25780638728ec17146102fa5780638da5cb5b1461030d576101c4565b80636e836905146102ba578063715018a6146102c2578063772c34b5146102ca576101c4565b806343b0215f1161016657806351f5958a1161014057806351f5958a1461028f5780636998e6ce146102975780636b1e7e6a1461029f5780636bc616b7146102b2576101c4565b806343b0215f14610251578063485cc955146102745780634e71d92d14610287576101c4565b806319c17d90116101a257806319c17d90146102045780632db9680a1461022e5780632e1a7d4d14610236578063328fa46114610249576101c4565b806301e02729146101c9578063131f979d146101e7578063133af166146101ef575b600080fd5b6101d161036e565b6040516101de9190612115565b60405180910390f35b6101d1610374565b6102026101fd366004611a4e565b61037a565b005b610217610212366004611a4e565b6103f7565b6040516101de9b9a99989796959493929190612147565b6101d1610733565b610202610244366004611ac2565b610739565b610202610950565b61026461025f366004611a4e565b610a7d565b6040516101de949392919061212c565b610202610282366004611a8a565b610aa4565b610202610c01565b6101d1610c3d565b6101d1610c43565b6101d16102ad366004611a4e565b610c49565b6101d1610eb2565b6101d1610eb8565b610202610ebe565b6102026102d8366004611ac2565b610f47565b6102e5611000565b6040516101de9190611b0e565b6101d161100f565b610202610308366004611ac2565b611015565b6102e56110e7565b6101d16110f6565b61020261032b366004611ac2565b6110fc565b61020261033e366004611ac2565b611258565b6102e5611308565b610202610359366004611a4e565b611317565b6101d16113d8565b6101d16113de565b60715481565b606e5481565b6103826113e4565b6001600160a01b03166103936110e7565b6001600160a01b0316146103c25760405162461bcd60e51b81526004016103b990611fa5565b60405180910390fd5b6001600160a01b0381166103d557600080fd5b606580546001600160a01b0319166001600160a01b0392909216919091179055565b6000806000806000806000806000806000606560009054906101000a90046001600160a01b03166001600160a01b03166370a08231306040518263ffffffff1660e01b81526004016104499190611b0e565b60206040518083038186803b15801561046157600080fd5b505afa158015610475573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104999190611ada565b9a50606660009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156104e957600080fd5b505afa1580156104fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105219190611ada565b606754607054607154929c50909a50985096506001600160a01b038c1615610724576001600160a01b038c166000908152607260209081526040918290208251608081018452815480825260018301549382019390935260028201549381019390935260030154606083015296506105988d610c49565b9550606560009054906101000a90046001600160a01b03166001600160a01b03166370a082318e6040518263ffffffff1660e01b81526004016105db9190611b0e565b60206040518083038186803b1580156105f357600080fd5b505afa158015610607573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062b9190611ada565b9450606660009054906101000a90046001600160a01b03166001600160a01b03166370a082318e6040518263ffffffff1660e01b815260040161066e9190611b0e565b60206040518083038186803b15801561068657600080fd5b505afa15801561069a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106be9190611ada565b93508060600151925060004284116106d75760006106db565b606d545b606c546106e89190612195565b9050670de0b6b3a7640000886106ff8360186121cd565b61070b90610e106121cd565b61071591906121cd565b61071f91906121ad565b925050505b91939597999b90929496989a50565b60705481565b600081116107595760405162461bcd60e51b81526004016103b990611cca565b6000607260006107676113e4565b6001600160a01b03166001600160a01b03168152602001908152602001600020905081816000015410156107ad5760405162461bcd60e51b81526004016103b990611d84565b6107b5610950565b80546107c190836113e8565b808255606a546069546107de926107d89190611433565b90611478565b60018201554260028201556000600382018190556066546001600160a01b03166370a0823161080b6113e4565b6040518263ffffffff1660e01b81526004016108279190611b0e565b60206040518083038186803b15801561083f57600080fd5b505afa158015610853573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108779190611ada565b6066549091506001600160a01b03166379cc67906108936113e4565b836040518363ffffffff1660e01b81526004016108b1929190611b46565b600060405180830381600087803b1580156108cb57600080fd5b505af11580156108df573d6000803e3d6000fd5b505050506109016108ee6113e4565b6065546001600160a01b031690856114ba565b6109096113e4565b6001600160a01b03167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568848360405161094392919061211e565b60405180910390a2505050565b606b54421161095e57610a7b565b6065546040516370a0823160e01b81526001600160a01b03909116906370a082319061098e903090600401611b0e565b60206040518083038186803b1580156109a657600080fd5b505afa1580156109ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109de9190611ada565b6109eb5742606b55610a7b565b6000610a02606b54426113e890919063ffffffff16565b9050610a37610a2e606f546107d8606a54610a28606c548761143390919063ffffffff16565b90611433565b60695490611510565b606981905542606b8190556040517f80412ab714911d3162155311ed4cae780b01a7eb225a1a554126e1a443eeb41a92610a71929161211e565b60405180910390a1505b565b60726020526000908152604090208054600182015460028301546003909301549192909184565b600054610100900460ff1680610abd575060005460ff16155b610ad95760405162461bcd60e51b81526004016103b990611df5565b600054610100900460ff16158015610b04576000805460ff1961ff0019909116610100171660011790555b610b0c61153f565b6001600160a01b038316610b325760405162461bcd60e51b81526004016103b990611bfd565b6001600160a01b038216610b585760405162461bcd60e51b81526004016103b990611e43565b6ec097ce7bc90715b34b9f1000000000606e556298968060685561271060675560056070556213c680607155606580546001600160a01b038086166001600160a01b031992831617909255606680549285169290911691909117905568056bc75e2d63100000610bcc6301e13380826121ad565b606c819055606d555042606b55670de0b6b3a7640000606a819055606f558015610bfc576000805461ff00191690555b505050565b610c11610c0c6113e4565b6115c4565b610c2d5760405162461bcd60e51b81526004016103b99061206e565b610c35610950565b610a7b6115e1565b60685481565b60695481565b6000610c54826115c4565b610c6057506000610ead565b6001600160a01b0382166000908152607260209081526040808320815160808101835281548152600182015493810193909352600281015491830191909152600301546060820152606954606b5491929091610cbd9042906113e8565b90508015610cf357610cf0610ce9606f546107d8606a54610a28606c548761143390919063ffffffff16565b8390611510565b91505b6000610d208460200151610d1a606a546107d888600001518861143390919063ffffffff16565b906113e8565b905060008460600151600014610d9a57600085606001514211610d435742610d49565b85606001515b90506000610d648760400151836113e890919063ffffffff16565b90506000610d7d606d548361143390919063ffffffff16565b606f548951919250610d94916107d8908490611433565b93505050505b6000610da68383611510565b6066546040516370a0823160e01b81529192506000916001600160a01b03909116906370a0823190610ddc908c90600401611b0e565b60206040518083038186803b158015610df457600080fd5b505afa158015610e08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2c9190611ada565b6067548851919250600091610e4091611433565b905080610e4e836064611433565b10610e6457600098505050505050505050610ead565b80610e746064610a288587611510565b1115610ea257610e9360646107d8610e8c8583611433565b84906113e8565b98505050505050505050610ead565b509096505050505050505b919050565b606f5481565b606d5481565b610ec66113e4565b6001600160a01b0316610ed76110e7565b6001600160a01b031614610efd5760405162461bcd60e51b81526004016103b990611fa5565b6033546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3603380546001600160a01b0319169055565b610f4f6113e4565b6001600160a01b0316610f606110e7565b6001600160a01b031614610f865760405162461bcd60e51b81526004016103b990611fa5565b606e54811115610fa85760405162461bcd60e51b81526004016103b990611d27565b610fb0610950565b606c819055610fbd6113e4565b6001600160a01b03167f7a3757e022ddf5f97b7720d0a553aec06a2d27dd5cc9c954482ca643892f274f82604051610ff59190612115565b60405180910390a250565b6065546001600160a01b031681565b606a5481565b61101d6113e4565b6001600160a01b031661102e6110e7565b6001600160a01b0316146110545760405162461bcd60e51b81526004016103b990611fa5565b60675481116110755760405162461bcd60e51b81526004016103b990611e95565b801580159061108657506068548111155b6110a25760405162461bcd60e51b81526004016103b990611b92565b60678190556110af6113e4565b6001600160a01b03167f8d4a57ca749299886997ec990a3f4a210270c58d6f283d4728136ca62c17d1bf82604051610ff59190612115565b6033546001600160a01b031690565b60675481565b6000811161111c5760405162461bcd60e51b81526004016103b990611fda565b611124610950565b6000607260006111326113e4565b6001600160a01b03166001600160a01b03168152602001908152602001600020905061115f610c0c6113e4565b156111ab5761116c6115e1565b42600282015580546070546111819082611433565b61118c846064611433565b106111a55760715461119f904290611510565b60038301555b506111c5565b6071546111b9904290611510565b60038201554260028201555b80546111d19083611510565b808255606a546069546111e8926107d89190611433565b600182015561120c6111f86113e4565b6065546001600160a01b0316903085611711565b6112146113e4565b6001600160a01b03167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c8360405161124c9190612115565b60405180910390a25050565b6112606113e4565b6001600160a01b03166112716110e7565b6001600160a01b0316146112975760405162461bcd60e51b81526004016103b990611fa5565b80158015906112a7575060648111155b6112c35760405162461bcd60e51b81526004016103b990611f48565b60708190556112d06113e4565b6001600160a01b03167fa1363b6f08985047219996aa27aae9e783577d8bb8f96505eb639afe5247c15182604051610ff59190612115565b6066546001600160a01b031681565b61131f6113e4565b6001600160a01b03166113306110e7565b6001600160a01b0316146113565760405162461bcd60e51b81526004016103b990611fa5565b6001600160a01b03811661137c5760405162461bcd60e51b81526004016103b990611c4d565b6033546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3603380546001600160a01b0319166001600160a01b0392909216919091179055565b606c5481565b606b5481565b3390565b600061142a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611738565b90505b92915050565b6000826114425750600061142d565b600061144e83856121cd565b90508261145b85836121ad565b1461142a5760405162461bcd60e51b81526004016103b990611f07565b600061142a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611772565b610bfc8363a9059cbb60e01b84846040516024016114d9929190611b46565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526117a0565b60008061151d8385612195565b90508381101561142a5760405162461bcd60e51b81526004016103b990611c93565b600054610100900460ff1680611558575060005460ff16155b6115745760405162461bcd60e51b81526004016103b990611df5565b600054610100900460ff1615801561159f576000805460ff1961ff0019909116610100171660011790555b6115a761182f565b6115af6118a2565b80156115c1576000805461ff00191690555b50565b6001600160a01b0316600090815260726020526040902054151590565b60006115ee6102ad6113e4565b90506000607260006115fe6113e4565b6001600160a01b031681526020810191909152604001600020606a54815460695492935061162f926107d891611433565b600182015560038101541580159061164b575080600301544210155b1561165857600060038201555b811561170d574260028201556066546001600160a01b03166340c10f1961167d6113e4565b846040518363ffffffff1660e01b815260040161169b929190611b46565b600060405180830381600087803b1580156116b557600080fd5b505af11580156116c9573d6000803e3d6000fd5b505050506116d56113e4565b6001600160a01b03167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d48360405161124c9190612115565b5050565b611732846323b872dd60e01b8585856040516024016114d993929190611b22565b50505050565b6000818484111561175c5760405162461bcd60e51b81526004016103b99190611b5f565b50600061176984866121ec565b95945050505050565b600081836117935760405162461bcd60e51b81526004016103b99190611b5f565b50600061176984866121ad565b60006117f5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661196e9092919063ffffffff16565b805190915015610bfc57808060200190518101906118139190611a6a565b610bfc5760405162461bcd60e51b81526004016103b9906120cb565b600054610100900460ff1680611848575060005460ff16155b6118645760405162461bcd60e51b81526004016103b990611df5565b600054610100900460ff161580156115af576000805460ff1961ff00199091166101001716600117905580156115c1576000805461ff001916905550565b600054610100900460ff16806118bb575060005460ff16155b6118d75760405162461bcd60e51b81526004016103b990611df5565b600054610100900460ff16158015611902576000805460ff1961ff0019909116610100171660011790555b600061190c6113e4565b603380546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35080156115c1576000805461ff001916905550565b606061197d8484600085611985565b949350505050565b606061199085611a48565b6119ac5760405162461bcd60e51b81526004016103b990612037565b600080866001600160a01b031685876040516119c89190611af2565b60006040518083038185875af1925050503d8060008114611a05576040519150601f19603f3d011682016040523d82523d6000602084013e611a0a565b606091505b50915091508115611a1e57915061197d9050565b805115611a2e5780518082602001fd5b8360405162461bcd60e51b81526004016103b99190611b5f565b3b151590565b600060208284031215611a5f578081fd5b813561142a81612245565b600060208284031215611a7b578081fd5b8151801515811461142a578182fd5b60008060408385031215611a9c578081fd5b8235611aa781612245565b91506020830135611ab781612245565b809150509250929050565b600060208284031215611ad3578081fd5b5035919050565b600060208284031215611aeb578081fd5b5051919050565b60008251611b04818460208701612203565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6000602082528251806020840152611b7e816040850160208701612203565b601f01601f19169190910160400192915050565b60208082526045908201527f5665426561745374616b696e673a206578706563746564206e6577205f6d617860408201527f43617050637420746f206265206e6f6e2d7a65726f20616e64203c3d20313030606082015264030303030360dc1b608082015260a00190565b60208082526030908201527f5665426561745374616b696e673a20756e6578706563746564207a65726f206160408201526f19191c995cdcc8199bdc8817d899585d60821b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252603f908201527f5665426561745374616b696e673a20657870656374656420776974686472617760408201527f20616d6f756e7420746f2062652067726561746572207468616e207a65726f00606082015260800190565b6020808252603b908201527f5665426561745374616b696e673a206578706563746564205f7665426561745060408201527f6572536861726550657253656320746f206265203c3d20316533360000000000606082015260800190565b6020808252604b908201527f5665426561745374616b696e673a2063616e6e6f74207769746864726177206760408201527f72656174657220616d6f756e74206f662042656174207468616e20637572726560608201526a1b9d1b1e481cdd185ad95960aa1b608082015260a00190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b60208082526032908201527f5665426561745374616b696e673a20756e6578706563746564207a65726f206160408201527119191c995cdcc8199bdc8817dd995099585d60721b606082015260800190565b6020808252604c908201527f5665426561745374616b696e673a206578706563746564206e6577205f6d617860408201527f43617050637420746f2062652067726561746572207468616e2065786973746960608201526b1b99c81b585e10d85c1418dd60a21b608082015260a00190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252603e908201527f5665426561745374616b696e673a206578706563746564205f7370656564557060408201527f5468726573686f6c6420746f206265203e203020616e64203c3d203130300000606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252603e908201527f5665426561745374616b696e673a206578706563746564206465706f7369742060408201527f616d6f756e7420746f2062652067726561746572207468616e207a65726f0000606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60208082526039908201527f5665426561745374616b696e673a2063616e6e6f7420636c61696d207665426560408201527f6174207768656e206e6f2042656174206973207374616b656400000000000000606082015260800190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b90815260200190565b918252602082015260400190565b93845260208401929092526040830152606082015260800190565b9a8b5260208b019990995260408a01979097526060890195909552608088019390935260a087019190915260c086015260e08501526101008401526101208301526101408201526101600190565b600082198211156121a8576121a861222f565b500190565b6000826121c857634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156121e7576121e761222f565b500290565b6000828210156121fe576121fe61222f565b500390565b60005b8381101561221e578181015183820152602001612206565b838111156117325750506000910152565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146115c157600080fdfea26469706673582212209033ae0174fa40554b4f6981b7c0efc4ed5a35dbac5d4995be85320019262b7d64736f6c63430008000033","recompiledBytecode":"0x608060405234801561001057600080fd5b50612290806100206000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80636e836905116100f9578063b19a3b2c11610097578063e00daea811610071578063e00daea814610343578063f2fde38b1461034b578063f7015b281461035e578063f8077fae14610366576101c4565b8063b19a3b2c14610315578063b6b55f251461031d578063c39d13d214610330576101c4565b80637a259dba116100d35780637a259dba146102dd578063818d8d2c146102f25780638728ec17146102fa5780638da5cb5b1461030d576101c4565b80636e836905146102ba578063715018a6146102c2578063772c34b5146102ca576101c4565b806343b0215f1161016657806351f5958a1161014057806351f5958a1461028f5780636998e6ce146102975780636b1e7e6a1461029f5780636bc616b7146102b2576101c4565b806343b0215f14610251578063485cc955146102745780634e71d92d14610287576101c4565b806319c17d90116101a257806319c17d90146102045780632db9680a1461022e5780632e1a7d4d14610236578063328fa46114610249576101c4565b806301e02729146101c9578063131f979d146101e7578063133af166146101ef575b600080fd5b6101d161036e565b6040516101de9190612115565b60405180910390f35b6101d1610374565b6102026101fd366004611a4e565b61037a565b005b610217610212366004611a4e565b6103f7565b6040516101de9b9a99989796959493929190612147565b6101d1610733565b610202610244366004611ac2565b610739565b610202610950565b61026461025f366004611a4e565b610a7d565b6040516101de949392919061212c565b610202610282366004611a8a565b610aa4565b610202610c01565b6101d1610c3d565b6101d1610c43565b6101d16102ad366004611a4e565b610c49565b6101d1610eb2565b6101d1610eb8565b610202610ebe565b6102026102d8366004611ac2565b610f47565b6102e5611000565b6040516101de9190611b0e565b6101d161100f565b610202610308366004611ac2565b611015565b6102e56110e7565b6101d16110f6565b61020261032b366004611ac2565b6110fc565b61020261033e366004611ac2565b611258565b6102e5611308565b610202610359366004611a4e565b611317565b6101d16113d8565b6101d16113de565b60715481565b606e5481565b6103826113e4565b6001600160a01b03166103936110e7565b6001600160a01b0316146103c25760405162461bcd60e51b81526004016103b990611fa5565b60405180910390fd5b6001600160a01b0381166103d557600080fd5b606580546001600160a01b0319166001600160a01b0392909216919091179055565b6000806000806000806000806000806000606560009054906101000a90046001600160a01b03166001600160a01b03166370a08231306040518263ffffffff1660e01b81526004016104499190611b0e565b60206040518083038186803b15801561046157600080fd5b505afa158015610475573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104999190611ada565b9a50606660009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156104e957600080fd5b505afa1580156104fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105219190611ada565b606754607054607154929c50909a50985096506001600160a01b038c1615610724576001600160a01b038c166000908152607260209081526040918290208251608081018452815480825260018301549382019390935260028201549381019390935260030154606083015296506105988d610c49565b9550606560009054906101000a90046001600160a01b03166001600160a01b03166370a082318e6040518263ffffffff1660e01b81526004016105db9190611b0e565b60206040518083038186803b1580156105f357600080fd5b505afa158015610607573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062b9190611ada565b9450606660009054906101000a90046001600160a01b03166001600160a01b03166370a082318e6040518263ffffffff1660e01b815260040161066e9190611b0e565b60206040518083038186803b15801561068657600080fd5b505afa15801561069a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106be9190611ada565b93508060600151925060004284116106d75760006106db565b606d545b606c546106e89190612195565b9050670de0b6b3a7640000886106ff8360186121cd565b61070b90610e106121cd565b61071591906121cd565b61071f91906121ad565b925050505b91939597999b90929496989a50565b60705481565b600081116107595760405162461bcd60e51b81526004016103b990611cca565b6000607260006107676113e4565b6001600160a01b03166001600160a01b03168152602001908152602001600020905081816000015410156107ad5760405162461bcd60e51b81526004016103b990611d84565b6107b5610950565b80546107c190836113e8565b808255606a546069546107de926107d89190611433565b90611478565b60018201554260028201556000600382018190556066546001600160a01b03166370a0823161080b6113e4565b6040518263ffffffff1660e01b81526004016108279190611b0e565b60206040518083038186803b15801561083f57600080fd5b505afa158015610853573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108779190611ada565b6066549091506001600160a01b03166379cc67906108936113e4565b836040518363ffffffff1660e01b81526004016108b1929190611b46565b600060405180830381600087803b1580156108cb57600080fd5b505af11580156108df573d6000803e3d6000fd5b505050506109016108ee6113e4565b6065546001600160a01b031690856114ba565b6109096113e4565b6001600160a01b03167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568848360405161094392919061211e565b60405180910390a2505050565b606b54421161095e57610a7b565b6065546040516370a0823160e01b81526001600160a01b03909116906370a082319061098e903090600401611b0e565b60206040518083038186803b1580156109a657600080fd5b505afa1580156109ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109de9190611ada565b6109eb5742606b55610a7b565b6000610a02606b54426113e890919063ffffffff16565b9050610a37610a2e606f546107d8606a54610a28606c548761143390919063ffffffff16565b90611433565b60695490611510565b606981905542606b8190556040517f80412ab714911d3162155311ed4cae780b01a7eb225a1a554126e1a443eeb41a92610a71929161211e565b60405180910390a1505b565b60726020526000908152604090208054600182015460028301546003909301549192909184565b600054610100900460ff1680610abd575060005460ff16155b610ad95760405162461bcd60e51b81526004016103b990611df5565b600054610100900460ff16158015610b04576000805460ff1961ff0019909116610100171660011790555b610b0c61153f565b6001600160a01b038316610b325760405162461bcd60e51b81526004016103b990611bfd565b6001600160a01b038216610b585760405162461bcd60e51b81526004016103b990611e43565b6ec097ce7bc90715b34b9f1000000000606e556298968060685561271060675560056070556213c680607155606580546001600160a01b038086166001600160a01b031992831617909255606680549285169290911691909117905568056bc75e2d63100000610bcc6301e13380826121ad565b606c819055606d555042606b55670de0b6b3a7640000606a819055606f558015610bfc576000805461ff00191690555b505050565b610c11610c0c6113e4565b6115c4565b610c2d5760405162461bcd60e51b81526004016103b99061206e565b610c35610950565b610a7b6115e1565b60685481565b60695481565b6000610c54826115c4565b610c6057506000610ead565b6001600160a01b0382166000908152607260209081526040808320815160808101835281548152600182015493810193909352600281015491830191909152600301546060820152606954606b5491929091610cbd9042906113e8565b90508015610cf357610cf0610ce9606f546107d8606a54610a28606c548761143390919063ffffffff16565b8390611510565b91505b6000610d208460200151610d1a606a546107d888600001518861143390919063ffffffff16565b906113e8565b905060008460600151600014610d9a57600085606001514211610d435742610d49565b85606001515b90506000610d648760400151836113e890919063ffffffff16565b90506000610d7d606d548361143390919063ffffffff16565b606f548951919250610d94916107d8908490611433565b93505050505b6000610da68383611510565b6066546040516370a0823160e01b81529192506000916001600160a01b03909116906370a0823190610ddc908c90600401611b0e565b60206040518083038186803b158015610df457600080fd5b505afa158015610e08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2c9190611ada565b6067548851919250600091610e4091611433565b905080610e4e836064611433565b10610e6457600098505050505050505050610ead565b80610e746064610a288587611510565b1115610ea257610e9360646107d8610e8c8583611433565b84906113e8565b98505050505050505050610ead565b509096505050505050505b919050565b606f5481565b606d5481565b610ec66113e4565b6001600160a01b0316610ed76110e7565b6001600160a01b031614610efd5760405162461bcd60e51b81526004016103b990611fa5565b6033546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3603380546001600160a01b0319169055565b610f4f6113e4565b6001600160a01b0316610f606110e7565b6001600160a01b031614610f865760405162461bcd60e51b81526004016103b990611fa5565b606e54811115610fa85760405162461bcd60e51b81526004016103b990611d27565b610fb0610950565b606c819055610fbd6113e4565b6001600160a01b03167f7a3757e022ddf5f97b7720d0a553aec06a2d27dd5cc9c954482ca643892f274f82604051610ff59190612115565b60405180910390a250565b6065546001600160a01b031681565b606a5481565b61101d6113e4565b6001600160a01b031661102e6110e7565b6001600160a01b0316146110545760405162461bcd60e51b81526004016103b990611fa5565b60675481116110755760405162461bcd60e51b81526004016103b990611e95565b801580159061108657506068548111155b6110a25760405162461bcd60e51b81526004016103b990611b92565b60678190556110af6113e4565b6001600160a01b03167f8d4a57ca749299886997ec990a3f4a210270c58d6f283d4728136ca62c17d1bf82604051610ff59190612115565b6033546001600160a01b031690565b60675481565b6000811161111c5760405162461bcd60e51b81526004016103b990611fda565b611124610950565b6000607260006111326113e4565b6001600160a01b03166001600160a01b03168152602001908152602001600020905061115f610c0c6113e4565b156111ab5761116c6115e1565b42600282015580546070546111819082611433565b61118c846064611433565b106111a55760715461119f904290611510565b60038301555b506111c5565b6071546111b9904290611510565b60038201554260028201555b80546111d19083611510565b808255606a546069546111e8926107d89190611433565b600182015561120c6111f86113e4565b6065546001600160a01b0316903085611711565b6112146113e4565b6001600160a01b03167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c8360405161124c9190612115565b60405180910390a25050565b6112606113e4565b6001600160a01b03166112716110e7565b6001600160a01b0316146112975760405162461bcd60e51b81526004016103b990611fa5565b80158015906112a7575060648111155b6112c35760405162461bcd60e51b81526004016103b990611f48565b60708190556112d06113e4565b6001600160a01b03167fa1363b6f08985047219996aa27aae9e783577d8bb8f96505eb639afe5247c15182604051610ff59190612115565b6066546001600160a01b031681565b61131f6113e4565b6001600160a01b03166113306110e7565b6001600160a01b0316146113565760405162461bcd60e51b81526004016103b990611fa5565b6001600160a01b03811661137c5760405162461bcd60e51b81526004016103b990611c4d565b6033546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3603380546001600160a01b0319166001600160a01b0392909216919091179055565b606c5481565b606b5481565b3390565b600061142a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611738565b90505b92915050565b6000826114425750600061142d565b600061144e83856121cd565b90508261145b85836121ad565b1461142a5760405162461bcd60e51b81526004016103b990611f07565b600061142a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611772565b610bfc8363a9059cbb60e01b84846040516024016114d9929190611b46565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526117a0565b60008061151d8385612195565b90508381101561142a5760405162461bcd60e51b81526004016103b990611c93565b600054610100900460ff1680611558575060005460ff16155b6115745760405162461bcd60e51b81526004016103b990611df5565b600054610100900460ff1615801561159f576000805460ff1961ff0019909116610100171660011790555b6115a761182f565b6115af6118a2565b80156115c1576000805461ff00191690555b50565b6001600160a01b0316600090815260726020526040902054151590565b60006115ee6102ad6113e4565b90506000607260006115fe6113e4565b6001600160a01b031681526020810191909152604001600020606a54815460695492935061162f926107d891611433565b600182015560038101541580159061164b575080600301544210155b1561165857600060038201555b811561170d574260028201556066546001600160a01b03166340c10f1961167d6113e4565b846040518363ffffffff1660e01b815260040161169b929190611b46565b600060405180830381600087803b1580156116b557600080fd5b505af11580156116c9573d6000803e3d6000fd5b505050506116d56113e4565b6001600160a01b03167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d48360405161124c9190612115565b5050565b611732846323b872dd60e01b8585856040516024016114d993929190611b22565b50505050565b6000818484111561175c5760405162461bcd60e51b81526004016103b99190611b5f565b50600061176984866121ec565b95945050505050565b600081836117935760405162461bcd60e51b81526004016103b99190611b5f565b50600061176984866121ad565b60006117f5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661196e9092919063ffffffff16565b805190915015610bfc57808060200190518101906118139190611a6a565b610bfc5760405162461bcd60e51b81526004016103b9906120cb565b600054610100900460ff1680611848575060005460ff16155b6118645760405162461bcd60e51b81526004016103b990611df5565b600054610100900460ff161580156115af576000805460ff1961ff00199091166101001716600117905580156115c1576000805461ff001916905550565b600054610100900460ff16806118bb575060005460ff16155b6118d75760405162461bcd60e51b81526004016103b990611df5565b600054610100900460ff16158015611902576000805460ff1961ff0019909116610100171660011790555b600061190c6113e4565b603380546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35080156115c1576000805461ff001916905550565b606061197d8484600085611985565b949350505050565b606061199085611a48565b6119ac5760405162461bcd60e51b81526004016103b990612037565b600080866001600160a01b031685876040516119c89190611af2565b60006040518083038185875af1925050503d8060008114611a05576040519150601f19603f3d011682016040523d82523d6000602084013e611a0a565b606091505b50915091508115611a1e57915061197d9050565b805115611a2e5780518082602001fd5b8360405162461bcd60e51b81526004016103b99190611b5f565b3b151590565b600060208284031215611a5f578081fd5b813561142a81612245565b600060208284031215611a7b578081fd5b8151801515811461142a578182fd5b60008060408385031215611a9c578081fd5b8235611aa781612245565b91506020830135611ab781612245565b809150509250929050565b600060208284031215611ad3578081fd5b5035919050565b600060208284031215611aeb578081fd5b5051919050565b60008251611b04818460208701612203565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6000602082528251806020840152611b7e816040850160208701612203565b601f01601f19169190910160400192915050565b60208082526045908201527f5665426561745374616b696e673a206578706563746564206e6577205f6d617860408201527f43617050637420746f206265206e6f6e2d7a65726f20616e64203c3d20313030606082015264030303030360dc1b608082015260a00190565b60208082526030908201527f5665426561745374616b696e673a20756e6578706563746564207a65726f206160408201526f19191c995cdcc8199bdc8817d899585d60821b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252603f908201527f5665426561745374616b696e673a20657870656374656420776974686472617760408201527f20616d6f756e7420746f2062652067726561746572207468616e207a65726f00606082015260800190565b6020808252603b908201527f5665426561745374616b696e673a206578706563746564205f7665426561745060408201527f6572536861726550657253656320746f206265203c3d20316533360000000000606082015260800190565b6020808252604b908201527f5665426561745374616b696e673a2063616e6e6f74207769746864726177206760408201527f72656174657220616d6f756e74206f662042656174207468616e20637572726560608201526a1b9d1b1e481cdd185ad95960aa1b608082015260a00190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b60208082526032908201527f5665426561745374616b696e673a20756e6578706563746564207a65726f206160408201527119191c995cdcc8199bdc8817dd995099585d60721b606082015260800190565b6020808252604c908201527f5665426561745374616b696e673a206578706563746564206e6577205f6d617860408201527f43617050637420746f2062652067726561746572207468616e2065786973746960608201526b1b99c81b585e10d85c1418dd60a21b608082015260a00190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252603e908201527f5665426561745374616b696e673a206578706563746564205f7370656564557060408201527f5468726573686f6c6420746f206265203e203020616e64203c3d203130300000606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252603e908201527f5665426561745374616b696e673a206578706563746564206465706f7369742060408201527f616d6f756e7420746f2062652067726561746572207468616e207a65726f0000606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60208082526039908201527f5665426561745374616b696e673a2063616e6e6f7420636c61696d207665426560408201527f6174207768656e206e6f2042656174206973207374616b656400000000000000606082015260800190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b90815260200190565b918252602082015260400190565b93845260208401929092526040830152606082015260800190565b9a8b5260208b019990995260408a01979097526060890195909552608088019390935260a087019190915260c086015260e08501526101008401526101208301526101408201526101600190565b600082198211156121a8576121a861222f565b500190565b6000826121c857634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156121e7576121e761222f565b500290565b6000828210156121fe576121fe61222f565b500390565b60005b8381101561221e578181015183820152602001612206565b838111156117325750506000910152565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146115c157600080fdfea26469706673582212209033ae0174fa40554b4f6981b7c0efc4ed5a35dbac5d4995be85320019262b7d64736f6c63430008000033","sourceMap":"449:15231:5:-:0;;;;;;;;;;;;;;;;;;;","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa26469706673582212209033ae0174fa40554b4f6981b7c0efc4ed5a35dbac5d4995be85320019262b7d64736f6c63430008000033","offset":8827}},"transformations":[],"transformationValues":{}},"runtimeBytecode":{"onchainBytecode":"0x608060405234801561001057600080fd5b50600436106101c45760003560e01c80636e836905116100f9578063b19a3b2c11610097578063e00daea811610071578063e00daea814610343578063f2fde38b1461034b578063f7015b281461035e578063f8077fae14610366576101c4565b8063b19a3b2c14610315578063b6b55f251461031d578063c39d13d214610330576101c4565b80637a259dba116100d35780637a259dba146102dd578063818d8d2c146102f25780638728ec17146102fa5780638da5cb5b1461030d576101c4565b80636e836905146102ba578063715018a6146102c2578063772c34b5146102ca576101c4565b806343b0215f1161016657806351f5958a1161014057806351f5958a1461028f5780636998e6ce146102975780636b1e7e6a1461029f5780636bc616b7146102b2576101c4565b806343b0215f14610251578063485cc955146102745780634e71d92d14610287576101c4565b806319c17d90116101a257806319c17d90146102045780632db9680a1461022e5780632e1a7d4d14610236578063328fa46114610249576101c4565b806301e02729146101c9578063131f979d146101e7578063133af166146101ef575b600080fd5b6101d161036e565b6040516101de9190612115565b60405180910390f35b6101d1610374565b6102026101fd366004611a4e565b61037a565b005b610217610212366004611a4e565b6103f7565b6040516101de9b9a99989796959493929190612147565b6101d1610733565b610202610244366004611ac2565b610739565b610202610950565b61026461025f366004611a4e565b610a7d565b6040516101de949392919061212c565b610202610282366004611a8a565b610aa4565b610202610c01565b6101d1610c3d565b6101d1610c43565b6101d16102ad366004611a4e565b610c49565b6101d1610eb2565b6101d1610eb8565b610202610ebe565b6102026102d8366004611ac2565b610f47565b6102e5611000565b6040516101de9190611b0e565b6101d161100f565b610202610308366004611ac2565b611015565b6102e56110e7565b6101d16110f6565b61020261032b366004611ac2565b6110fc565b61020261033e366004611ac2565b611258565b6102e5611308565b610202610359366004611a4e565b611317565b6101d16113d8565b6101d16113de565b60715481565b606e5481565b6103826113e4565b6001600160a01b03166103936110e7565b6001600160a01b0316146103c25760405162461bcd60e51b81526004016103b990611fa5565b60405180910390fd5b6001600160a01b0381166103d557600080fd5b606580546001600160a01b0319166001600160a01b0392909216919091179055565b6000806000806000806000806000806000606560009054906101000a90046001600160a01b03166001600160a01b03166370a08231306040518263ffffffff1660e01b81526004016104499190611b0e565b60206040518083038186803b15801561046157600080fd5b505afa158015610475573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104999190611ada565b9a50606660009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156104e957600080fd5b505afa1580156104fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105219190611ada565b606754607054607154929c50909a50985096506001600160a01b038c1615610724576001600160a01b038c166000908152607260209081526040918290208251608081018452815480825260018301549382019390935260028201549381019390935260030154606083015296506105988d610c49565b9550606560009054906101000a90046001600160a01b03166001600160a01b03166370a082318e6040518263ffffffff1660e01b81526004016105db9190611b0e565b60206040518083038186803b1580156105f357600080fd5b505afa158015610607573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062b9190611ada565b9450606660009054906101000a90046001600160a01b03166001600160a01b03166370a082318e6040518263ffffffff1660e01b815260040161066e9190611b0e565b60206040518083038186803b15801561068657600080fd5b505afa15801561069a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106be9190611ada565b93508060600151925060004284116106d75760006106db565b606d545b606c546106e89190612195565b9050670de0b6b3a7640000886106ff8360186121cd565b61070b90610e106121cd565b61071591906121cd565b61071f91906121ad565b925050505b91939597999b90929496989a50565b60705481565b600081116107595760405162461bcd60e51b81526004016103b990611cca565b6000607260006107676113e4565b6001600160a01b03166001600160a01b03168152602001908152602001600020905081816000015410156107ad5760405162461bcd60e51b81526004016103b990611d84565b6107b5610950565b80546107c190836113e8565b808255606a546069546107de926107d89190611433565b90611478565b60018201554260028201556000600382018190556066546001600160a01b03166370a0823161080b6113e4565b6040518263ffffffff1660e01b81526004016108279190611b0e565b60206040518083038186803b15801561083f57600080fd5b505afa158015610853573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108779190611ada565b6066549091506001600160a01b03166379cc67906108936113e4565b836040518363ffffffff1660e01b81526004016108b1929190611b46565b600060405180830381600087803b1580156108cb57600080fd5b505af11580156108df573d6000803e3d6000fd5b505050506109016108ee6113e4565b6065546001600160a01b031690856114ba565b6109096113e4565b6001600160a01b03167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568848360405161094392919061211e565b60405180910390a2505050565b606b54421161095e57610a7b565b6065546040516370a0823160e01b81526001600160a01b03909116906370a082319061098e903090600401611b0e565b60206040518083038186803b1580156109a657600080fd5b505afa1580156109ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109de9190611ada565b6109eb5742606b55610a7b565b6000610a02606b54426113e890919063ffffffff16565b9050610a37610a2e606f546107d8606a54610a28606c548761143390919063ffffffff16565b90611433565b60695490611510565b606981905542606b8190556040517f80412ab714911d3162155311ed4cae780b01a7eb225a1a554126e1a443eeb41a92610a71929161211e565b60405180910390a1505b565b60726020526000908152604090208054600182015460028301546003909301549192909184565b600054610100900460ff1680610abd575060005460ff16155b610ad95760405162461bcd60e51b81526004016103b990611df5565b600054610100900460ff16158015610b04576000805460ff1961ff0019909116610100171660011790555b610b0c61153f565b6001600160a01b038316610b325760405162461bcd60e51b81526004016103b990611bfd565b6001600160a01b038216610b585760405162461bcd60e51b81526004016103b990611e43565b6ec097ce7bc90715b34b9f1000000000606e556298968060685561271060675560056070556213c680607155606580546001600160a01b038086166001600160a01b031992831617909255606680549285169290911691909117905568056bc75e2d63100000610bcc6301e13380826121ad565b606c819055606d555042606b55670de0b6b3a7640000606a819055606f558015610bfc576000805461ff00191690555b505050565b610c11610c0c6113e4565b6115c4565b610c2d5760405162461bcd60e51b81526004016103b99061206e565b610c35610950565b610a7b6115e1565b60685481565b60695481565b6000610c54826115c4565b610c6057506000610ead565b6001600160a01b0382166000908152607260209081526040808320815160808101835281548152600182015493810193909352600281015491830191909152600301546060820152606954606b5491929091610cbd9042906113e8565b90508015610cf357610cf0610ce9606f546107d8606a54610a28606c548761143390919063ffffffff16565b8390611510565b91505b6000610d208460200151610d1a606a546107d888600001518861143390919063ffffffff16565b906113e8565b905060008460600151600014610d9a57600085606001514211610d435742610d49565b85606001515b90506000610d648760400151836113e890919063ffffffff16565b90506000610d7d606d548361143390919063ffffffff16565b606f548951919250610d94916107d8908490611433565b93505050505b6000610da68383611510565b6066546040516370a0823160e01b81529192506000916001600160a01b03909116906370a0823190610ddc908c90600401611b0e565b60206040518083038186803b158015610df457600080fd5b505afa158015610e08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2c9190611ada565b6067548851919250600091610e4091611433565b905080610e4e836064611433565b10610e6457600098505050505050505050610ead565b80610e746064610a288587611510565b1115610ea257610e9360646107d8610e8c8583611433565b84906113e8565b98505050505050505050610ead565b509096505050505050505b919050565b606f5481565b606d5481565b610ec66113e4565b6001600160a01b0316610ed76110e7565b6001600160a01b031614610efd5760405162461bcd60e51b81526004016103b990611fa5565b6033546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3603380546001600160a01b0319169055565b610f4f6113e4565b6001600160a01b0316610f606110e7565b6001600160a01b031614610f865760405162461bcd60e51b81526004016103b990611fa5565b606e54811115610fa85760405162461bcd60e51b81526004016103b990611d27565b610fb0610950565b606c819055610fbd6113e4565b6001600160a01b03167f7a3757e022ddf5f97b7720d0a553aec06a2d27dd5cc9c954482ca643892f274f82604051610ff59190612115565b60405180910390a250565b6065546001600160a01b031681565b606a5481565b61101d6113e4565b6001600160a01b031661102e6110e7565b6001600160a01b0316146110545760405162461bcd60e51b81526004016103b990611fa5565b60675481116110755760405162461bcd60e51b81526004016103b990611e95565b801580159061108657506068548111155b6110a25760405162461bcd60e51b81526004016103b990611b92565b60678190556110af6113e4565b6001600160a01b03167f8d4a57ca749299886997ec990a3f4a210270c58d6f283d4728136ca62c17d1bf82604051610ff59190612115565b6033546001600160a01b031690565b60675481565b6000811161111c5760405162461bcd60e51b81526004016103b990611fda565b611124610950565b6000607260006111326113e4565b6001600160a01b03166001600160a01b03168152602001908152602001600020905061115f610c0c6113e4565b156111ab5761116c6115e1565b42600282015580546070546111819082611433565b61118c846064611433565b106111a55760715461119f904290611510565b60038301555b506111c5565b6071546111b9904290611510565b60038201554260028201555b80546111d19083611510565b808255606a546069546111e8926107d89190611433565b600182015561120c6111f86113e4565b6065546001600160a01b0316903085611711565b6112146113e4565b6001600160a01b03167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c8360405161124c9190612115565b60405180910390a25050565b6112606113e4565b6001600160a01b03166112716110e7565b6001600160a01b0316146112975760405162461bcd60e51b81526004016103b990611fa5565b80158015906112a7575060648111155b6112c35760405162461bcd60e51b81526004016103b990611f48565b60708190556112d06113e4565b6001600160a01b03167fa1363b6f08985047219996aa27aae9e783577d8bb8f96505eb639afe5247c15182604051610ff59190612115565b6066546001600160a01b031681565b61131f6113e4565b6001600160a01b03166113306110e7565b6001600160a01b0316146113565760405162461bcd60e51b81526004016103b990611fa5565b6001600160a01b03811661137c5760405162461bcd60e51b81526004016103b990611c4d565b6033546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3603380546001600160a01b0319166001600160a01b0392909216919091179055565b606c5481565b606b5481565b3390565b600061142a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611738565b90505b92915050565b6000826114425750600061142d565b600061144e83856121cd565b90508261145b85836121ad565b1461142a5760405162461bcd60e51b81526004016103b990611f07565b600061142a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611772565b610bfc8363a9059cbb60e01b84846040516024016114d9929190611b46565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526117a0565b60008061151d8385612195565b90508381101561142a5760405162461bcd60e51b81526004016103b990611c93565b600054610100900460ff1680611558575060005460ff16155b6115745760405162461bcd60e51b81526004016103b990611df5565b600054610100900460ff1615801561159f576000805460ff1961ff0019909116610100171660011790555b6115a761182f565b6115af6118a2565b80156115c1576000805461ff00191690555b50565b6001600160a01b0316600090815260726020526040902054151590565b60006115ee6102ad6113e4565b90506000607260006115fe6113e4565b6001600160a01b031681526020810191909152604001600020606a54815460695492935061162f926107d891611433565b600182015560038101541580159061164b575080600301544210155b1561165857600060038201555b811561170d574260028201556066546001600160a01b03166340c10f1961167d6113e4565b846040518363ffffffff1660e01b815260040161169b929190611b46565b600060405180830381600087803b1580156116b557600080fd5b505af11580156116c9573d6000803e3d6000fd5b505050506116d56113e4565b6001600160a01b03167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d48360405161124c9190612115565b5050565b611732846323b872dd60e01b8585856040516024016114d993929190611b22565b50505050565b6000818484111561175c5760405162461bcd60e51b81526004016103b99190611b5f565b50600061176984866121ec565b95945050505050565b600081836117935760405162461bcd60e51b81526004016103b99190611b5f565b50600061176984866121ad565b60006117f5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661196e9092919063ffffffff16565b805190915015610bfc57808060200190518101906118139190611a6a565b610bfc5760405162461bcd60e51b81526004016103b9906120cb565b600054610100900460ff1680611848575060005460ff16155b6118645760405162461bcd60e51b81526004016103b990611df5565b600054610100900460ff161580156115af576000805460ff1961ff00199091166101001716600117905580156115c1576000805461ff001916905550565b600054610100900460ff16806118bb575060005460ff16155b6118d75760405162461bcd60e51b81526004016103b990611df5565b600054610100900460ff16158015611902576000805460ff1961ff0019909116610100171660011790555b600061190c6113e4565b603380546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35080156115c1576000805461ff001916905550565b606061197d8484600085611985565b949350505050565b606061199085611a48565b6119ac5760405162461bcd60e51b81526004016103b990612037565b600080866001600160a01b031685876040516119c89190611af2565b60006040518083038185875af1925050503d8060008114611a05576040519150601f19603f3d011682016040523d82523d6000602084013e611a0a565b606091505b50915091508115611a1e57915061197d9050565b805115611a2e5780518082602001fd5b8360405162461bcd60e51b81526004016103b99190611b5f565b3b151590565b600060208284031215611a5f578081fd5b813561142a81612245565b600060208284031215611a7b578081fd5b8151801515811461142a578182fd5b60008060408385031215611a9c578081fd5b8235611aa781612245565b91506020830135611ab781612245565b809150509250929050565b600060208284031215611ad3578081fd5b5035919050565b600060208284031215611aeb578081fd5b5051919050565b60008251611b04818460208701612203565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6000602082528251806020840152611b7e816040850160208701612203565b601f01601f19169190910160400192915050565b60208082526045908201527f5665426561745374616b696e673a206578706563746564206e6577205f6d617860408201527f43617050637420746f206265206e6f6e2d7a65726f20616e64203c3d20313030606082015264030303030360dc1b608082015260a00190565b60208082526030908201527f5665426561745374616b696e673a20756e6578706563746564207a65726f206160408201526f19191c995cdcc8199bdc8817d899585d60821b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252603f908201527f5665426561745374616b696e673a20657870656374656420776974686472617760408201527f20616d6f756e7420746f2062652067726561746572207468616e207a65726f00606082015260800190565b6020808252603b908201527f5665426561745374616b696e673a206578706563746564205f7665426561745060408201527f6572536861726550657253656320746f206265203c3d20316533360000000000606082015260800190565b6020808252604b908201527f5665426561745374616b696e673a2063616e6e6f74207769746864726177206760408201527f72656174657220616d6f756e74206f662042656174207468616e20637572726560608201526a1b9d1b1e481cdd185ad95960aa1b608082015260a00190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b60208082526032908201527f5665426561745374616b696e673a20756e6578706563746564207a65726f206160408201527119191c995cdcc8199bdc8817dd995099585d60721b606082015260800190565b6020808252604c908201527f5665426561745374616b696e673a206578706563746564206e6577205f6d617860408201527f43617050637420746f2062652067726561746572207468616e2065786973746960608201526b1b99c81b585e10d85c1418dd60a21b608082015260a00190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252603e908201527f5665426561745374616b696e673a206578706563746564205f7370656564557060408201527f5468726573686f6c6420746f206265203e203020616e64203c3d203130300000606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252603e908201527f5665426561745374616b696e673a206578706563746564206465706f7369742060408201527f616d6f756e7420746f2062652067726561746572207468616e207a65726f0000606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60208082526039908201527f5665426561745374616b696e673a2063616e6e6f7420636c61696d207665426560408201527f6174207768656e206e6f2042656174206973207374616b656400000000000000606082015260800190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b90815260200190565b918252602082015260400190565b93845260208401929092526040830152606082015260800190565b9a8b5260208b019990995260408a01979097526060890195909552608088019390935260a087019190915260c086015260e08501526101008401526101208301526101408201526101600190565b600082198211156121a8576121a861222f565b500190565b6000826121c857634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156121e7576121e761222f565b500290565b6000828210156121fe576121fe61222f565b500390565b60005b8381101561221e578181015183820152602001612206565b838111156117325750506000910152565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146115c157600080fdfea26469706673582212209033ae0174fa40554b4f6981b7c0efc4ed5a35dbac5d4995be85320019262b7d64736f6c63430008000033","recompiledBytecode":"0x608060405234801561001057600080fd5b50600436106101c45760003560e01c80636e836905116100f9578063b19a3b2c11610097578063e00daea811610071578063e00daea814610343578063f2fde38b1461034b578063f7015b281461035e578063f8077fae14610366576101c4565b8063b19a3b2c14610315578063b6b55f251461031d578063c39d13d214610330576101c4565b80637a259dba116100d35780637a259dba146102dd578063818d8d2c146102f25780638728ec17146102fa5780638da5cb5b1461030d576101c4565b80636e836905146102ba578063715018a6146102c2578063772c34b5146102ca576101c4565b806343b0215f1161016657806351f5958a1161014057806351f5958a1461028f5780636998e6ce146102975780636b1e7e6a1461029f5780636bc616b7146102b2576101c4565b806343b0215f14610251578063485cc955146102745780634e71d92d14610287576101c4565b806319c17d90116101a257806319c17d90146102045780632db9680a1461022e5780632e1a7d4d14610236578063328fa46114610249576101c4565b806301e02729146101c9578063131f979d146101e7578063133af166146101ef575b600080fd5b6101d161036e565b6040516101de9190612115565b60405180910390f35b6101d1610374565b6102026101fd366004611a4e565b61037a565b005b610217610212366004611a4e565b6103f7565b6040516101de9b9a99989796959493929190612147565b6101d1610733565b610202610244366004611ac2565b610739565b610202610950565b61026461025f366004611a4e565b610a7d565b6040516101de949392919061212c565b610202610282366004611a8a565b610aa4565b610202610c01565b6101d1610c3d565b6101d1610c43565b6101d16102ad366004611a4e565b610c49565b6101d1610eb2565b6101d1610eb8565b610202610ebe565b6102026102d8366004611ac2565b610f47565b6102e5611000565b6040516101de9190611b0e565b6101d161100f565b610202610308366004611ac2565b611015565b6102e56110e7565b6101d16110f6565b61020261032b366004611ac2565b6110fc565b61020261033e366004611ac2565b611258565b6102e5611308565b610202610359366004611a4e565b611317565b6101d16113d8565b6101d16113de565b60715481565b606e5481565b6103826113e4565b6001600160a01b03166103936110e7565b6001600160a01b0316146103c25760405162461bcd60e51b81526004016103b990611fa5565b60405180910390fd5b6001600160a01b0381166103d557600080fd5b606580546001600160a01b0319166001600160a01b0392909216919091179055565b6000806000806000806000806000806000606560009054906101000a90046001600160a01b03166001600160a01b03166370a08231306040518263ffffffff1660e01b81526004016104499190611b0e565b60206040518083038186803b15801561046157600080fd5b505afa158015610475573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104999190611ada565b9a50606660009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156104e957600080fd5b505afa1580156104fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105219190611ada565b606754607054607154929c50909a50985096506001600160a01b038c1615610724576001600160a01b038c166000908152607260209081526040918290208251608081018452815480825260018301549382019390935260028201549381019390935260030154606083015296506105988d610c49565b9550606560009054906101000a90046001600160a01b03166001600160a01b03166370a082318e6040518263ffffffff1660e01b81526004016105db9190611b0e565b60206040518083038186803b1580156105f357600080fd5b505afa158015610607573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062b9190611ada565b9450606660009054906101000a90046001600160a01b03166001600160a01b03166370a082318e6040518263ffffffff1660e01b815260040161066e9190611b0e565b60206040518083038186803b15801561068657600080fd5b505afa15801561069a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106be9190611ada565b93508060600151925060004284116106d75760006106db565b606d545b606c546106e89190612195565b9050670de0b6b3a7640000886106ff8360186121cd565b61070b90610e106121cd565b61071591906121cd565b61071f91906121ad565b925050505b91939597999b90929496989a50565b60705481565b600081116107595760405162461bcd60e51b81526004016103b990611cca565b6000607260006107676113e4565b6001600160a01b03166001600160a01b03168152602001908152602001600020905081816000015410156107ad5760405162461bcd60e51b81526004016103b990611d84565b6107b5610950565b80546107c190836113e8565b808255606a546069546107de926107d89190611433565b90611478565b60018201554260028201556000600382018190556066546001600160a01b03166370a0823161080b6113e4565b6040518263ffffffff1660e01b81526004016108279190611b0e565b60206040518083038186803b15801561083f57600080fd5b505afa158015610853573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108779190611ada565b6066549091506001600160a01b03166379cc67906108936113e4565b836040518363ffffffff1660e01b81526004016108b1929190611b46565b600060405180830381600087803b1580156108cb57600080fd5b505af11580156108df573d6000803e3d6000fd5b505050506109016108ee6113e4565b6065546001600160a01b031690856114ba565b6109096113e4565b6001600160a01b03167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568848360405161094392919061211e565b60405180910390a2505050565b606b54421161095e57610a7b565b6065546040516370a0823160e01b81526001600160a01b03909116906370a082319061098e903090600401611b0e565b60206040518083038186803b1580156109a657600080fd5b505afa1580156109ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109de9190611ada565b6109eb5742606b55610a7b565b6000610a02606b54426113e890919063ffffffff16565b9050610a37610a2e606f546107d8606a54610a28606c548761143390919063ffffffff16565b90611433565b60695490611510565b606981905542606b8190556040517f80412ab714911d3162155311ed4cae780b01a7eb225a1a554126e1a443eeb41a92610a71929161211e565b60405180910390a1505b565b60726020526000908152604090208054600182015460028301546003909301549192909184565b600054610100900460ff1680610abd575060005460ff16155b610ad95760405162461bcd60e51b81526004016103b990611df5565b600054610100900460ff16158015610b04576000805460ff1961ff0019909116610100171660011790555b610b0c61153f565b6001600160a01b038316610b325760405162461bcd60e51b81526004016103b990611bfd565b6001600160a01b038216610b585760405162461bcd60e51b81526004016103b990611e43565b6ec097ce7bc90715b34b9f1000000000606e556298968060685561271060675560056070556213c680607155606580546001600160a01b038086166001600160a01b031992831617909255606680549285169290911691909117905568056bc75e2d63100000610bcc6301e13380826121ad565b606c819055606d555042606b55670de0b6b3a7640000606a819055606f558015610bfc576000805461ff00191690555b505050565b610c11610c0c6113e4565b6115c4565b610c2d5760405162461bcd60e51b81526004016103b99061206e565b610c35610950565b610a7b6115e1565b60685481565b60695481565b6000610c54826115c4565b610c6057506000610ead565b6001600160a01b0382166000908152607260209081526040808320815160808101835281548152600182015493810193909352600281015491830191909152600301546060820152606954606b5491929091610cbd9042906113e8565b90508015610cf357610cf0610ce9606f546107d8606a54610a28606c548761143390919063ffffffff16565b8390611510565b91505b6000610d208460200151610d1a606a546107d888600001518861143390919063ffffffff16565b906113e8565b905060008460600151600014610d9a57600085606001514211610d435742610d49565b85606001515b90506000610d648760400151836113e890919063ffffffff16565b90506000610d7d606d548361143390919063ffffffff16565b606f548951919250610d94916107d8908490611433565b93505050505b6000610da68383611510565b6066546040516370a0823160e01b81529192506000916001600160a01b03909116906370a0823190610ddc908c90600401611b0e565b60206040518083038186803b158015610df457600080fd5b505afa158015610e08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2c9190611ada565b6067548851919250600091610e4091611433565b905080610e4e836064611433565b10610e6457600098505050505050505050610ead565b80610e746064610a288587611510565b1115610ea257610e9360646107d8610e8c8583611433565b84906113e8565b98505050505050505050610ead565b509096505050505050505b919050565b606f5481565b606d5481565b610ec66113e4565b6001600160a01b0316610ed76110e7565b6001600160a01b031614610efd5760405162461bcd60e51b81526004016103b990611fa5565b6033546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3603380546001600160a01b0319169055565b610f4f6113e4565b6001600160a01b0316610f606110e7565b6001600160a01b031614610f865760405162461bcd60e51b81526004016103b990611fa5565b606e54811115610fa85760405162461bcd60e51b81526004016103b990611d27565b610fb0610950565b606c819055610fbd6113e4565b6001600160a01b03167f7a3757e022ddf5f97b7720d0a553aec06a2d27dd5cc9c954482ca643892f274f82604051610ff59190612115565b60405180910390a250565b6065546001600160a01b031681565b606a5481565b61101d6113e4565b6001600160a01b031661102e6110e7565b6001600160a01b0316146110545760405162461bcd60e51b81526004016103b990611fa5565b60675481116110755760405162461bcd60e51b81526004016103b990611e95565b801580159061108657506068548111155b6110a25760405162461bcd60e51b81526004016103b990611b92565b60678190556110af6113e4565b6001600160a01b03167f8d4a57ca749299886997ec990a3f4a210270c58d6f283d4728136ca62c17d1bf82604051610ff59190612115565b6033546001600160a01b031690565b60675481565b6000811161111c5760405162461bcd60e51b81526004016103b990611fda565b611124610950565b6000607260006111326113e4565b6001600160a01b03166001600160a01b03168152602001908152602001600020905061115f610c0c6113e4565b156111ab5761116c6115e1565b42600282015580546070546111819082611433565b61118c846064611433565b106111a55760715461119f904290611510565b60038301555b506111c5565b6071546111b9904290611510565b60038201554260028201555b80546111d19083611510565b808255606a546069546111e8926107d89190611433565b600182015561120c6111f86113e4565b6065546001600160a01b0316903085611711565b6112146113e4565b6001600160a01b03167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c8360405161124c9190612115565b60405180910390a25050565b6112606113e4565b6001600160a01b03166112716110e7565b6001600160a01b0316146112975760405162461bcd60e51b81526004016103b990611fa5565b80158015906112a7575060648111155b6112c35760405162461bcd60e51b81526004016103b990611f48565b60708190556112d06113e4565b6001600160a01b03167fa1363b6f08985047219996aa27aae9e783577d8bb8f96505eb639afe5247c15182604051610ff59190612115565b6066546001600160a01b031681565b61131f6113e4565b6001600160a01b03166113306110e7565b6001600160a01b0316146113565760405162461bcd60e51b81526004016103b990611fa5565b6001600160a01b03811661137c5760405162461bcd60e51b81526004016103b990611c4d565b6033546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3603380546001600160a01b0319166001600160a01b0392909216919091179055565b606c5481565b606b5481565b3390565b600061142a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611738565b90505b92915050565b6000826114425750600061142d565b600061144e83856121cd565b90508261145b85836121ad565b1461142a5760405162461bcd60e51b81526004016103b990611f07565b600061142a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611772565b610bfc8363a9059cbb60e01b84846040516024016114d9929190611b46565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526117a0565b60008061151d8385612195565b90508381101561142a5760405162461bcd60e51b81526004016103b990611c93565b600054610100900460ff1680611558575060005460ff16155b6115745760405162461bcd60e51b81526004016103b990611df5565b600054610100900460ff1615801561159f576000805460ff1961ff0019909116610100171660011790555b6115a761182f565b6115af6118a2565b80156115c1576000805461ff00191690555b50565b6001600160a01b0316600090815260726020526040902054151590565b60006115ee6102ad6113e4565b90506000607260006115fe6113e4565b6001600160a01b031681526020810191909152604001600020606a54815460695492935061162f926107d891611433565b600182015560038101541580159061164b575080600301544210155b1561165857600060038201555b811561170d574260028201556066546001600160a01b03166340c10f1961167d6113e4565b846040518363ffffffff1660e01b815260040161169b929190611b46565b600060405180830381600087803b1580156116b557600080fd5b505af11580156116c9573d6000803e3d6000fd5b505050506116d56113e4565b6001600160a01b03167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d48360405161124c9190612115565b5050565b611732846323b872dd60e01b8585856040516024016114d993929190611b22565b50505050565b6000818484111561175c5760405162461bcd60e51b81526004016103b99190611b5f565b50600061176984866121ec565b95945050505050565b600081836117935760405162461bcd60e51b81526004016103b99190611b5f565b50600061176984866121ad565b60006117f5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661196e9092919063ffffffff16565b805190915015610bfc57808060200190518101906118139190611a6a565b610bfc5760405162461bcd60e51b81526004016103b9906120cb565b600054610100900460ff1680611848575060005460ff16155b6118645760405162461bcd60e51b81526004016103b990611df5565b600054610100900460ff161580156115af576000805460ff1961ff00199091166101001716600117905580156115c1576000805461ff001916905550565b600054610100900460ff16806118bb575060005460ff16155b6118d75760405162461bcd60e51b81526004016103b990611df5565b600054610100900460ff16158015611902576000805460ff1961ff0019909116610100171660011790555b600061190c6113e4565b603380546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35080156115c1576000805461ff001916905550565b606061197d8484600085611985565b949350505050565b606061199085611a48565b6119ac5760405162461bcd60e51b81526004016103b990612037565b600080866001600160a01b031685876040516119c89190611af2565b60006040518083038185875af1925050503d8060008114611a05576040519150601f19603f3d011682016040523d82523d6000602084013e611a0a565b606091505b50915091508115611a1e57915061197d9050565b805115611a2e5780518082602001fd5b8360405162461bcd60e51b81526004016103b99190611b5f565b3b151590565b600060208284031215611a5f578081fd5b813561142a81612245565b600060208284031215611a7b578081fd5b8151801515811461142a578182fd5b60008060408385031215611a9c578081fd5b8235611aa781612245565b91506020830135611ab781612245565b809150509250929050565b600060208284031215611ad3578081fd5b5035919050565b600060208284031215611aeb578081fd5b5051919050565b60008251611b04818460208701612203565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6000602082528251806020840152611b7e816040850160208701612203565b601f01601f19169190910160400192915050565b60208082526045908201527f5665426561745374616b696e673a206578706563746564206e6577205f6d617860408201527f43617050637420746f206265206e6f6e2d7a65726f20616e64203c3d20313030606082015264030303030360dc1b608082015260a00190565b60208082526030908201527f5665426561745374616b696e673a20756e6578706563746564207a65726f206160408201526f19191c995cdcc8199bdc8817d899585d60821b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252603f908201527f5665426561745374616b696e673a20657870656374656420776974686472617760408201527f20616d6f756e7420746f2062652067726561746572207468616e207a65726f00606082015260800190565b6020808252603b908201527f5665426561745374616b696e673a206578706563746564205f7665426561745060408201527f6572536861726550657253656320746f206265203c3d20316533360000000000606082015260800190565b6020808252604b908201527f5665426561745374616b696e673a2063616e6e6f74207769746864726177206760408201527f72656174657220616d6f756e74206f662042656174207468616e20637572726560608201526a1b9d1b1e481cdd185ad95960aa1b608082015260a00190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b60208082526032908201527f5665426561745374616b696e673a20756e6578706563746564207a65726f206160408201527119191c995cdcc8199bdc8817dd995099585d60721b606082015260800190565b6020808252604c908201527f5665426561745374616b696e673a206578706563746564206e6577205f6d617860408201527f43617050637420746f2062652067726561746572207468616e2065786973746960608201526b1b99c81b585e10d85c1418dd60a21b608082015260a00190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252603e908201527f5665426561745374616b696e673a206578706563746564205f7370656564557060408201527f5468726573686f6c6420746f206265203e203020616e64203c3d203130300000606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252603e908201527f5665426561745374616b696e673a206578706563746564206465706f7369742060408201527f616d6f756e7420746f2062652067726561746572207468616e207a65726f0000606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60208082526039908201527f5665426561745374616b696e673a2063616e6e6f7420636c61696d207665426560408201527f6174207768656e206e6f2042656174206973207374616b656400000000000000606082015260800190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b90815260200190565b918252602082015260400190565b93845260208401929092526040830152606082015260800190565b9a8b5260208b019990995260408a01979097526060890195909552608088019390935260a087019190915260c086015260e08501526101008401526101208301526101408201526101600190565b600082198211156121a8576121a861222f565b500190565b6000826121c857634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156121e7576121e761222f565b500290565b6000828210156121fe576121fe61222f565b500390565b60005b8381101561221e578181015183820152602001612206565b838111156117325750506000910152565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146115c157600080fdfea26469706673582212209033ae0174fa40554b4f6981b7c0efc4ed5a35dbac5d4995be85320019262b7d64736f6c63430008000033","sourceMap":"449:15231:5:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3601:30;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2958:45;;;:::i;5228:126::-;;;;;;:::i;:::-;;:::i;:::-;;13282:1313;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;;;:::i;3494:31::-;;;:::i;8820:1106::-;;;;;;:::i;:::-;;:::i;12602:674::-;;;:::i;3638:45::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;:::i;4379:843::-;;;;;;:::i;:::-;;:::i;9973:198::-;;;:::i;2196:34::-;;;:::i;2326:32::-;;;:::i;10347:2209::-;;;;;;:::i;:::-;;:::i;3062:49::-;;;:::i;2817:42::-;;;:::i;1965:145:0:-;;;:::i;6002:421:5:-;;;;;;:::i;:::-;;:::i;1867:18::-;;;:::i;:::-;;;;;;;:::i;2414:45::-;;;:::i;5434:455::-;;;;;;:::i;:::-;;:::i;1333:85:0:-;;;:::i;2118:24:5:-;;;:::i;7083:1545::-;;;;;;:::i;:::-;;:::i;6524:367::-;;;;;;:::i;:::-;;:::i;1891:20::-;;;:::i;2259:240:0:-;;;;;;:::i;:::-;;:::i;2671:35:5:-;;;:::i;2535:34::-;;;:::i;3601:30::-;;;;:::o;2958:45::-;;;;:::o;5228:126::-;1556:12:0;:10;:12::i;:::-;-1:-1:-1;;;;;1545:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1545:23:0;;1537:68;;;;-1:-1:-1;;;1537:68:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;5297:19:5;::::1;5289:28;;;::::0;::::1;;5327:4;:20:::0;;-1:-1:-1;;;;;;5327:20:5::1;-1:-1:-1::0;;;;;5327:20:5;;;::::1;::::0;;;::::1;::::0;;5228:126::o;13282:1313::-;13354:31;13395:26;13431:18;13459:25;13494:24;13528:26;13564:28;13602:22;13634:24;13668:28;13706:27;13776:4;;;;;;;;;-1:-1:-1;;;;;13776:4:5;-1:-1:-1;;;;;13776:14:5;;13799:4;13776:29;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;13750:55;;13836:6;;;;;;;;;-1:-1:-1;;;;;13836:6:5;-1:-1:-1;;;;;13836:18:5;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;13879:9;;13918:16;;13963:15;;13815:41;;-1:-1:-1;13879:9:5;;-1:-1:-1;13918:16:5;-1:-1:-1;13963:15:5;-1:-1:-1;;;;;;13992:19:5;;;13988:601;;-1:-1:-1;;;;;14054:16:5;;14027:24;14054:16;;;:9;:16;;;;;;;;;14027:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14158:23:5;14064:5;14158:16;:23::i;:::-;14135:46;;14212:4;;;;;;;;;-1:-1:-1;;;;;14212:4:5;-1:-1:-1;;;;;14212:14:5;;14227:5;14212:21;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;14195:38;;14266:6;;;;;;;;;-1:-1:-1;;;;;14266:6:5;-1:-1:-1;;;;;14266:16:5;;14283:5;14266:23;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;14247:42;;14326:8;:28;;;14303:51;;14368:20;14439:15;14416:20;:38;14415:74;;14488:1;14415:74;;;14458:27;;14415:74;14391:20;;:99;;;;:::i;:::-;14368:122;-1:-1:-1;14574:4:5;14553:18;14526:17;14368:122;14541:2;14526:17;:::i;:::-;:24;;14546:4;14526:24;:::i;:::-;:45;;;;:::i;:::-;:52;;;;:::i;:::-;14504:74;;13988:601;;;13282:1313;;;;;;;;;;;;;:::o;3494:31::-;;;;:::o;8820:1106::-;8892:1;8882:7;:11;8874:87;;;;-1:-1:-1;;;8874:87:5;;;;;;;:::i;:::-;8972:25;9000:9;:23;9010:12;:10;:12::i;:::-;-1:-1:-1;;;;;9000:23:5;-1:-1:-1;;;;;9000:23:5;;;;;;;;;;;;8972:51;;9075:7;9055:8;:16;;;:27;;9034:149;;;;-1:-1:-1;;;9034:149:5;;;;;;;:::i;:::-;9193:18;:16;:18::i;:::-;9333:16;;:29;;9354:7;9333:20;:29::i;:::-;9314:48;;;9438:30;;9394:17;;:75;;:39;;:17;:21;:39::i;:::-;:43;;:75::i;:::-;9372:19;;;:97;9509:15;9479:27;;;:45;-1:-1:-1;9534:28:5;;;:32;;;9655:6;;-1:-1:-1;;;;;9655:6:5;:16;9672:12;:10;:12::i;:::-;9655:30;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;9695:6;;9627:58;;-1:-1:-1;;;;;;9695:6:5;:15;9711:12;:10;:12::i;:::-;9725:17;9695:48;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9813:40;9831:12;:10;:12::i;:::-;9813:4;;-1:-1:-1;;;;;9813:4:5;;9845:7;9813:17;:40::i;:::-;9878:12;:10;:12::i;:::-;-1:-1:-1;;;;;9869:50:5;;9892:7;9901:17;9869:50;;;;;;;:::i;:::-;;;;;;;;8820:1106;;;:::o;12602:674::-;12670:19;;12651:15;:38;12647:75;;12705:7;;12647:75;12736:4;;:29;;-1:-1:-1;;;12736:29:5;;-1:-1:-1;;;;;12736:4:5;;;;:14;;:29;;12759:4;;12736:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12732:122;;12808:15;12786:19;:37;12837:7;;12732:122;12864:22;12889:40;12909:19;;12889:15;:19;;:40;;;;:::i;:::-;12864:65;;12959:191;12994:146;13092:34;;12994:76;13039:30;;12994:40;13013:20;;12994:14;:18;;:40;;;;:::i;:::-;:44;;:76::i;:146::-;12959:17;;;:21;:191::i;:::-;12939:17;:211;;;13182:15;13160:19;:37;;;13213:56;;;;;;13182:15;13213:56;:::i;:::-;;;;;;;;12602:674;;:::o;3638:45::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;4379:843::-;1506:13:1;;;;;;;;:30;;-1:-1:-1;1524:12:1;;;;1523:13;1506:30;1498:89;;;;-1:-1:-1;;;1498:89:1;;;;;;;:::i;:::-;1598:19;1621:13;;;;;;1620:14;1644:98;;;;1678:13;:20;;-1:-1:-1;;;;1678:20:1;;;;;1712:19;1694:4;1712:19;;;1644:98;4480:16:5::1;:14;:16::i;:::-;-1:-1:-1::0;;;;;4515:28:5;::::1;4507:89;;;;-1:-1:-1::0;;;4507:89:5::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;4614:30:5;::::1;4606:93;;;;-1:-1:-1::0;;;4606:93:5::1;;;;;;;:::i;:::-;4743:4;4710:30;:37:::0;4779:8:::1;4757:19;:30:::0;4810:5:::1;4798:9;:17:::0;4844:1:::1;4825:16;:20:::0;4873:7:::1;4855:15;:25:::0;4890:4:::1;:12:::0;;-1:-1:-1;;;;;4890:12:5;;::::1;-1:-1:-1::0;;;;;;4890:12:5;;::::1;;::::0;;;4912:6:::1;:16:::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;4953:9:::1;4995:15;5002:8;4953:9:::0;4995:15:::1;:::i;:::-;4972:20;:38:::0;;;5020:27:::1;:50:::0;-1:-1:-1;5102:15:5::1;5080:19;:37:::0;5160:4:::1;5127:30;:37:::0;;;5174:34:::1;:41:::0;1764:66:1;;;;1814:5;1798:21;;-1:-1:-1;;1798:21:1;;;1764:66;4379:843:5;;;:::o;9973:198::-;10017:39;10043:12;:10;:12::i;:::-;10017:25;:39::i;:::-;10009:109;;;;-1:-1:-1;;;10009:109:5;;;;;;;:::i;:::-;10128:18;:16;:18::i;:::-;10156:8;:6;:8::i;2196:34::-;;;;:::o;2326:32::-;;;;:::o;10347:2209::-;10409:7;10433:32;10459:5;10433:25;:32::i;:::-;10428:72;;-1:-1:-1;10488:1:5;10481:8;;10428:72;-1:-1:-1;;;;;10533:16:5;;10510:20;10533:16;;;:9;:16;;;;;;;;10510:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10640:17;;10712:19;;10510:39;;10640:17;;10692:40;;:15;;:19;:40::i;:::-;10667:65;-1:-1:-1;10746:18:5;;10742:278;;10801:208;10841:154;10943:34;;10841:76;10886:30;;10841:40;10860:20;;10841:14;:18;;:40;;;;:::i;:154::-;10801:18;;:22;:208::i;:::-;10780:229;;10742:278;11029:25;11057:115;11147:4;:15;;;11057:72;11098:30;;11057:36;11080:4;:12;;;11057:18;:22;;:36;;;;:::i;:72::-;:76;;:115::i;:::-;11029:143;;11238:28;11280:4;:24;;;11308:1;11280:29;11276:533;;11325:31;11377:4;:24;;;11359:15;:42;:119;;11463:15;11359:119;;;11420:4;:24;;;11359:119;11325:153;;11492:29;11524:52;11552:4;:23;;;11524;:27;;:52;;;;:::i;:::-;11492:84;;11590:32;11625:54;11651:27;;11625:21;:25;;:54;;;;:::i;:::-;11763:34;;11745:12;;11590:89;;-1:-1:-1;11716:82:5;;:42;;11590:89;;11716:28;:42::i;:82::-;11693:105;;11276:533;;;;11819:21;11843:43;:17;11865:20;11843:21;:43::i;:::-;11974:6;;:23;;-1:-1:-1;;;11974:23:5;;11819:67;;-1:-1:-1;11946:25:5;;-1:-1:-1;;;;;11974:6:5;;;;:16;;:23;;11991:5;;11974:23;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12121:9;;12104:12;;11946:51;;-1:-1:-1;12071:30:5;;12104:27;;:16;:27::i;:::-;12071:60;-1:-1:-1;12071:60:5;12146:26;:17;12168:3;12146:21;:26::i;:::-;:52;12142:408;;12310:1;12303:8;;;;;;;;;;;;12142:408;12380:22;12332:45;12373:3;12332:36;:17;12354:13;12332:21;:36::i;:45::-;:70;12328:222;;;12425:63;12484:3;12425:54;12452:26;:17;12484:3;12452:21;:26::i;:::-;12425:22;;:26;:54::i;:63::-;12418:70;;;;;;;;;;;;12328:222;-1:-1:-1;12526:13:5;;-1:-1:-1;;;;;;;10347:2209:5;;;;:::o;3062:49::-;;;;:::o;2817:42::-;;;;:::o;1965:145:0:-;1556:12;:10;:12::i;:::-;-1:-1:-1;;;;;1545:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1545:23:0;;1537:68;;;;-1:-1:-1;;;1537:68:0;;;;;;;:::i;:::-;2055:6:::1;::::0;2034:40:::1;::::0;2071:1:::1;::::0;-1:-1:-1;;;;;2055:6:0::1;::::0;2034:40:::1;::::0;2071:1;;2034:40:::1;2084:6;:19:::0;;-1:-1:-1;;;;;;2084:19:0::1;::::0;;1965:145::o;6002:421:5:-;1556:12:0;:10;:12::i;:::-;-1:-1:-1;;;;;1545:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1545:23:0;;1537:68;;;;-1:-1:-1;;;1537:68:0;;;;;;;:::i;:::-;6141:30:5::1;;6116:21;:55;;6095:161;;;;-1:-1:-1::0;;;6095:161:5::1;;;;;;;:::i;:::-;6266:18;:16;:18::i;:::-;6294:20;:44:::0;;;6380:12:::1;:10;:12::i;:::-;-1:-1:-1::0;;;;;6353:63:5::1;;6394:21;6353:63;;;;;;:::i;:::-;;;;;;;;6002:421:::0;:::o;1867:18::-;;;-1:-1:-1;;;;;1867:18:5;;:::o;2414:45::-;;;;:::o;5434:455::-;1556:12:0;:10;:12::i;:::-;-1:-1:-1;;;;;1545:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1545:23:0;;1537:68;;;;-1:-1:-1;;;1537:68:0;;;;;;;:::i;:::-;5526:9:5::1;;5513:10;:22;5505:111;;;;-1:-1:-1::0;;;5505:111:5::1;;;;;;;:::i;:::-;5647:15:::0;;;::::1;::::0;:52:::1;;;5680:19;;5666:10;:33;;5647:52;5626:168;;;;-1:-1:-1::0;;;5626:168:5::1;;;;;;;:::i;:::-;5804:9;:22:::0;;;5857:12:::1;:10;:12::i;:::-;-1:-1:-1::0;;;;;5841:41:5::1;;5871:10;5841:41;;;;;;:::i;1333:85:0:-:0;1405:6;;-1:-1:-1;;;;;1405:6:0;1333:85;:::o;2118:24:5:-;;;;:::o;7083:1545::-;7154:1;7144:7;:11;7136:86;;;;-1:-1:-1;;;7136:86:5;;;;;;;:::i;:::-;7233:18;:16;:18::i;:::-;7262:25;7290:9;:23;7300:12;:10;:12::i;:::-;-1:-1:-1;;;;;7290:23:5;-1:-1:-1;;;;;7290:23:5;;;;;;;;;;;;7262:51;;7328:39;7354:12;:10;:12::i;7328:39::-;7324:1016;;;7471:8;:6;:8::i;:::-;7668:15;7638:27;;;:45;7723:16;;7914;;:36;;7723:16;7914:20;:36::i;:::-;7894:16;:7;7906:3;7894:11;:16::i;:::-;:56;7890:162;;8021:15;;8001:36;;:15;;:19;:36::i;:::-;7970:28;;;:67;7890:162;7324:1016;;;;8254:15;;8234:36;;:15;;:19;:36::i;:::-;8203:28;;;:67;8314:15;8284:27;;;:45;7324:1016;8369:16;;:29;;8390:7;8369:20;:29::i;:::-;8350:48;;;8474:30;;8430:17;;:75;;:39;;:17;:21;:39::i;:75::-;8408:19;;;:97;8516:59;8538:12;:10;:12::i;:::-;8516:4;;-1:-1:-1;;;;;8516:4:5;;8560;8567:7;8516:21;:59::i;:::-;8599:12;:10;:12::i;:::-;-1:-1:-1;;;;;8591:30:5;;8613:7;8591:30;;;;;;:::i;:::-;;;;;;;;7083:1545;;:::o;6524:367::-;1556:12:0;:10;:12::i;:::-;-1:-1:-1;;;;;1545:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1545:23:0;;1537:68;;;;-1:-1:-1;;;1537:68:0;;;;;;;:::i;:::-;6630:22:5;;;::::1;::::0;:50:::1;;;6677:3;6656:17;:24;;6630:50;6609:159;;;;-1:-1:-1::0;;;6609:159:5::1;;;;;;;:::i;:::-;6778:16;:36:::0;;;6852:12:::1;:10;:12::i;:::-;-1:-1:-1::0;;;;;6829:55:5::1;;6866:17;6829:55;;;;;;:::i;1891:20::-:0;;;-1:-1:-1;;;;;1891:20:5;;:::o;2259:240:0:-;1556:12;:10;:12::i;:::-;-1:-1:-1;;;;;1545:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1545:23:0;;1537:68;;;;-1:-1:-1;;;1537:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2347:22:0;::::1;2339:73;;;;-1:-1:-1::0;;;2339:73:0::1;;;;;;;:::i;:::-;2448:6;::::0;2427:38:::1;::::0;-1:-1:-1;;;;;2427:38:0;;::::1;::::0;2448:6:::1;::::0;2427:38:::1;::::0;2448:6:::1;::::0;2427:38:::1;2475:6;:17:::0;;-1:-1:-1;;;;;;2475:17:0::1;-1:-1:-1::0;;;;;2475:17:0;;;::::1;::::0;;;::::1;::::0;;2259:240::o;2671:35:5:-;;;;:::o;2535:34::-;;;;:::o;822:96:3:-;901:10;822:96;:::o;1319:134:13:-;1377:7;1403:43;1407:1;1410;1403:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;1396:50;;1319:134;;;;;:::o;2178:459::-;2236:7;2477:6;2473:45;;-1:-1:-1;2506:1:13;2499:8;;2473:45;2528:9;2540:5;2544:1;2540;:5;:::i;:::-;2528:17;-1:-1:-1;2572:1:13;2563:5;2567:1;2528:17;2563:5;:::i;:::-;:10;2555:56;;;;-1:-1:-1;;;2555:56:13;;;;;;;:::i;3099:130::-;3157:7;3183:39;3187:1;3190;3183:39;;;;;;;;;;;;;;;;;:3;:39::i;687:175:12:-;769:86;789:5;819:23;;;844:2;848:5;796:58;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;796:58:12;;;;;;;;;;;;;;-1:-1:-1;;;;;796:58:12;-1:-1:-1;;;;;;796:58:12;;;;;;;;;;769:19;:86::i;872:176:13:-;930:7;;961:5;965:1;961;:5;:::i;:::-;949:17;;989:1;984;:6;;976:46;;;;-1:-1:-1;;;976:46:13;;;;;;;:::i;933:126:0:-;1506:13:1;;;;;;;;:30;;-1:-1:-1;1524:12:1;;;;1523:13;1506:30;1498:89;;;;-1:-1:-1;;;1498:89:1;;;;;;;:::i;:::-;1598:19;1621:13;;;;;;1620:14;1644:98;;;;1678:13;:20;;-1:-1:-1;;;;1678:20:1;;;;;1712:19;1694:4;1712:19;;;1644:98;990:26:0::1;:24;:26::i;:::-;1026;:24;:26::i;:::-;1768:14:1::0;1764:66;;;1814:5;1798:21;;-1:-1:-1;;1798:21:1;;;1764:66;933:126:0;:::o;14778:130:5:-;-1:-1:-1;;;;;14873:16:5;14850:4;14873:16;;;:9;:16;;;;;:24;:28;;;14778:130::o;14962:716::-;14998:21;15022:30;15039:12;:10;:12::i;15022:30::-;14998:54;;15063:25;15091:9;:23;15101:12;:10;:12::i;:::-;-1:-1:-1;;;;;15091:23:5;;;;;;;;;;;;-1:-1:-1;15091:23:5;15191:30;;15169:16;;15147:17;;15091:23;;-1:-1:-1;15147:75:5;;:39;;:21;:39::i;:75::-;15125:19;;;:97;15318:28;;;;:33;;;;:84;;;15374:8;:28;;;15355:15;:47;;15318:84;15314:147;;;15449:1;15418:28;;;:32;15314:147;15475:17;;15471:201;;15538:15;15508:27;;;:45;15568:6;;-1:-1:-1;;;;;15568:6:5;:11;15580:12;:10;:12::i;:::-;15594:13;15568:40;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15633:12;:10;:12::i;:::-;-1:-1:-1;;;;;15627:34:5;;15647:13;15627:34;;;;;;:::i;15471:201::-;14962:716;;:::o;868:203:12:-;968:96;988:5;1018:27;;;1047:4;1053:2;1057:5;995:68;;;;;;;;;;:::i;968:96::-;868:203;;;;:::o;1744:187:13:-;1830:7;1865:12;1857:6;;;;1849:29;;;;-1:-1:-1;;;1849:29:13;;;;;;;;:::i;:::-;-1:-1:-1;1888:9:13;1900:5;1904:1;1900;:5;:::i;:::-;1888:17;1744:187;-1:-1:-1;;;;;1744:187:13:o;3711:272::-;3797:7;3831:12;3824:5;3816:28;;;;-1:-1:-1;;;3816:28:13;;;;;;;;:::i;:::-;-1:-1:-1;3854:9:13;3866:5;3870:1;3866;:5;:::i;3134:751:12:-;3553:23;3579:69;3607:4;3579:69;;;;;;;;;;;;;;;;;3587:5;-1:-1:-1;;;;;3579:27:12;;;:69;;;;;:::i;:::-;3662:17;;3553:95;;-1:-1:-1;3662:21:12;3658:221;;3802:10;3791:30;;;;;;;;;;;;:::i;:::-;3783:85;;;;-1:-1:-1;;;3783:85:12;;;;;;;:::i;753:64:3:-;1506:13:1;;;;;;;;:30;;-1:-1:-1;1524:12:1;;;;1523:13;1506:30;1498:89;;;;-1:-1:-1;;;1498:89:1;;;;;;;:::i;:::-;1598:19;1621:13;;;;;;1620:14;1644:98;;;;1678:13;:20;;-1:-1:-1;;;;1678:20:1;;;;;1712:19;1694:4;1712:19;;;1768:14;1764:66;;;1814:5;1798:21;;-1:-1:-1;;1798:21:1;;;753:64:3;:::o;1065:192:0:-;1506:13:1;;;;;;;;:30;;-1:-1:-1;1524:12:1;;;;1523:13;1506:30;1498:89;;;;-1:-1:-1;;;1498:89:1;;;;;;;:::i;:::-;1598:19;1621:13;;;;;;1620:14;1644:98;;;;1678:13;:20;;-1:-1:-1;;;;1678:20:1;;;;;1712:19;1694:4;1712:19;;;1644:98;1132:17:0::1;1152:12;:10;:12::i;:::-;1174:6;:18:::0;;-1:-1:-1;;;;;;1174:18:0::1;-1:-1:-1::0;;;;;1174:18:0;::::1;::::0;;::::1;::::0;;;1207:43:::1;::::0;1174:18;;-1:-1:-1;1174:18:0;-1:-1:-1;;1207:43:0::1;::::0;-1:-1:-1;;1207:43:0::1;1752:1:1;1768:14:::0;1764:66;;;1814:5;1798:21;;-1:-1:-1;;1798:21:1;;;1065:192:0;:::o;3571:194:11:-;3674:12;3705:53;3728:6;3736:4;3742:1;3745:12;3705:22;:53::i;:::-;3698:60;3571:194;-1:-1:-1;;;;3571:194:11:o;4918:958::-;5048:12;5080:18;5091:6;5080:10;:18::i;:::-;5072:60;;;;-1:-1:-1;;;5072:60:11;;;;;;;:::i;:::-;5203:12;5217:23;5244:6;-1:-1:-1;;;;;5244:11:11;5264:8;5275:4;5244:36;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5202:78;;;;5294:7;5290:580;;;5324:10;-1:-1:-1;5317:17:11;;-1:-1:-1;5317:17:11;5290:580;5435:17;;:21;5431:429;;5693:10;5687:17;5753:15;5740:10;5736:2;5732:19;5725:44;5642:145;5832:12;5825:20;;-1:-1:-1;;;5825:20:11;;;;;;;;:::i;716:413::-;1076:20;1114:8;;;716:413::o;14:259:14:-;;126:2;114:9;105:7;101:23;97:32;94:2;;;147:6;139;132:22;94:2;191:9;178:23;210:33;237:5;210:33;:::i;278:297::-;;398:2;386:9;377:7;373:23;369:32;366:2;;;419:6;411;404:22;366:2;456:9;450:16;509:5;502:13;495:21;488:5;485:32;475:2;;536:6;528;521:22;580:431;;;738:2;726:9;717:7;713:23;709:32;706:2;;;759:6;751;744:22;706:2;803:9;790:23;822:33;849:5;822:33;:::i;:::-;874:5;-1:-1:-1;931:2:14;916:18;;903:32;944:35;903:32;944:35;:::i;:::-;998:7;988:17;;;696:315;;;;;:::o;1016:190::-;;1128:2;1116:9;1107:7;1103:23;1099:32;1096:2;;;1149:6;1141;1134:22;1096:2;-1:-1:-1;1177:23:14;;1086:120;-1:-1:-1;1086:120:14:o;1211:194::-;;1334:2;1322:9;1313:7;1309:23;1305:32;1302:2;;;1355:6;1347;1340:22;1302:2;-1:-1:-1;1383:16:14;;1292:113;-1:-1:-1;1292:113:14:o;1410:274::-;;1577:6;1571:13;1593:53;1639:6;1634:3;1627:4;1619:6;1615:17;1593:53;:::i;:::-;1662:16;;;;;1547:137;-1:-1:-1;;1547:137:14:o;1689:203::-;-1:-1:-1;;;;;1853:32:14;;;;1835:51;;1823:2;1808:18;;1790:102::o;1897:375::-;-1:-1:-1;;;;;2155:15:14;;;2137:34;;2207:15;;;;2202:2;2187:18;;2180:43;2254:2;2239:18;;2232:34;;;;2087:2;2072:18;;2054:218::o;2277:274::-;-1:-1:-1;;;;;2469:32:14;;;;2451:51;;2533:2;2518:18;;2511:34;2439:2;2424:18;;2406:145::o;3001:383::-;;3150:2;3139:9;3132:21;3182:6;3176:13;3225:6;3220:2;3209:9;3205:18;3198:34;3241:66;3300:6;3295:2;3284:9;3280:18;3275:2;3267:6;3263:15;3241:66;:::i;:::-;3368:2;3347:15;-1:-1:-1;;3343:29:14;3328:45;;;;3375:2;3324:54;;3122:262;-1:-1:-1;;3122:262:14:o;3389:473::-;3591:2;3573:21;;;3630:2;3610:18;;;3603:30;3669:34;3664:2;3649:18;;3642:62;3740:34;3735:2;3720:18;;3713:62;-1:-1:-1;;;3806:3:14;3791:19;;3784:36;3852:3;3837:19;;3563:299::o;3867:412::-;4069:2;4051:21;;;4108:2;4088:18;;;4081:30;4147:34;4142:2;4127:18;;4120:62;-1:-1:-1;;;4213:2:14;4198:18;;4191:46;4269:3;4254:19;;4041:238::o;4284:402::-;4486:2;4468:21;;;4525:2;4505:18;;;4498:30;4564:34;4559:2;4544:18;;4537:62;-1:-1:-1;;;4630:2:14;4615:18;;4608:36;4676:3;4661:19;;4458:228::o;4691:351::-;4893:2;4875:21;;;4932:2;4912:18;;;4905:30;4971:29;4966:2;4951:18;;4944:57;5033:2;5018:18;;4865:177::o;5047:427::-;5249:2;5231:21;;;5288:2;5268:18;;;5261:30;5327:34;5322:2;5307:18;;5300:62;5398:33;5393:2;5378:18;;5371:61;5464:3;5449:19;;5221:253::o;5479:423::-;5681:2;5663:21;;;5720:2;5700:18;;;5693:30;5759:34;5754:2;5739:18;;5732:62;5830:29;5825:2;5810:18;;5803:57;5892:3;5877:19;;5653:249::o;5907:479::-;6109:2;6091:21;;;6148:2;6128:18;;;6121:30;6187:34;6182:2;6167:18;;6160:62;6258:34;6253:2;6238:18;;6231:62;-1:-1:-1;;;6324:3:14;6309:19;;6302:42;6376:3;6361:19;;6081:305::o;6391:410::-;6593:2;6575:21;;;6632:2;6612:18;;;6605:30;6671:34;6666:2;6651:18;;6644:62;-1:-1:-1;;;6737:2:14;6722:18;;6715:44;6791:3;6776:19;;6565:236::o;6806:414::-;7008:2;6990:21;;;7047:2;7027:18;;;7020:30;7086:34;7081:2;7066:18;;7059:62;-1:-1:-1;;;7152:2:14;7137:18;;7130:48;7210:3;7195:19;;6980:240::o;7225:480::-;7427:2;7409:21;;;7466:2;7446:18;;;7439:30;7505:34;7500:2;7485:18;;7478:62;7576:34;7571:2;7556:18;;7549:62;-1:-1:-1;;;7642:3:14;7627:19;;7620:43;7695:3;7680:19;;7399:306::o;7710:397::-;7912:2;7894:21;;;7951:2;7931:18;;;7924:30;7990:34;7985:2;7970:18;;7963:62;-1:-1:-1;;;8056:2:14;8041:18;;8034:31;8097:3;8082:19;;7884:223::o;8112:426::-;8314:2;8296:21;;;8353:2;8333:18;;;8326:30;8392:34;8387:2;8372:18;;8365:62;8463:32;8458:2;8443:18;;8436:60;8528:3;8513:19;;8286:252::o;8543:356::-;8745:2;8727:21;;;8764:18;;;8757:30;8823:34;8818:2;8803:18;;8796:62;8890:2;8875:18;;8717:182::o;8904:426::-;9106:2;9088:21;;;9145:2;9125:18;;;9118:30;9184:34;9179:2;9164:18;;9157:62;9255:32;9250:2;9235:18;;9228:60;9320:3;9305:19;;9078:252::o;9335:353::-;9537:2;9519:21;;;9576:2;9556:18;;;9549:30;9615:31;9610:2;9595:18;;9588:59;9679:2;9664:18;;9509:179::o;9693:421::-;9895:2;9877:21;;;9934:2;9914:18;;;9907:30;9973:34;9968:2;9953:18;;9946:62;10044:27;10039:2;10024:18;;10017:55;10104:3;10089:19;;9867:247::o;10119:406::-;10321:2;10303:21;;;10360:2;10340:18;;;10333:30;10399:34;10394:2;10379:18;;10372:62;-1:-1:-1;;;10465:2:14;10450:18;;10443:40;10515:3;10500:19;;10293:232::o;10530:177::-;10676:25;;;10664:2;10649:18;;10631:76::o;10712:248::-;10886:25;;;10942:2;10927:18;;10920:34;10874:2;10859:18;;10841:119::o;10965:391::-;11196:25;;;11252:2;11237:18;;11230:34;;;;11295:2;11280:18;;11273:34;11338:2;11323:18;;11316:34;11183:3;11168:19;;11150:206::o;11361:897::-;11789:25;;;11845:2;11830:18;;11823:34;;;;11888:2;11873:18;;11866:34;;;;11931:2;11916:18;;11909:34;;;;11974:3;11959:19;;11952:35;;;;12018:3;12003:19;;11996:35;;;;12062:3;12047:19;;12040:35;12106:3;12091:19;;12084:35;12150:3;12135:19;;12128:35;12194:3;12179:19;;12172:35;12238:3;12223:19;;12216:36;11776:3;11761:19;;11743:515::o;12263:128::-;;12334:1;12330:6;12327:1;12324:13;12321:2;;;12340:18;;:::i;:::-;-1:-1:-1;12376:9:14;;12311:80::o;12396:217::-;;12462:1;12452:2;;-1:-1:-1;;;12487:31:14;;12541:4;12538:1;12531:15;12569:4;12494:1;12559:15;12452:2;-1:-1:-1;12598:9:14;;12442:171::o;12618:168::-;;12724:1;12720;12716:6;12712:14;12709:1;12706:21;12701:1;12694:9;12687:17;12683:45;12680:2;;;12731:18;;:::i;:::-;-1:-1:-1;12771:9:14;;12670:116::o;12791:125::-;;12859:1;12856;12853:8;12850:2;;;12864:18;;:::i;:::-;-1:-1:-1;12901:9:14;;12840:76::o;12921:258::-;12993:1;13003:113;13017:6;13014:1;13011:13;13003:113;;;13093:11;;;13087:18;13074:11;;;13067:39;13039:2;13032:10;13003:113;;;13134:6;13131:1;13128:13;13125:2;;;-1:-1:-1;;13169:1:14;13151:16;;13144:27;12974:205::o;13184:127::-;13245:10;13240:3;13236:20;13233:1;13226:31;13276:4;13273:1;13266:15;13300:4;13297:1;13290:15;13316:133;-1:-1:-1;;;;;13393:31:14;;13383:42;;13373:2;;13439:1;13436;13429:12","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa26469706673582212209033ae0174fa40554b4f6981b7c0efc4ed5a35dbac5d4995be85320019262b7d64736f6c63430008000033","offset":8795}},"immutableReferences":{},"transformations":[],"transformationValues":{}},"deployment":{"transactionHash":"0xf6d5467cb09275689894ea7c53d19ca4df262e703dd782f4562a4d62a722e740","blockNumber":"52069657","transactionIndex":"52","deployer":"0x2e2B29D314DB954Ee9d8c5ceD89fA5153a64a04e"},"sources":{"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"../utils/ContextUpgradeable.sol\";\nimport \"../proxy/utils/Initializable.sol\";\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * By default, the owner account will be the one that deploys the contract. This\n * can later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {\n    address private _owner;\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Initializes the contract setting the deployer as the initial owner.\n     */\n    function __Ownable_init() internal initializer {\n        __Context_init_unchained();\n        __Ownable_init_unchained();\n    }\n\n    function __Ownable_init_unchained() internal initializer {\n        address msgSender = _msgSender();\n        _owner = msgSender;\n        emit OwnershipTransferred(address(0), msgSender);\n    }\n\n    /**\n     * @dev Returns the address of the current owner.\n     */\n    function owner() public view virtual returns (address) {\n        return _owner;\n    }\n\n    /**\n     * @dev Throws if called by any account other than the owner.\n     */\n    modifier onlyOwner() {\n        require(owner() == _msgSender(), \"Ownable: caller is not the owner\");\n        _;\n    }\n\n    /**\n     * @dev Leaves the contract without owner. It will not be possible to call\n     * `onlyOwner` functions anymore. Can only be called by the current owner.\n     *\n     * NOTE: Renouncing ownership will leave the contract without an owner,\n     * thereby removing any functionality that is only available to the owner.\n     */\n    function renounceOwnership() public virtual onlyOwner {\n        emit OwnershipTransferred(_owner, address(0));\n        _owner = address(0);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Can only be called by the current owner.\n     */\n    function transferOwnership(address newOwner) public virtual onlyOwner {\n        require(newOwner != address(0), \"Ownable: new owner is the zero address\");\n        emit OwnershipTransferred(_owner, newOwner);\n        _owner = newOwner;\n    }\n    uint256[49] private __gap;\n}\n"},"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol":{"content":"// SPDX-License-Identifier: MIT\n\n// solhint-disable-next-line compiler-version\npragma solidity ^0.8.0;\n\nimport \"../../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 a proxied contract can't have 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 * 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 {UpgradeableProxy-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 */\nabstract contract Initializable {\n\n    /**\n     * @dev Indicates that the contract has been initialized.\n     */\n    bool 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 Modifier to protect an initializer function from being invoked twice.\n     */\n    modifier initializer() {\n        require(_initializing || !_initialized, \"Initializable: contract is already initialized\");\n\n        bool isTopLevelCall = !_initializing;\n        if (isTopLevelCall) {\n            _initializing = true;\n            _initialized = true;\n        }\n\n        _;\n\n        if (isTopLevelCall) {\n            _initializing = false;\n        }\n    }\n}\n"},"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\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    function isContract(address account) internal view returns (bool) {\n        // This method relies on extcodesize, which returns 0 for contracts in\n        // construction, since the code is only stored at the end of the\n        // constructor execution.\n\n        uint256 size;\n        // solhint-disable-next-line no-inline-assembly\n        assembly { size := extcodesize(account) }\n        return size > 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        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\n        (bool success, ) = recipient.call{ value: amount }(\"\");\n        require(success, \"Address: unable to send value, recipient may have reverted\");\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) internal returns (bytes memory) {\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(address target, bytes memory data, string memory errorMessage) 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(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\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(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\n        require(address(this).balance >= value, \"Address: insufficient balance for call\");\n        require(isContract(target), \"Address: call to non-contract\");\n\n        // solhint-disable-next-line avoid-low-level-calls\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) internal view returns (bytes memory) {\n        return 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(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\n        require(isContract(target), \"Address: static call to non-contract\");\n\n        // solhint-disable-next-line avoid-low-level-calls\n        (bool success, bytes memory returndata) = target.staticcall(data);\n        return _verifyCallResult(success, returndata, errorMessage);\n    }\n\n    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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\n                // solhint-disable-next-line no-inline-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"},"@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\nimport \"../proxy/utils/Initializable.sol\";\n\n/*\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract ContextUpgradeable is Initializable {\n    function __Context_init() internal initializer {\n        __Context_init_unchained();\n    }\n\n    function __Context_init_unchained() internal initializer {\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        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\n        return msg.data;\n    }\n    uint256[50] private __gap;\n}\n"},"contracts/VeBeat.sol":{"content":"// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"./helpers/Ownable.sol\";\n\nimport \"./VeERC20.sol\";\n\ninterface IBoostedMasterChef {\n    function updateFactor(address, uint256) external;\n}\n\n/// @title Vote Escrow Beat Token - veBeat\n/// @notice Infinite supply, used to receive extra farming yields and voting power\ncontract VeBeat is VeERC20(\"VeBeat Token\", \"VeBeat\"), Ownable {\n    /// @notice the BoostedMasterChef contract\n    IBoostedMasterChef public boostedMasterChef;\n    mapping(address => bool) public authControllers;\n\n    event UpdateBoostedMasterChef(address indexed user, address boostedMasterChef);\n\n    function setAuthControllers(address _contracts, bool _enable) external onlyOwner {\n        authControllers[_contracts] = _enable;\n    }\n\n    /// @dev Creates `_amount` token to `_to`. Must only be called by the auth controllers (VeBeatStaking)\n    /// @param _to The address that will receive the mint\n    /// @param _amount The amount to be minted\n    function mint(address _to, uint256 _amount) external {\n        require(authControllers[_msgSender()], \"no auth\");\n        _mint(_to, _amount);\n    }\n\n    /// @dev Destroys `_amount` tokens from `_from`. Callable only by the auth controllers (VeBeatStaking or VeBeatVote)\n    /// @param _from The address that will burn tokens\n    /// @param _amount The amount to be burned\n    function burnFrom(address _from, uint256 _amount) external {\n        require(authControllers[_msgSender()], \"no auth\");\n        _burn(_from, _amount);\n    }\n\n    /// @dev Sets the address of the master chef contract this updates\n    /// @param _boostedMasterChef the address of BoostedMasterChef\n    function setBoostedMasterChef(address _boostedMasterChef) external onlyOwner {\n        // We allow 0 address here if we want to disable the callback operations\n        boostedMasterChef = IBoostedMasterChef(_boostedMasterChef);\n\n        emit UpdateBoostedMasterChef(_msgSender(), _boostedMasterChef);\n    }\n\n    function _afterTokenOperation(address _account, uint256 _newBalance) internal override {\n        if (address(boostedMasterChef) != address(0)) {\n            boostedMasterChef.updateFactor(_account, _newBalance);\n        }\n    }\n\n    function renounceOwnership() public override onlyOwner view {\n        revert(\"VeBeatToken: Cannot renounce, can only transfer ownership\");\n    }\n}"},"contracts/VeBeatStaking.sol":{"content":"// SPDX-License-Identifier: MIT\n\npragma solidity 0.8.0;\n\nimport \"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol\";\nimport \"./library/SafeERC20.sol\";\nimport \"./library/SafeMath.sol\";\nimport \"./VeBeat.sol\";\n\n/// @title Vote Escrow Beat Staking\n/// @notice Stake Beat to earn veBeat, which you can use to earn higher farm yields and gain\n/// voting power. Note that unstaking any amount of Beat will burn all of your existing veBeat.\ncontract VeBeatStaking is  OwnableUpgradeable {\n    using SafeMath for uint256;\n    using SafeERC20 for IERC20;\n\n    /// @notice Info for each user\n    /// `balance`: Amount of Beat currently staked by user\n    /// `rewardDebt`: The reward debt of the user\n    /// `lastClaimTimestamp`: The timestamp of user's last claim or withdraw\n    /// `speedUpEndTimestamp`: The timestamp when user stops receiving speed up benefits, or\n    /// zero if user is not currently receiving speed up benefits\n    struct UserInfo {\n        uint256 balance;\n        uint256 rewardDebt;\n        uint256 lastClaimTimestamp;\n        uint256 speedUpEndTimestamp;\n        /**\n         * @notice We do some fancy math here. Basically, any point in time, the amount of veBeat\n         * entitled to a user but is pending to be distributed is:\n         *\n         *   pendingReward = pendingBaseReward + pendingSpeedUpReward\n         *\n         *   pendingBaseReward = (user.balance * accVeBeatPerShare) - user.rewardDebt\n         *\n         *   if user.speedUpEndTimestamp != 0:\n         *     speedUpCeilingTimestamp = min(block.timestamp, user.speedUpEndTimestamp)\n         *     speedUpSecondsElapsed = speedUpCeilingTimestamp - user.lastClaimTimestamp\n         *     pendingSpeedUpReward = speedUpSecondsElapsed * user.balance * speedUpVeBeatPerSharePerSec\n         *   else:\n         *     pendingSpeedUpReward = 0\n         */\n    }\n\n    IERC20 public beat;\n    VeBeat public veBeat;\n\n    /// @notice The maximum limit of veBeat user can have as percentage points of staked Beat\n    /// For example, if user has `n` Beat staked, they can own a maximum of `n * maxCapPct / 100` veBeat.\n    uint256 public maxCapPct;\n\n    /// @notice The upper limit of `maxCapPct`\n    uint256 public upperLimitMaxCapPct;\n\n    /// @notice The accrued veBeat per share, scaled to `ACC_VEBEAT_PER_SHARE_PRECISION`\n    uint256 public accVeBeatPerShare;\n\n    /// @notice Precision of `accVeBeatPerShare`\n    uint256 public ACC_VEBEAT_PER_SHARE_PRECISION;\n\n    /// @notice The last time that the reward variables were updated\n    uint256 public lastRewardTimestamp;\n\n    /// @notice veBeat per sec per Beat staked, scaled to `VEBEAT_PER_SHARE_PER_SEC_PRECISION`\n    uint256 public veBeatPerSharePerSec;\n\n    /// @notice Speed up veBeat per sec per Beat staked, scaled to `VEBEAT_PER_SHARE_PER_SEC_PRECISION`\n    uint256 public speedUpVeBeatPerSharePerSec;\n\n    /// @notice The upper limit of `veBeatPerSharePerSec` and `speedUpVeBeatPerSharePerSec`\n    uint256 public upperLimitVeBeatPerSharePerSec;\n\n    /// @notice Precision of `veBeatPerSharePerSec`\n    uint256 public VEBEAT_PER_SHARE_PER_SEC_PRECISION;\n\n    /// @notice Percentage of user's current staked Beat user has to deposit in order to start\n    /// receiving speed up benefits, in parts per 100.\n    /// @dev Specifically, user has to deposit at least `speedUpThreshold/100 * userStakedBeat` Beat.\n    /// The only exception is the user will also receive speed up benefits if they are depositing\n    /// with zero balance\n    uint256 public speedUpThreshold;\n\n    /// @notice The length of time a user receives speed up benefits\n    uint256 public speedUpDuration;\n\n    mapping(address => UserInfo) public userInfos;\n\n    event Claim(address indexed user, uint256 amount);\n    event Deposit(address indexed user, uint256 amount);\n    event UpdateMaxCapPct(address indexed user, uint256 maxCapPct);\n    event UpdateRewardVars(uint256 lastRewardTimestamp, uint256 accVeBeatPerShare);\n    event UpdateSpeedUpThreshold(address indexed user, uint256 speedUpThreshold);\n    event UpdateVeBeatPerSharePerSec(address indexed user, uint256 veBeatPerSharePerSec);\n    event Withdraw(address indexed user, uint256 withdrawAmount, uint256 burnAmount);\n\n    /// @notice Initialize with needed parameters\n    /// @param _beat Address of the Beat token contract\n    /// @param _veBeat Address of the veBeat token contract\n    function initialize(\n        IERC20 _beat,\n        VeBeat _veBeat\n    ) public initializer {\n        __Ownable_init();\n\n        require(address(_beat) != address(0), \"VeBeatStaking: unexpected zero address for _beat\");\n        require(address(_veBeat) != address(0), \"VeBeatStaking: unexpected zero address for _veBeat\");\n\n        upperLimitVeBeatPerSharePerSec = 1e36;\n        upperLimitMaxCapPct = 10000000;\n\n        maxCapPct = 10000;\n        speedUpThreshold = 5;\n        speedUpDuration = 15 days;\n        beat = _beat;\n        veBeat = _veBeat;\n        uint256 temp = 100 ether;\n        veBeatPerSharePerSec = temp / 365 days;\n        speedUpVeBeatPerSharePerSec = veBeatPerSharePerSec;\n        lastRewardTimestamp = block.timestamp;\n        ACC_VEBEAT_PER_SHARE_PRECISION = 1e18;\n        VEBEAT_PER_SHARE_PER_SEC_PRECISION = 1e18;\n    }\n\n    function setBeat(address _beat) external onlyOwner {\n        require(_beat != address(0));\n        beat = IERC20(_beat);\n    }\n\n    /// @notice Set maxCapPct\n    /// @param _maxCapPct The new maxCapPct\n    function setMaxCapPct(uint256 _maxCapPct) external onlyOwner {\n        require(_maxCapPct > maxCapPct, \"VeBeatStaking: expected new _maxCapPct to be greater than existing maxCapPct\");\n        require(\n            _maxCapPct != 0 && _maxCapPct <= upperLimitMaxCapPct,\n            \"VeBeatStaking: expected new _maxCapPct to be non-zero and <= 10000000\"\n        );\n        maxCapPct = _maxCapPct;\n        emit UpdateMaxCapPct(_msgSender(), _maxCapPct);\n    }\n\n    /// @notice Set veBeatPerSharePerSec\n    /// @param _veBeatPerSharePerSec The new veBeatPerSharePerSec\n    function setVeBeatPerSharePerSec(uint256 _veBeatPerSharePerSec) external onlyOwner {\n        require(\n            _veBeatPerSharePerSec <= upperLimitVeBeatPerSharePerSec,\n            \"VeBeatStaking: expected _veBeatPerSharePerSec to be <= 1e36\"\n        );\n        updateRewardVars();\n        veBeatPerSharePerSec = _veBeatPerSharePerSec;\n        emit UpdateVeBeatPerSharePerSec(_msgSender(), _veBeatPerSharePerSec);\n    }\n\n    /// @notice Set speedUpThreshold\n    /// @param _speedUpThreshold The new speedUpThreshold\n    function setSpeedUpThreshold(uint256 _speedUpThreshold) external onlyOwner {\n        require(\n            _speedUpThreshold != 0 && _speedUpThreshold <= 100,\n            \"VeBeatStaking: expected _speedUpThreshold to be > 0 and <= 100\"\n        );\n        speedUpThreshold = _speedUpThreshold;\n        emit UpdateSpeedUpThreshold(_msgSender(), _speedUpThreshold);\n    }\n\n    /// @notice Deposits Beat to start staking for veBeat. Note that any pending veBeat\n    /// will also be claimed in the process.\n    /// @param _amount The amount of Beat to deposit\n    function deposit(uint256 _amount) external {\n        require(_amount > 0, \"VeBeatStaking: expected deposit amount to be greater than zero\");\n\n        updateRewardVars();\n\n        UserInfo storage userInfo = userInfos[_msgSender()];\n\n        if (_getUserHasNonZeroBalance(_msgSender())) {\n            // Transfer to the user their pending veBeat before updating their UserInfo\n            _claim();\n\n            // We need to update user's `lastClaimTimestamp` to now to prevent\n            // passive veBeat accrual if user hit their max cap.\n            userInfo.lastClaimTimestamp = block.timestamp;\n\n            uint256 userStakedBeat = userInfo.balance;\n\n            // User is eligible for speed up benefits if `_amount` is at least\n            // `speedUpThreshold / 100 * userStakedBeat`\n            if (_amount.mul(100) >= speedUpThreshold.mul(userStakedBeat)) {\n                userInfo.speedUpEndTimestamp = block.timestamp.add(speedUpDuration);\n            }\n        } else {\n            // If user is depositing with zero balance, they will automatically\n            // receive speed up benefits\n            userInfo.speedUpEndTimestamp = block.timestamp.add(speedUpDuration);\n            userInfo.lastClaimTimestamp = block.timestamp;\n        }\n\n        userInfo.balance = userInfo.balance.add(_amount);\n        userInfo.rewardDebt = accVeBeatPerShare.mul(userInfo.balance).div(ACC_VEBEAT_PER_SHARE_PRECISION);\n\n        beat.safeTransferFrom(_msgSender(), address(this), _amount);\n\n        emit Deposit(_msgSender(), _amount);\n    }\n\n    /// @notice Withdraw staked Beat. Note that unstaking any amount of Beat means you will\n    /// lose all of your current veBeat.\n    /// @param _amount The amount of Beat to unstake\n    function withdraw(uint256 _amount) external {\n        require(_amount > 0, \"VeBeatStaking: expected withdraw amount to be greater than zero\");\n\n        UserInfo storage userInfo = userInfos[_msgSender()];\n\n        require(\n            userInfo.balance >= _amount,\n            \"VeBeatStaking: cannot withdraw greater amount of Beat than currently staked\"\n        );\n        updateRewardVars();\n\n        // Note that we don't need to claim as the user's veBeat balance will be reset to 0\n        userInfo.balance = userInfo.balance.sub(_amount);\n        userInfo.rewardDebt = accVeBeatPerShare.mul(userInfo.balance).div(ACC_VEBEAT_PER_SHARE_PRECISION);\n        userInfo.lastClaimTimestamp = block.timestamp;\n        userInfo.speedUpEndTimestamp = 0;\n\n        // Burn the user's current veBeat balance\n        uint256 userVeBeatBalance = veBeat.balanceOf(_msgSender());\n        veBeat.burnFrom(_msgSender(), userVeBeatBalance);\n\n        // Send user their requested amount of staked Beat\n        beat.safeTransfer(_msgSender(), _amount);\n\n        emit Withdraw(_msgSender(), _amount, userVeBeatBalance);\n    }\n\n    /// @notice Claim any pending veBeat\n    function claim() external {\n        require(_getUserHasNonZeroBalance(_msgSender()), \"VeBeatStaking: cannot claim veBeat when no Beat is staked\");\n        updateRewardVars();\n        _claim();\n    }\n\n    /// @notice Get the pending amount of veBeat for a given user\n    /// @param _user The user to lookup\n    /// @return The number of pending veBeat tokens for `_user`\n    function getPendingVeBeat(address _user) public view returns (uint256) {\n        if (!_getUserHasNonZeroBalance(_user)) {\n            return 0;\n        }\n\n        UserInfo memory user = userInfos[_user];\n\n        // Calculate amount of pending base veBeat\n        uint256 _accVeBeatPerShare = accVeBeatPerShare;\n        uint256 secondsElapsed = block.timestamp.sub(lastRewardTimestamp);\n        if (secondsElapsed > 0) {\n            _accVeBeatPerShare = _accVeBeatPerShare.add(\n                secondsElapsed.mul(veBeatPerSharePerSec).mul(ACC_VEBEAT_PER_SHARE_PRECISION).div(\n                    VEBEAT_PER_SHARE_PER_SEC_PRECISION\n                )\n            );\n        }\n        uint256 pendingBaseVeBeat = _accVeBeatPerShare.mul(user.balance).div(ACC_VEBEAT_PER_SHARE_PRECISION).sub(\n            user.rewardDebt\n        );\n\n        // Calculate amount of pending speed up veBeat\n        uint256 pendingSpeedUpVeBeat;\n        if (user.speedUpEndTimestamp != 0) {\n            uint256 speedUpCeilingTimestamp = block.timestamp > user.speedUpEndTimestamp\n                ? user.speedUpEndTimestamp\n                : block.timestamp;\n            uint256 speedUpSecondsElapsed = speedUpCeilingTimestamp.sub(user.lastClaimTimestamp);\n            uint256 speedUpAccVeBeatPerShare = speedUpSecondsElapsed.mul(speedUpVeBeatPerSharePerSec);\n            pendingSpeedUpVeBeat = speedUpAccVeBeatPerShare.mul(user.balance).div(VEBEAT_PER_SHARE_PER_SEC_PRECISION);\n        }\n\n        uint256 pendingVeBeat = pendingBaseVeBeat.add(pendingSpeedUpVeBeat);\n\n        // Get the user's current veBeat balance\n        uint256 userVeBeatBalance = veBeat.balanceOf(_user);\n\n        // This is the user's max veBeat cap multiplied by 100\n        uint256 scaledUserMaxVeBeatCap = user.balance.mul(maxCapPct);\n\n        if (userVeBeatBalance.mul(100) >= scaledUserMaxVeBeatCap) {\n            // User already holds maximum amount of veBeat so there is no pending veBeat\n            return 0;\n        } else if (userVeBeatBalance.add(pendingVeBeat).mul(100) > scaledUserMaxVeBeatCap) {\n            return scaledUserMaxVeBeatCap.sub(userVeBeatBalance.mul(100)).div(100);\n        } else {\n            return pendingVeBeat;\n        }\n    }\n\n    /// @notice Update reward variables\n    function updateRewardVars() public {\n        if (block.timestamp <= lastRewardTimestamp) {\n            return;\n        }\n\n        if (beat.balanceOf(address(this)) == 0) {\n            lastRewardTimestamp = block.timestamp;\n            return;\n        }\n\n        uint256 secondsElapsed = block.timestamp.sub(lastRewardTimestamp);\n        accVeBeatPerShare = accVeBeatPerShare.add(\n            secondsElapsed.mul(veBeatPerSharePerSec).mul(ACC_VEBEAT_PER_SHARE_PRECISION).div(\n                VEBEAT_PER_SHARE_PER_SEC_PRECISION\n            )\n        );\n        lastRewardTimestamp = block.timestamp;\n\n        emit UpdateRewardVars(lastRewardTimestamp, accVeBeatPerShare);\n    }\n\n    function veBeatStakingInfo(address _user) public view returns (\n        uint256 totalStakingBeatAmount_,\n        uint256 veBeatTotalSupply_,\n        uint256 maxCapPct_,\n        uint256 speedUpThreshold_,\n        uint256 speedUpDuration_,\n        uint256 stakingBeatAmount_,\n        uint256 pendingVeBeatAmount_,\n        uint256 balanceOfBeat_,\n        uint256 balanceOfVeBeat_,\n        uint256 speedUpEndTimestamp_,\n        uint256 veBeatRewardPerDay_ \n    ){\n        totalStakingBeatAmount_ = beat.balanceOf(address(this));\n        veBeatTotalSupply_ = veBeat.totalSupply();\n        maxCapPct_ = maxCapPct;\n        speedUpThreshold_ = speedUpThreshold;\n        speedUpDuration_ = speedUpDuration;\n        if (_user != address(0)) {\n            UserInfo memory userInfo = userInfos[_user];\n            stakingBeatAmount_ = userInfo.balance;\n            pendingVeBeatAmount_ = getPendingVeBeat(_user);\n            balanceOfBeat_ = beat.balanceOf(_user);\n            balanceOfVeBeat_ = veBeat.balanceOf(_user);\n            speedUpEndTimestamp_ = userInfo.speedUpEndTimestamp;\n            uint256 veBeatPerSec = veBeatPerSharePerSec + ((speedUpEndTimestamp_ > block.timestamp) ? speedUpVeBeatPerSharePerSec : 0);\n            veBeatRewardPerDay_ = veBeatPerSec * 24 * 3600 * stakingBeatAmount_ / 1e18;\n        }\n    }\n\n    /// @notice Checks to see if a given user currently has staked Beat\n    /// @param _user The user address to check\n    /// @return Whether `_user` currently has staked Beat\n    function _getUserHasNonZeroBalance(address _user) private view returns (bool) {\n        return userInfos[_user].balance > 0;\n    }\n\n    /// @dev Helper to claim any pending veBeat\n    function _claim() private {\n        uint256 veBeatToClaim = getPendingVeBeat(_msgSender());\n\n        UserInfo storage userInfo = userInfos[_msgSender()];\n\n        userInfo.rewardDebt = accVeBeatPerShare.mul(userInfo.balance).div(ACC_VEBEAT_PER_SHARE_PRECISION);\n\n        // If user's speed up period has ended, reset `speedUpEndTimestamp` to 0\n        if (userInfo.speedUpEndTimestamp != 0 && block.timestamp >= userInfo.speedUpEndTimestamp) {\n            userInfo.speedUpEndTimestamp = 0;\n        }\n\n        if (veBeatToClaim > 0) {\n            userInfo.lastClaimTimestamp = block.timestamp;\n\n            veBeat.mint(_msgSender(), veBeatToClaim);\n            emit Claim(_msgSender(), veBeatToClaim);\n        }\n    }\n}"},"contracts/VeERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"./helpers/Context.sol\";\nimport \"./interfaces/IVeERC20.sol\";\n\n/// @title VeERC20\n/// @notice Modified version of ERC20 where transfers and allowances are disabled.\n/// @dev Only minting and burning are allowed. The hook `_beforeTokenOperation` and\n/// `_afterTokenOperation` methods are called before and after minting/burning respectively.\ncontract VeERC20 is Context, IVeERC20 {\n    mapping(address => uint256) private _balances;\n\n    uint256 private _totalSupply;\n\n    string private _name;\n    string private _symbol;\n\n    /// @dev Emitted when `value` tokens are burned and minted\n    event Burn(address indexed account, uint256 value);\n    event Mint(address indexed beneficiary, uint256 value);\n\n    /**\n     * @dev Sets the values for {name} and {symbol}.\n     *\n     * The default value of {decimals} is 18. To select a different value for\n     * {decimals} you should overload it.\n     *\n     * All two of these values are immutable: they can only be set once during\n     * construction.\n     */\n    constructor(string memory name_, string memory symbol_) {\n        _name = name_;\n        _symbol = symbol_;\n    }\n\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() public view virtual returns (string memory) {\n        return _name;\n    }\n\n    /**\n     * @dev Returns the symbol of the token, usually a shorter version of the\n     * name.\n     */\n    function symbol() public view virtual returns (string memory) {\n        return _symbol;\n    }\n\n    /**\n     * @dev Returns the number of decimals used to get its user representation.\n     * For example, if `decimals` equals `2`, a balance of `505` tokens should\n     * be displayed to a user as `5.05` (`505 / 10 ** 2`).\n     *\n     * Tokens usually opt for a value of 18, imitating the relationship between\n     * Ether and Wei. This is the value {ERC20} uses, unless this function is\n     * overridden;\n     *\n     * NOTE: This information is only used for _display_ purposes: it in\n     * no way affects any of the arithmetic of the contract, including\n     * {IERC20-balanceOf} and {IERC20-transfer}.\n     */\n    function decimals() public view virtual returns (uint8) {\n        return 18;\n    }\n\n    /**\n     * @dev See {IERC20-totalSupply}.\n     */\n    function totalSupply() public view virtual override returns (uint256) {\n        return _totalSupply;\n    }\n\n    /**\n     * @dev See {IERC20-balanceOf}.\n     */\n    function balanceOf(address account) public view virtual override returns (uint256) {\n        return _balances[account];\n    }\n\n    /** @dev Creates `amount` tokens and assigns them to `account`, increasing\n     * the total supply.\n     *\n     * Emits a {Transfer} event with `from` set to the zero address.\n     *\n     * Requirements:\n     *\n     * - `account` cannot be the zero address.\n     */\n    function _mint(address account, uint256 amount) internal virtual {\n        require(account != address(0), \"ERC20: mint to the zero address\");\n\n        _beforeTokenOperation(address(0), account, amount);\n\n        _totalSupply += amount;\n        _balances[account] += amount;\n        emit Mint(account, amount);\n\n        _afterTokenOperation(account, _balances[account]);\n    }\n\n    /**\n     * @dev Destroys `amount` tokens from `account`, reducing the\n     * total supply.\n     *\n     * Emits a {Transfer} event with `to` set to the zero address.\n     *\n     * Requirements:\n     *\n     * - `account` cannot be the zero address.\n     * - `account` must have at least `amount` tokens.\n     */\n    function _burn(address account, uint256 amount) internal virtual {\n        require(account != address(0), \"ERC20: burn from the zero address\");\n\n        _beforeTokenOperation(account, address(0), amount);\n\n        uint256 accountBalance = _balances[account];\n        require(accountBalance >= amount, \"ERC20: burn amount exceeds balance\");\n        _balances[account] = accountBalance - amount;\n        _totalSupply -= amount;\n\n        emit Burn(account, amount);\n\n        _afterTokenOperation(account, _balances[account]);\n    }\n\n    /**\n     * @dev Hook that is called before any minting and burning.\n     * @param from the account transferring tokens\n     * @param to the account receiving tokens\n     * @param amount the amount being minted or burned\n     */\n    function _beforeTokenOperation(\n        address from,\n        address to,\n        uint256 amount\n    ) internal virtual {}\n\n    /**\n     * @dev Hook that is called after any minting and burning.\n     * @param account the account being affected\n     * @param newBalance the new balance of `account` after minting/burning\n     */\n    function _afterTokenOperation(address account, uint256 newBalance) internal virtual {}\n}"},"contracts/helpers/Context.sol":{"content":"// SPDX-License-Identifier: MIT\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}"},"contracts/helpers/Ownable.sol":{"content":"// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"./Context.sol\";\n\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * By default, the owner account will be the one that deploys the contract. This\n * can later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract Ownable is Context {\n    address private _owner;\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Initializes the contract setting the deployer as the initial owner.\n     */\n    constructor() {\n        _setOwner(_msgSender());\n    }\n\n    /**\n     * @dev Returns the address of the current owner.\n     */\n    function owner() public view virtual returns (address) {\n        return _owner;\n    }\n\n    /**\n     * @dev Throws if called by any account other than the owner.\n     */\n    modifier onlyOwner() {\n        require(owner() == _msgSender(), \"Ownable: caller is not the owner\");\n        _;\n    }\n\n    /**\n     * @dev Leaves the contract without owner. It will not be possible to call\n     * `onlyOwner` functions anymore. Can only be called by the current owner.\n     *\n     * NOTE: Renouncing ownership will leave the contract without an owner,\n     * thereby removing any functionality that is only available to the owner.\n     */\n    function renounceOwnership() public virtual onlyOwner {\n        _setOwner(address(0));\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Can only be called by the current owner.\n     */\n    function transferOwnership(address newOwner) public virtual onlyOwner {\n        require(newOwner != address(0), \"Ownable: new owner is the zero address\");\n        _setOwner(newOwner);\n    }\n\n    function _setOwner(address newOwner) private {\n        address oldOwner = _owner;\n        _owner = newOwner;\n        emit OwnershipTransferred(oldOwner, newOwner);\n    }\n}\n"},"contracts/interfaces/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\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 `recipient`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address recipient, 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) external view 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 `sender` to `recipient` 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 sender,\n        address recipient,\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}"},"contracts/interfaces/IVeERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\n/// @title Vote Escrow ERC20 Token Interface\n/// @author Trader Joe\n/// @notice Interface of a ERC20 token used for vote escrow. Notice that transfers and\n/// allowances are disabled\ninterface IVeERC20 {\n    function totalSupply() external view returns (uint256);\n\n    function balanceOf(address account) external view returns (uint256);\n}\n"},"contracts/library/Address.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.0;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\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    function isContract(address account) internal view returns (bool) {\n        // This method relies in extcodesize, which returns 0 for contracts in\n        // construction, since the code is only stored at the end of the\n        // constructor execution.\n\n        uint256 size;\n        // solhint-disable-next-line no-inline-assembly\n        assembly { size := extcodesize(account) }\n        return size > 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        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\n        (bool success, ) = recipient.call{ value: amount }(\"\");\n        require(success, \"Address: unable to send value, recipient may have reverted\");\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) internal returns (bytes memory) {\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(address target, bytes memory data, string memory errorMessage) 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(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\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(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\n        require(address(this).balance >= value, \"Address: insufficient balance for call\");\n        return _functionCallWithValue(target, data, value, errorMessage);\n    }\n\n    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {\n        require(isContract(target), \"Address: call to non-contract\");\n\n        // solhint-disable-next-line avoid-low-level-calls\n        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);\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\n                // solhint-disable-next-line no-inline-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}"},"contracts/library/SafeERC20.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.0;\n\nimport \"./SafeMath.sol\";\nimport \"./Address.sol\";\nimport \"../interfaces/IERC20.sol\";\n\n/**\n * @title SafeERC20\n * @dev Wrappers around ERC20 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    using SafeMath for uint256;\n    using Address for address;\n\n    function safeTransfer(IERC20 token, address to, uint256 value) internal {\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\n    }\n\n    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\n    }\n\n    function safeTransferETH(address to, uint256 value) internal {\n        (bool success, ) = to.call{value: value}(new bytes(0));\n        require(success, \"!safeTransferETH\");\n    }\n\n    /**\n     * @dev Deprecated. This function has issues similar to the ones found in\n     * {IERC20-approve}, and its usage is discouraged.\n     *\n     * Whenever possible, use {safeIncreaseAllowance} and\n     * {safeDecreaseAllowance} instead.\n     */\n    function safeApprove(IERC20 token, address spender, uint256 value) internal {\n        // safeApprove should only be called when setting an initial allowance,\n        // or when resetting it to zero. To increase and decrease it, use\n        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\n        // solhint-disable-next-line max-line-length\n        require((value == 0) || (token.allowance(address(this), spender) == 0),\n            \"SafeERC20: approve from non-zero to non-zero allowance\"\n        );\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\n    }\n\n    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\n        uint256 newAllowance = token.allowance(address(this), spender).add(value);\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\n    }\n\n    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {\n        uint256 newAllowance = token.allowance(address(this), spender).sub(value, \"SafeERC20: decreased allowance below zero\");\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\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    function _callOptionalReturn(IERC20 token, bytes memory data) private {\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\n        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that\n        // the target address contains contract code and also asserts for success in the low-level call.\n\n        bytes memory returndata = address(token).functionCall(data, \"SafeERC20: low-level call failed\");\n        if (returndata.length > 0) { // Return data is optional\n            // solhint-disable-next-line max-line-length\n            require(abi.decode(returndata, (bool)), \"SafeERC20: ERC20 operation did not succeed\");\n        }\n    }\n}"},"contracts/library/SafeMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.0;\n\n/**\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\n * checks.\n *\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\n * in bugs, because programmers usually assume that an overflow raises an\n * error, which is the standard behavior in high level programming languages.\n * `SafeMath` restores this intuition by reverting the transaction when an\n * operation overflows.\n *\n * Using this library instead of the unchecked operations eliminates an entire\n * class of bugs, so it's recommended to use it always.\n */\nlibrary SafeMath {\n    /**\n     * @dev Returns the addition of two unsigned integers, reverting on\n     * overflow.\n     *\n     * Counterpart to Solidity's `+` operator.\n     *\n     * Requirements:\n     *\n     * - Addition cannot overflow.\n     */\n    function add(uint256 a, uint256 b) internal pure returns (uint256) {\n        uint256 c = a + b;\n        require(c >= a, \"SafeMath: addition overflow\");\n\n        return c;\n    }\n\n    /**\n     * @dev Returns the subtraction of two unsigned integers, reverting on\n     * overflow (when the result is negative).\n     *\n     * Counterpart to Solidity's `-` operator.\n     *\n     * Requirements:\n     *\n     * - Subtraction cannot overflow.\n     */\n    function sub(uint256 a, uint256 b) internal pure returns (uint256) {\n        return sub(a, b, \"SafeMath: subtraction overflow\");\n    }\n\n    /**\n     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n     * overflow (when the result is negative).\n     *\n     * Counterpart to Solidity's `-` operator.\n     *\n     * Requirements:\n     *\n     * - Subtraction cannot overflow.\n     */\n    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n        require(b <= a, errorMessage);\n        uint256 c = a - b;\n\n        return c;\n    }\n\n    /**\n     * @dev Returns the multiplication of two unsigned integers, reverting on\n     * overflow.\n     *\n     * Counterpart to Solidity's `*` operator.\n     *\n     * Requirements:\n     *\n     * - Multiplication cannot overflow.\n     */\n    function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n        // benefit is lost if 'b' is also tested.\n        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\n        if (a == 0) {\n            return 0;\n        }\n\n        uint256 c = a * b;\n        require(c / a == b, \"SafeMath: multiplication overflow\");\n\n        return c;\n    }\n\n    /**\n     * @dev Returns the integer division of two unsigned integers. Reverts on\n     * division by zero. The result is rounded towards zero.\n     *\n     * Counterpart to Solidity's `/` operator. Note: this function uses a\n     * `revert` opcode (which leaves remaining gas untouched) while Solidity\n     * uses an invalid opcode to revert (consuming all remaining gas).\n     *\n     * Requirements:\n     *\n     * - The divisor cannot be zero.\n     */\n    function div(uint256 a, uint256 b) internal pure returns (uint256) {\n        return div(a, b, \"SafeMath: division by zero\");\n    }\n\n    /**\n     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on\n     * division by zero. The result is rounded towards zero.\n     *\n     * Counterpart to Solidity's `/` operator. Note: this function uses a\n     * `revert` opcode (which leaves remaining gas untouched) while Solidity\n     * uses an invalid opcode to revert (consuming all remaining gas).\n     *\n     * Requirements:\n     *\n     * - The divisor cannot be zero.\n     */\n    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n        require(b > 0, errorMessage);\n        uint256 c = a / b;\n        // assert(a == b * c + a % b); // There is no case in which this doesn't hold\n\n        return c;\n    }\n\n    /**\n     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n     * Reverts when dividing by zero.\n     *\n     * Counterpart to Solidity's `%` operator. This function uses a `revert`\n     * opcode (which leaves remaining gas untouched) while Solidity uses an\n     * invalid opcode to revert (consuming all remaining gas).\n     *\n     * Requirements:\n     *\n     * - The divisor cannot be zero.\n     */\n    function mod(uint256 a, uint256 b) internal pure returns (uint256) {\n        return mod(a, b, \"SafeMath: modulo by zero\");\n    }\n\n    /**\n     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n     * Reverts with custom message when dividing by zero.\n     *\n     * Counterpart to Solidity's `%` operator. This function uses a `revert`\n     * opcode (which leaves remaining gas untouched) while Solidity uses an\n     * invalid opcode to revert (consuming all remaining gas).\n     *\n     * Requirements:\n     *\n     * - The divisor cannot be zero.\n     */\n    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n        require(b != 0, errorMessage);\n        return a % b;\n    }\n\n    function sqrrt(uint256 a) internal pure returns (uint c) {\n        if (a > 3) {\n            c = a;\n            uint b = add( div( a, 2), 1 );\n            while (b < c) {\n                c = b;\n                b = div( add( div( a, b ), b), 2 );\n            }\n        } else if (a != 0) {\n            c = 1;\n        }\n    }\n\n    function min(uint x, uint y) internal pure returns (uint z) {\n        z = x < y ? x : y;\n    }\n}"}},"compilation":{"language":"Solidity","compiler":"solc","compilerVersion":"0.8.0+commit.c7dfd78e","compilerSettings":{"libraries":{},"optimizer":{"runs":200,"enabled":true}},"name":"VeBeatStaking","fullyQualifiedName":"contracts/VeBeatStaking.sol:VeBeatStaking"},"abi":[{"name":"Claim","type":"event","inputs":[{"name":"user","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Deposit","type":"event","inputs":[{"name":"user","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"OwnershipTransferred","type":"event","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"UpdateMaxCapPct","type":"event","inputs":[{"name":"user","type":"address","indexed":true,"internalType":"address"},{"name":"maxCapPct","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"UpdateRewardVars","type":"event","inputs":[{"name":"lastRewardTimestamp","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"accVeBeatPerShare","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"UpdateSpeedUpThreshold","type":"event","inputs":[{"name":"user","type":"address","indexed":true,"internalType":"address"},{"name":"speedUpThreshold","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"UpdateVeBeatPerSharePerSec","type":"event","inputs":[{"name":"user","type":"address","indexed":true,"internalType":"address"},{"name":"veBeatPerSharePerSec","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Withdraw","type":"event","inputs":[{"name":"user","type":"address","indexed":true,"internalType":"address"},{"name":"withdrawAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"burnAmount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"ACC_VEBEAT_PER_SHARE_PRECISION","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"VEBEAT_PER_SHARE_PER_SEC_PRECISION","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"accVeBeatPerShare","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"beat","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IERC20"}],"stateMutability":"view"},{"name":"claim","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"deposit","type":"function","inputs":[{"name":"_amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"getPendingVeBeat","type":"function","inputs":[{"name":"_user","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"initialize","type":"function","inputs":[{"name":"_beat","type":"address","internalType":"contract IERC20"},{"name":"_veBeat","type":"address","internalType":"contract VeBeat"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"lastRewardTimestamp","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"maxCapPct","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"owner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"renounceOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"setBeat","type":"function","inputs":[{"name":"_beat","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setMaxCapPct","type":"function","inputs":[{"name":"_maxCapPct","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setSpeedUpThreshold","type":"function","inputs":[{"name":"_speedUpThreshold","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setVeBeatPerSharePerSec","type":"function","inputs":[{"name":"_veBeatPerSharePerSec","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"speedUpDuration","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"speedUpThreshold","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"speedUpVeBeatPerSharePerSec","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"transferOwnership","type":"function","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"updateRewardVars","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"upperLimitMaxCapPct","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"upperLimitVeBeatPerSharePerSec","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"userInfos","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"balance","type":"uint256","internalType":"uint256"},{"name":"rewardDebt","type":"uint256","internalType":"uint256"},{"name":"lastClaimTimestamp","type":"uint256","internalType":"uint256"},{"name":"speedUpEndTimestamp","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"veBeat","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract VeBeat"}],"stateMutability":"view"},{"name":"veBeatPerSharePerSec","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"veBeatStakingInfo","type":"function","inputs":[{"name":"_user","type":"address","internalType":"address"}],"outputs":[{"name":"totalStakingBeatAmount_","type":"uint256","internalType":"uint256"},{"name":"veBeatTotalSupply_","type":"uint256","internalType":"uint256"},{"name":"maxCapPct_","type":"uint256","internalType":"uint256"},{"name":"speedUpThreshold_","type":"uint256","internalType":"uint256"},{"name":"speedUpDuration_","type":"uint256","internalType":"uint256"},{"name":"stakingBeatAmount_","type":"uint256","internalType":"uint256"},{"name":"pendingVeBeatAmount_","type":"uint256","internalType":"uint256"},{"name":"balanceOfBeat_","type":"uint256","internalType":"uint256"},{"name":"balanceOfVeBeat_","type":"uint256","internalType":"uint256"},{"name":"speedUpEndTimestamp_","type":"uint256","internalType":"uint256"},{"name":"veBeatRewardPerDay_","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"withdraw","type":"function","inputs":[{"name":"_amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"}],"metadata":{"compiler":{"version":"0.8.0+commit.c7dfd78e"},"language":"Solidity","output":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"maxCapPct","type":"uint256"}],"name":"UpdateMaxCapPct","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"lastRewardTimestamp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"accVeBeatPerShare","type":"uint256"}],"name":"UpdateRewardVars","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"speedUpThreshold","type":"uint256"}],"name":"UpdateSpeedUpThreshold","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"veBeatPerSharePerSec","type":"uint256"}],"name":"UpdateVeBeatPerSharePerSec","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"withdrawAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"burnAmount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"ACC_VEBEAT_PER_SHARE_PRECISION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VEBEAT_PER_SHARE_PER_SEC_PRECISION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accVeBeatPerShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beat","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getPendingVeBeat","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_beat","type":"address"},{"internalType":"contract VeBeat","name":"_veBeat","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastRewardTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxCapPct","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_beat","type":"address"}],"name":"setBeat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxCapPct","type":"uint256"}],"name":"setMaxCapPct","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_speedUpThreshold","type":"uint256"}],"name":"setSpeedUpThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_veBeatPerSharePerSec","type":"uint256"}],"name":"setVeBeatPerSharePerSec","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"speedUpDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"speedUpThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"speedUpVeBeatPerSharePerSec","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"updateRewardVars","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"upperLimitMaxCapPct","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"upperLimitVeBeatPerSharePerSec","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userInfos","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"},{"internalType":"uint256","name":"lastClaimTimestamp","type":"uint256"},{"internalType":"uint256","name":"speedUpEndTimestamp","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"veBeat","outputs":[{"internalType":"contract VeBeat","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"veBeatPerSharePerSec","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"veBeatStakingInfo","outputs":[{"internalType":"uint256","name":"totalStakingBeatAmount_","type":"uint256"},{"internalType":"uint256","name":"veBeatTotalSupply_","type":"uint256"},{"internalType":"uint256","name":"maxCapPct_","type":"uint256"},{"internalType":"uint256","name":"speedUpThreshold_","type":"uint256"},{"internalType":"uint256","name":"speedUpDuration_","type":"uint256"},{"internalType":"uint256","name":"stakingBeatAmount_","type":"uint256"},{"internalType":"uint256","name":"pendingVeBeatAmount_","type":"uint256"},{"internalType":"uint256","name":"balanceOfBeat_","type":"uint256"},{"internalType":"uint256","name":"balanceOfVeBeat_","type":"uint256"},{"internalType":"uint256","name":"speedUpEndTimestamp_","type":"uint256"},{"internalType":"uint256","name":"veBeatRewardPerDay_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}],"devdoc":{"kind":"dev","methods":{"deposit(uint256)":{"params":{"_amount":"The amount of Beat to deposit"}},"getPendingVeBeat(address)":{"params":{"_user":"The user to lookup"},"returns":{"_0":"The number of pending veBeat tokens for `_user`"}},"initialize(address,address)":{"params":{"_beat":"Address of the Beat token contract","_veBeat":"Address of the veBeat token contract"}},"owner()":{"details":"Returns the address of the current owner."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"setMaxCapPct(uint256)":{"params":{"_maxCapPct":"The new maxCapPct"}},"setSpeedUpThreshold(uint256)":{"params":{"_speedUpThreshold":"The new speedUpThreshold"}},"setVeBeatPerSharePerSec(uint256)":{"params":{"_veBeatPerSharePerSec":"The new veBeatPerSharePerSec"}},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"withdraw(uint256)":{"params":{"_amount":"The amount of Beat to unstake"}}},"stateVariables":{"speedUpThreshold":{"details":"Specifically, user has to deposit at least `speedUpThreshold/100 * userStakedBeat` Beat. The only exception is the user will also receive speed up benefits if they are depositing with zero balance"}},"title":"Vote Escrow Beat Staking","version":1},"userdoc":{"kind":"user","methods":{"ACC_VEBEAT_PER_SHARE_PRECISION()":{"notice":"Precision of `accVeBeatPerShare`"},"VEBEAT_PER_SHARE_PER_SEC_PRECISION()":{"notice":"Precision of `veBeatPerSharePerSec`"},"accVeBeatPerShare()":{"notice":"The accrued veBeat per share, scaled to `ACC_VEBEAT_PER_SHARE_PRECISION`"},"claim()":{"notice":"Claim any pending veBeat"},"deposit(uint256)":{"notice":"Deposits Beat to start staking for veBeat. Note that any pending veBeat will also be claimed in the process."},"getPendingVeBeat(address)":{"notice":"Get the pending amount of veBeat for a given user"},"initialize(address,address)":{"notice":"Initialize with needed parameters"},"lastRewardTimestamp()":{"notice":"The last time that the reward variables were updated"},"maxCapPct()":{"notice":"The maximum limit of veBeat user can have as percentage points of staked Beat For example, if user has `n` Beat staked, they can own a maximum of `n * maxCapPct / 100` veBeat."},"setMaxCapPct(uint256)":{"notice":"Set maxCapPct"},"setSpeedUpThreshold(uint256)":{"notice":"Set speedUpThreshold"},"setVeBeatPerSharePerSec(uint256)":{"notice":"Set veBeatPerSharePerSec"},"speedUpDuration()":{"notice":"The length of time a user receives speed up benefits"},"speedUpThreshold()":{"notice":"Percentage of user's current staked Beat user has to deposit in order to start receiving speed up benefits, in parts per 100."},"speedUpVeBeatPerSharePerSec()":{"notice":"Speed up veBeat per sec per Beat staked, scaled to `VEBEAT_PER_SHARE_PER_SEC_PRECISION`"},"updateRewardVars()":{"notice":"Update reward variables"},"upperLimitMaxCapPct()":{"notice":"The upper limit of `maxCapPct`"},"upperLimitVeBeatPerSharePerSec()":{"notice":"The upper limit of `veBeatPerSharePerSec` and `speedUpVeBeatPerSharePerSec`"},"veBeatPerSharePerSec()":{"notice":"veBeat per sec per Beat staked, scaled to `VEBEAT_PER_SHARE_PER_SEC_PRECISION`"},"withdraw(uint256)":{"notice":"Withdraw staked Beat. Note that unstaking any amount of Beat means you will lose all of your current veBeat."}},"notice":"Stake Beat to earn veBeat, which you can use to earn higher farm yields and gain voting power. Note that unstaking any amount of Beat will burn all of your existing veBeat.","version":1}},"settings":{"compilationTarget":{"contracts/VeBeatStaking.sol":"VeBeatStaking"},"evmVersion":"istanbul","libraries":{},"metadata":{"bytecodeHash":"ipfs"},"optimizer":{"enabled":true,"runs":200},"remappings":[]},"sources":{"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol":{"keccak256":"0xc68cad93ce702131a09334e8705d4af062278defa99627a2c94685fb96ff8cc4","license":"MIT","urls":["bzz-raw://6839a7f9fdb061559b6192c64fc919c83cad99bf0ff4663f249f8409d9f88abf","dweb:/ipfs/QmS6DzcqHkD8TipTTZ94FthQjBhX81sfYtAQQC9Qzifxxm"]},"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol":{"keccak256":"0x60aac6a853246704b017e55f9d3b456debfd0a7f49dd9a99e7113bed03ef0696","license":"MIT","urls":["bzz-raw://67add465d6dec3198061b5fb7ed4d8b0e1a26f0c0200115d338241ca74a693de","dweb:/ipfs/Qmerko5uM4L1jwJKK7yPiqTq1QTgd6cbNEy6ffmTLBj6MW"]},"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol":{"keccak256":"0x5642ae1d6b33c5c0b71a8412c6c64cbcf2468b84a002bee3e33cdb5644d25cdb","license":"MIT","urls":["bzz-raw://07ba474854eacf022fca2ab63af2b09653f476a9ef2d144ea3d022a0c0b92726","dweb:/ipfs/QmVNfrArMejFSrPMktAtDte64FJ2fGPQHqgSXDz2SH6dse"]},"@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol":{"keccak256":"0x8e9eb503de1189f50c5f16fef327da310b11898d6b9ab3ca937df07c35233b9e","license":"MIT","urls":["bzz-raw://9631a7abcad07067f268b6295668a287e205ea9a8dc0fca02c2bf4db6c39431d","dweb:/ipfs/QmUYFfB2AngTZLEsah4u8Z44riaB6yWkUXeasi1oG7ipfS"]},"contracts/VeBeat.sol":{"keccak256":"0x33180c00a6760a475d34599f6b2508802dc057ed1aa190a7a134e0c8403665c0","license":"MIT","urls":["bzz-raw://80036bc0b29a7fc485e54611cb0ce1be7a0cdf5600885a8dd08dfec72107986a","dweb:/ipfs/QmSsv9p1p1hC2yjKakELdhB9phcNPiSDHxq3QQn6ZuUXf4"]},"contracts/VeBeatStaking.sol":{"keccak256":"0xda573aaa82dfce8070b84d6f515a754c52bd6c1efe771bb1a50ef44a51366b20","license":"MIT","urls":["bzz-raw://4bdb80e1fd2f608d69c6e9a2c7598e83f2a62a01b2b30d2c2f6c82b56c04d697","dweb:/ipfs/QmPwXMBN5yoeNzunjQMrvPY76Rq6qfRN6mTeRxVZZshHSg"]},"contracts/VeERC20.sol":{"keccak256":"0xc906a44a07913f029d25ca4be4baa35639e681047905421f66ecb3bc9608fde5","license":"MIT","urls":["bzz-raw://f1cdf3dfca56bf4d799fde15fb4df35c19f49b9d7fdf889612c63b91c2a94160","dweb:/ipfs/QmPK3zJMUhA7JKEtooshQEScKYzXdcRu2odKQd9hqDCKxr"]},"contracts/helpers/Context.sol":{"keccak256":"0x45cb9d70dc84e6f4ec8202a58599a881421174348e0fd4400a99a22678aa7913","license":"MIT","urls":["bzz-raw://640ea1ba9707020a73d52eb62afcc682aa0a502e61378ff2e3ed7be701afcaaf","dweb:/ipfs/QmPup8KPcQQXcz4qz9r1G4ks7bv8jLqrcWNruZyXTto6qy"]},"contracts/helpers/Ownable.sol":{"keccak256":"0x75d1e6250c190ca0500e5a2b7def5e5d6fd3edbe368a6de93dea256471d04593","license":"MIT","urls":["bzz-raw://09b8acacbbc0353985940f90022a8e15d15d9767e1eeaa721e1e21655c34c62e","dweb:/ipfs/Qmeb2CejPutKdfNpncsRny8cibhF7aVMJpR6ZvMYruDWLM"]},"contracts/interfaces/IERC20.sol":{"keccak256":"0xb55c91551ef864f86edd296378fc3430f19798c0d1de468ff772a83a842df24c","license":"MIT","urls":["bzz-raw://f118e5d475795b9e612bb6c139db18493e65f47f181ddcef446f4fa43e7f80f5","dweb:/ipfs/QmSRWmUWxpjp8jMtDHqWysWbZqFNVKAyLHcmBtjJRvmoLF"]},"contracts/interfaces/IVeERC20.sol":{"keccak256":"0x1a561639cc5182133b25a87a5276f83add1bd73eabe44347291e0ffd2a093b12","license":"MIT","urls":["bzz-raw://374e2175fb5b64a4da8cbdaa19c8114631597332f6e71e9fa1de0578110ad817","dweb:/ipfs/QmaYfHcScefpZoeL6tcKiirob4VrZcBbJn7LyexWxsuSb3"]},"contracts/library/Address.sol":{"keccak256":"0x57221edb98222fa82d60b9f5c7c1a4df7e6150be5f92f24cff9244c578ef89c6","license":"MIT","urls":["bzz-raw://1525b7379f76859b57824932fa830dee4e73e357412574eb7354558d37314d3f","dweb:/ipfs/QmQS5YEBXDj4B7om3zimYTLGb1rkCKWybtsGQa7rfuW53q"]},"contracts/library/SafeERC20.sol":{"keccak256":"0xa5efc0ac9257d59713ef03b4d613cf380d58a355d07f543b44f120c9029743b2","license":"MIT","urls":["bzz-raw://972a132abfb3dda82655adfadc59ccf1c99bdc80bc65ad46eb627236bf3f977d","dweb:/ipfs/QmRGYbLRHGtpKnNCi3ExRTfNo8NE22eQUkK69T59KkJgJ7"]},"contracts/library/SafeMath.sol":{"keccak256":"0xcec240cd1142a7a9e0e0e3d3bdce3ab5aba85e3e66fd93c827bf594cd7566cdd","license":"MIT","urls":["bzz-raw://4da963c825ca57cea03a4727d527baa1922b04c9230b61da3b8378951da4bda8","dweb:/ipfs/QmP8G1oqfKbC563MeFGBca9LUwhM16t2TxSK1NwdjaMnhf"]}},"version":1},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_contract(VeBeat)619":{"label":"contract VeBeat","encoding":"inplace","numberOfBytes":"20"},"t_contract(IERC20)2094":{"label":"contract IERC20","encoding":"inplace","numberOfBytes":"20"},"t_array(t_uint256)49_storage":{"base":"t_uint256","label":"uint256[49]","encoding":"inplace","numberOfBytes":"1568"},"t_array(t_uint256)50_storage":{"base":"t_uint256","label":"uint256[50]","encoding":"inplace","numberOfBytes":"1600"},"t_struct(UserInfo)644_storage":{"label":"struct VeBeatStaking.UserInfo","members":[{"slot":"0","type":"t_uint256","astId":637,"label":"balance","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"1","type":"t_uint256","astId":639,"label":"rewardDebt","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"2","type":"t_uint256","astId":641,"label":"lastClaimTimestamp","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"3","type":"t_uint256","astId":643,"label":"speedUpEndTimestamp","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"}],"encoding":"inplace","numberOfBytes":"128"},"t_mapping(t_address,t_struct(UserInfo)644_storage)":{"key":"t_address","label":"mapping(address => struct VeBeatStaking.UserInfo)","value":"t_struct(UserInfo)644_storage","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_bool","astId":137,"label":"_initialized","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"0","type":"t_bool","astId":140,"label":"_initializing","offset":1,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"1","type":"t_array(t_uint256)50_storage","astId":465,"label":"__gap","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"51","type":"t_address","astId":10,"label":"_owner","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"52","type":"t_array(t_uint256)49_storage","astId":129,"label":"__gap","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"101","type":"t_contract(IERC20)2094","astId":647,"label":"beat","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"102","type":"t_contract(VeBeat)619","astId":650,"label":"veBeat","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"103","type":"t_uint256","astId":653,"label":"maxCapPct","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"104","type":"t_uint256","astId":656,"label":"upperLimitMaxCapPct","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"105","type":"t_uint256","astId":659,"label":"accVeBeatPerShare","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"106","type":"t_uint256","astId":662,"label":"ACC_VEBEAT_PER_SHARE_PRECISION","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"107","type":"t_uint256","astId":665,"label":"lastRewardTimestamp","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"108","type":"t_uint256","astId":668,"label":"veBeatPerSharePerSec","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"109","type":"t_uint256","astId":671,"label":"speedUpVeBeatPerSharePerSec","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"110","type":"t_uint256","astId":674,"label":"upperLimitVeBeatPerSharePerSec","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"111","type":"t_uint256","astId":677,"label":"VEBEAT_PER_SHARE_PER_SEC_PRECISION","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"112","type":"t_uint256","astId":680,"label":"speedUpThreshold","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"113","type":"t_uint256","astId":683,"label":"speedUpDuration","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"114","type":"t_mapping(t_address,t_struct(UserInfo)644_storage)","astId":688,"label":"userInfos","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"}]},"transientStorageLayout":null,"userdoc":{"kind":"user","notice":"Stake Beat to earn veBeat, which you can use to earn higher farm yields and gain voting power. Note that unstaking any amount of Beat will burn all of your existing veBeat.","methods":{"claim()":{"notice":"Claim any pending veBeat"},"maxCapPct()":{"notice":"The maximum limit of veBeat user can have as percentage points of staked Beat For example, if user has `n` Beat staked, they can own a maximum of `n * maxCapPct / 100` veBeat."},"deposit(uint256)":{"notice":"Deposits Beat to start staking for veBeat. Note that any pending veBeat will also be claimed in the process."},"speedUpDuration()":{"notice":"The length of time a user receives speed up benefits"},"withdraw(uint256)":{"notice":"Withdraw staked Beat. Note that unstaking any amount of Beat means you will lose all of your current veBeat."},"speedUpThreshold()":{"notice":"Percentage of user's current staked Beat user has to deposit in order to start receiving speed up benefits, in parts per 100."},"updateRewardVars()":{"notice":"Update reward variables"},"accVeBeatPerShare()":{"notice":"The accrued veBeat per share, scaled to `ACC_VEBEAT_PER_SHARE_PRECISION`"},"lastRewardTimestamp()":{"notice":"The last time that the reward variables were updated"},"setMaxCapPct(uint256)":{"notice":"Set maxCapPct"},"upperLimitMaxCapPct()":{"notice":"The upper limit of `maxCapPct`"},"veBeatPerSharePerSec()":{"notice":"veBeat per sec per Beat staked, scaled to `VEBEAT_PER_SHARE_PER_SEC_PRECISION`"},"getPendingVeBeat(address)":{"notice":"Get the pending amount of veBeat for a given user"},"initialize(address,address)":{"notice":"Initialize with needed parameters"},"setSpeedUpThreshold(uint256)":{"notice":"Set speedUpThreshold"},"speedUpVeBeatPerSharePerSec()":{"notice":"Speed up veBeat per sec per Beat staked, scaled to `VEBEAT_PER_SHARE_PER_SEC_PRECISION`"},"ACC_VEBEAT_PER_SHARE_PRECISION()":{"notice":"Precision of `accVeBeatPerShare`"},"setVeBeatPerSharePerSec(uint256)":{"notice":"Set veBeatPerSharePerSec"},"upperLimitVeBeatPerSharePerSec()":{"notice":"The upper limit of `veBeatPerSharePerSec` and `speedUpVeBeatPerSharePerSec`"},"VEBEAT_PER_SHARE_PER_SEC_PRECISION()":{"notice":"Precision of `veBeatPerSharePerSec`"}},"version":1},"devdoc":{"kind":"dev","title":"Vote Escrow Beat Staking","methods":{"owner()":{"details":"Returns the address of the current owner."},"deposit(uint256)":{"params":{"_amount":"The amount of Beat to deposit"}},"withdraw(uint256)":{"params":{"_amount":"The amount of Beat to unstake"}},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"setMaxCapPct(uint256)":{"params":{"_maxCapPct":"The new maxCapPct"}},"getPendingVeBeat(address)":{"params":{"_user":"The user to lookup"},"returns":{"_0":"The number of pending veBeat tokens for `_user`"}},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"initialize(address,address)":{"params":{"_beat":"Address of the Beat token contract","_veBeat":"Address of the veBeat token contract"}},"setSpeedUpThreshold(uint256)":{"params":{"_speedUpThreshold":"The new speedUpThreshold"}},"setVeBeatPerSharePerSec(uint256)":{"params":{"_veBeatPerSharePerSec":"The new veBeatPerSharePerSec"}}},"version":1,"stateVariables":{"speedUpThreshold":{"details":"Specifically, user has to deposit at least `speedUpThreshold/100 * userStakedBeat` Beat. The only exception is the user will also receive speed up benefits if they are depositing with zero balance"}}},"sourceIds":{"contracts/VeBeat.sol":{"id":4},"contracts/VeERC20.sol":{"id":6},"contracts/VeBeatStaking.sol":{"id":5},"contracts/helpers/Context.sol":{"id":7},"contracts/helpers/Ownable.sol":{"id":8},"contracts/library/Address.sol":{"id":11},"contracts/library/SafeMath.sol":{"id":13},"contracts/interfaces/IERC20.sol":{"id":9},"contracts/library/SafeERC20.sol":{"id":12},"contracts/interfaces/IVeERC20.sol":{"id":10},"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol":{"id":2},"@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol":{"id":3},"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol":{"id":0},"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol":{"id":1}},"additionalInput":null,"stdJsonInput":{"sources":{"contracts/VeBeat.sol":{"content":"// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"./helpers/Ownable.sol\";\n\nimport \"./VeERC20.sol\";\n\ninterface IBoostedMasterChef {\n    function updateFactor(address, uint256) external;\n}\n\n/// @title Vote Escrow Beat Token - veBeat\n/// @notice Infinite supply, used to receive extra farming yields and voting power\ncontract VeBeat is VeERC20(\"VeBeat Token\", \"VeBeat\"), Ownable {\n    /// @notice the BoostedMasterChef contract\n    IBoostedMasterChef public boostedMasterChef;\n    mapping(address => bool) public authControllers;\n\n    event UpdateBoostedMasterChef(address indexed user, address boostedMasterChef);\n\n    function setAuthControllers(address _contracts, bool _enable) external onlyOwner {\n        authControllers[_contracts] = _enable;\n    }\n\n    /// @dev Creates `_amount` token to `_to`. Must only be called by the auth controllers (VeBeatStaking)\n    /// @param _to The address that will receive the mint\n    /// @param _amount The amount to be minted\n    function mint(address _to, uint256 _amount) external {\n        require(authControllers[_msgSender()], \"no auth\");\n        _mint(_to, _amount);\n    }\n\n    /// @dev Destroys `_amount` tokens from `_from`. Callable only by the auth controllers (VeBeatStaking or VeBeatVote)\n    /// @param _from The address that will burn tokens\n    /// @param _amount The amount to be burned\n    function burnFrom(address _from, uint256 _amount) external {\n        require(authControllers[_msgSender()], \"no auth\");\n        _burn(_from, _amount);\n    }\n\n    /// @dev Sets the address of the master chef contract this updates\n    /// @param _boostedMasterChef the address of BoostedMasterChef\n    function setBoostedMasterChef(address _boostedMasterChef) external onlyOwner {\n        // We allow 0 address here if we want to disable the callback operations\n        boostedMasterChef = IBoostedMasterChef(_boostedMasterChef);\n\n        emit UpdateBoostedMasterChef(_msgSender(), _boostedMasterChef);\n    }\n\n    function _afterTokenOperation(address _account, uint256 _newBalance) internal override {\n        if (address(boostedMasterChef) != address(0)) {\n            boostedMasterChef.updateFactor(_account, _newBalance);\n        }\n    }\n\n    function renounceOwnership() public override onlyOwner view {\n        revert(\"VeBeatToken: Cannot renounce, can only transfer ownership\");\n    }\n}"},"contracts/VeERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"./helpers/Context.sol\";\nimport \"./interfaces/IVeERC20.sol\";\n\n/// @title VeERC20\n/// @notice Modified version of ERC20 where transfers and allowances are disabled.\n/// @dev Only minting and burning are allowed. The hook `_beforeTokenOperation` and\n/// `_afterTokenOperation` methods are called before and after minting/burning respectively.\ncontract VeERC20 is Context, IVeERC20 {\n    mapping(address => uint256) private _balances;\n\n    uint256 private _totalSupply;\n\n    string private _name;\n    string private _symbol;\n\n    /// @dev Emitted when `value` tokens are burned and minted\n    event Burn(address indexed account, uint256 value);\n    event Mint(address indexed beneficiary, uint256 value);\n\n    /**\n     * @dev Sets the values for {name} and {symbol}.\n     *\n     * The default value of {decimals} is 18. To select a different value for\n     * {decimals} you should overload it.\n     *\n     * All two of these values are immutable: they can only be set once during\n     * construction.\n     */\n    constructor(string memory name_, string memory symbol_) {\n        _name = name_;\n        _symbol = symbol_;\n    }\n\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() public view virtual returns (string memory) {\n        return _name;\n    }\n\n    /**\n     * @dev Returns the symbol of the token, usually a shorter version of the\n     * name.\n     */\n    function symbol() public view virtual returns (string memory) {\n        return _symbol;\n    }\n\n    /**\n     * @dev Returns the number of decimals used to get its user representation.\n     * For example, if `decimals` equals `2`, a balance of `505` tokens should\n     * be displayed to a user as `5.05` (`505 / 10 ** 2`).\n     *\n     * Tokens usually opt for a value of 18, imitating the relationship between\n     * Ether and Wei. This is the value {ERC20} uses, unless this function is\n     * overridden;\n     *\n     * NOTE: This information is only used for _display_ purposes: it in\n     * no way affects any of the arithmetic of the contract, including\n     * {IERC20-balanceOf} and {IERC20-transfer}.\n     */\n    function decimals() public view virtual returns (uint8) {\n        return 18;\n    }\n\n    /**\n     * @dev See {IERC20-totalSupply}.\n     */\n    function totalSupply() public view virtual override returns (uint256) {\n        return _totalSupply;\n    }\n\n    /**\n     * @dev See {IERC20-balanceOf}.\n     */\n    function balanceOf(address account) public view virtual override returns (uint256) {\n        return _balances[account];\n    }\n\n    /** @dev Creates `amount` tokens and assigns them to `account`, increasing\n     * the total supply.\n     *\n     * Emits a {Transfer} event with `from` set to the zero address.\n     *\n     * Requirements:\n     *\n     * - `account` cannot be the zero address.\n     */\n    function _mint(address account, uint256 amount) internal virtual {\n        require(account != address(0), \"ERC20: mint to the zero address\");\n\n        _beforeTokenOperation(address(0), account, amount);\n\n        _totalSupply += amount;\n        _balances[account] += amount;\n        emit Mint(account, amount);\n\n        _afterTokenOperation(account, _balances[account]);\n    }\n\n    /**\n     * @dev Destroys `amount` tokens from `account`, reducing the\n     * total supply.\n     *\n     * Emits a {Transfer} event with `to` set to the zero address.\n     *\n     * Requirements:\n     *\n     * - `account` cannot be the zero address.\n     * - `account` must have at least `amount` tokens.\n     */\n    function _burn(address account, uint256 amount) internal virtual {\n        require(account != address(0), \"ERC20: burn from the zero address\");\n\n        _beforeTokenOperation(account, address(0), amount);\n\n        uint256 accountBalance = _balances[account];\n        require(accountBalance >= amount, \"ERC20: burn amount exceeds balance\");\n        _balances[account] = accountBalance - amount;\n        _totalSupply -= amount;\n\n        emit Burn(account, amount);\n\n        _afterTokenOperation(account, _balances[account]);\n    }\n\n    /**\n     * @dev Hook that is called before any minting and burning.\n     * @param from the account transferring tokens\n     * @param to the account receiving tokens\n     * @param amount the amount being minted or burned\n     */\n    function _beforeTokenOperation(\n        address from,\n        address to,\n        uint256 amount\n    ) internal virtual {}\n\n    /**\n     * @dev Hook that is called after any minting and burning.\n     * @param account the account being affected\n     * @param newBalance the new balance of `account` after minting/burning\n     */\n    function _afterTokenOperation(address account, uint256 newBalance) internal virtual {}\n}"},"contracts/VeBeatStaking.sol":{"content":"// SPDX-License-Identifier: MIT\n\npragma solidity 0.8.0;\n\nimport \"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol\";\nimport \"./library/SafeERC20.sol\";\nimport \"./library/SafeMath.sol\";\nimport \"./VeBeat.sol\";\n\n/// @title Vote Escrow Beat Staking\n/// @notice Stake Beat to earn veBeat, which you can use to earn higher farm yields and gain\n/// voting power. Note that unstaking any amount of Beat will burn all of your existing veBeat.\ncontract VeBeatStaking is  OwnableUpgradeable {\n    using SafeMath for uint256;\n    using SafeERC20 for IERC20;\n\n    /// @notice Info for each user\n    /// `balance`: Amount of Beat currently staked by user\n    /// `rewardDebt`: The reward debt of the user\n    /// `lastClaimTimestamp`: The timestamp of user's last claim or withdraw\n    /// `speedUpEndTimestamp`: The timestamp when user stops receiving speed up benefits, or\n    /// zero if user is not currently receiving speed up benefits\n    struct UserInfo {\n        uint256 balance;\n        uint256 rewardDebt;\n        uint256 lastClaimTimestamp;\n        uint256 speedUpEndTimestamp;\n        /**\n         * @notice We do some fancy math here. Basically, any point in time, the amount of veBeat\n         * entitled to a user but is pending to be distributed is:\n         *\n         *   pendingReward = pendingBaseReward + pendingSpeedUpReward\n         *\n         *   pendingBaseReward = (user.balance * accVeBeatPerShare) - user.rewardDebt\n         *\n         *   if user.speedUpEndTimestamp != 0:\n         *     speedUpCeilingTimestamp = min(block.timestamp, user.speedUpEndTimestamp)\n         *     speedUpSecondsElapsed = speedUpCeilingTimestamp - user.lastClaimTimestamp\n         *     pendingSpeedUpReward = speedUpSecondsElapsed * user.balance * speedUpVeBeatPerSharePerSec\n         *   else:\n         *     pendingSpeedUpReward = 0\n         */\n    }\n\n    IERC20 public beat;\n    VeBeat public veBeat;\n\n    /// @notice The maximum limit of veBeat user can have as percentage points of staked Beat\n    /// For example, if user has `n` Beat staked, they can own a maximum of `n * maxCapPct / 100` veBeat.\n    uint256 public maxCapPct;\n\n    /// @notice The upper limit of `maxCapPct`\n    uint256 public upperLimitMaxCapPct;\n\n    /// @notice The accrued veBeat per share, scaled to `ACC_VEBEAT_PER_SHARE_PRECISION`\n    uint256 public accVeBeatPerShare;\n\n    /// @notice Precision of `accVeBeatPerShare`\n    uint256 public ACC_VEBEAT_PER_SHARE_PRECISION;\n\n    /// @notice The last time that the reward variables were updated\n    uint256 public lastRewardTimestamp;\n\n    /// @notice veBeat per sec per Beat staked, scaled to `VEBEAT_PER_SHARE_PER_SEC_PRECISION`\n    uint256 public veBeatPerSharePerSec;\n\n    /// @notice Speed up veBeat per sec per Beat staked, scaled to `VEBEAT_PER_SHARE_PER_SEC_PRECISION`\n    uint256 public speedUpVeBeatPerSharePerSec;\n\n    /// @notice The upper limit of `veBeatPerSharePerSec` and `speedUpVeBeatPerSharePerSec`\n    uint256 public upperLimitVeBeatPerSharePerSec;\n\n    /// @notice Precision of `veBeatPerSharePerSec`\n    uint256 public VEBEAT_PER_SHARE_PER_SEC_PRECISION;\n\n    /// @notice Percentage of user's current staked Beat user has to deposit in order to start\n    /// receiving speed up benefits, in parts per 100.\n    /// @dev Specifically, user has to deposit at least `speedUpThreshold/100 * userStakedBeat` Beat.\n    /// The only exception is the user will also receive speed up benefits if they are depositing\n    /// with zero balance\n    uint256 public speedUpThreshold;\n\n    /// @notice The length of time a user receives speed up benefits\n    uint256 public speedUpDuration;\n\n    mapping(address => UserInfo) public userInfos;\n\n    event Claim(address indexed user, uint256 amount);\n    event Deposit(address indexed user, uint256 amount);\n    event UpdateMaxCapPct(address indexed user, uint256 maxCapPct);\n    event UpdateRewardVars(uint256 lastRewardTimestamp, uint256 accVeBeatPerShare);\n    event UpdateSpeedUpThreshold(address indexed user, uint256 speedUpThreshold);\n    event UpdateVeBeatPerSharePerSec(address indexed user, uint256 veBeatPerSharePerSec);\n    event Withdraw(address indexed user, uint256 withdrawAmount, uint256 burnAmount);\n\n    /// @notice Initialize with needed parameters\n    /// @param _beat Address of the Beat token contract\n    /// @param _veBeat Address of the veBeat token contract\n    function initialize(\n        IERC20 _beat,\n        VeBeat _veBeat\n    ) public initializer {\n        __Ownable_init();\n\n        require(address(_beat) != address(0), \"VeBeatStaking: unexpected zero address for _beat\");\n        require(address(_veBeat) != address(0), \"VeBeatStaking: unexpected zero address for _veBeat\");\n\n        upperLimitVeBeatPerSharePerSec = 1e36;\n        upperLimitMaxCapPct = 10000000;\n\n        maxCapPct = 10000;\n        speedUpThreshold = 5;\n        speedUpDuration = 15 days;\n        beat = _beat;\n        veBeat = _veBeat;\n        uint256 temp = 100 ether;\n        veBeatPerSharePerSec = temp / 365 days;\n        speedUpVeBeatPerSharePerSec = veBeatPerSharePerSec;\n        lastRewardTimestamp = block.timestamp;\n        ACC_VEBEAT_PER_SHARE_PRECISION = 1e18;\n        VEBEAT_PER_SHARE_PER_SEC_PRECISION = 1e18;\n    }\n\n    function setBeat(address _beat) external onlyOwner {\n        require(_beat != address(0));\n        beat = IERC20(_beat);\n    }\n\n    /// @notice Set maxCapPct\n    /// @param _maxCapPct The new maxCapPct\n    function setMaxCapPct(uint256 _maxCapPct) external onlyOwner {\n        require(_maxCapPct > maxCapPct, \"VeBeatStaking: expected new _maxCapPct to be greater than existing maxCapPct\");\n        require(\n            _maxCapPct != 0 && _maxCapPct <= upperLimitMaxCapPct,\n            \"VeBeatStaking: expected new _maxCapPct to be non-zero and <= 10000000\"\n        );\n        maxCapPct = _maxCapPct;\n        emit UpdateMaxCapPct(_msgSender(), _maxCapPct);\n    }\n\n    /// @notice Set veBeatPerSharePerSec\n    /// @param _veBeatPerSharePerSec The new veBeatPerSharePerSec\n    function setVeBeatPerSharePerSec(uint256 _veBeatPerSharePerSec) external onlyOwner {\n        require(\n            _veBeatPerSharePerSec <= upperLimitVeBeatPerSharePerSec,\n            \"VeBeatStaking: expected _veBeatPerSharePerSec to be <= 1e36\"\n        );\n        updateRewardVars();\n        veBeatPerSharePerSec = _veBeatPerSharePerSec;\n        emit UpdateVeBeatPerSharePerSec(_msgSender(), _veBeatPerSharePerSec);\n    }\n\n    /// @notice Set speedUpThreshold\n    /// @param _speedUpThreshold The new speedUpThreshold\n    function setSpeedUpThreshold(uint256 _speedUpThreshold) external onlyOwner {\n        require(\n            _speedUpThreshold != 0 && _speedUpThreshold <= 100,\n            \"VeBeatStaking: expected _speedUpThreshold to be > 0 and <= 100\"\n        );\n        speedUpThreshold = _speedUpThreshold;\n        emit UpdateSpeedUpThreshold(_msgSender(), _speedUpThreshold);\n    }\n\n    /// @notice Deposits Beat to start staking for veBeat. Note that any pending veBeat\n    /// will also be claimed in the process.\n    /// @param _amount The amount of Beat to deposit\n    function deposit(uint256 _amount) external {\n        require(_amount > 0, \"VeBeatStaking: expected deposit amount to be greater than zero\");\n\n        updateRewardVars();\n\n        UserInfo storage userInfo = userInfos[_msgSender()];\n\n        if (_getUserHasNonZeroBalance(_msgSender())) {\n            // Transfer to the user their pending veBeat before updating their UserInfo\n            _claim();\n\n            // We need to update user's `lastClaimTimestamp` to now to prevent\n            // passive veBeat accrual if user hit their max cap.\n            userInfo.lastClaimTimestamp = block.timestamp;\n\n            uint256 userStakedBeat = userInfo.balance;\n\n            // User is eligible for speed up benefits if `_amount` is at least\n            // `speedUpThreshold / 100 * userStakedBeat`\n            if (_amount.mul(100) >= speedUpThreshold.mul(userStakedBeat)) {\n                userInfo.speedUpEndTimestamp = block.timestamp.add(speedUpDuration);\n            }\n        } else {\n            // If user is depositing with zero balance, they will automatically\n            // receive speed up benefits\n            userInfo.speedUpEndTimestamp = block.timestamp.add(speedUpDuration);\n            userInfo.lastClaimTimestamp = block.timestamp;\n        }\n\n        userInfo.balance = userInfo.balance.add(_amount);\n        userInfo.rewardDebt = accVeBeatPerShare.mul(userInfo.balance).div(ACC_VEBEAT_PER_SHARE_PRECISION);\n\n        beat.safeTransferFrom(_msgSender(), address(this), _amount);\n\n        emit Deposit(_msgSender(), _amount);\n    }\n\n    /// @notice Withdraw staked Beat. Note that unstaking any amount of Beat means you will\n    /// lose all of your current veBeat.\n    /// @param _amount The amount of Beat to unstake\n    function withdraw(uint256 _amount) external {\n        require(_amount > 0, \"VeBeatStaking: expected withdraw amount to be greater than zero\");\n\n        UserInfo storage userInfo = userInfos[_msgSender()];\n\n        require(\n            userInfo.balance >= _amount,\n            \"VeBeatStaking: cannot withdraw greater amount of Beat than currently staked\"\n        );\n        updateRewardVars();\n\n        // Note that we don't need to claim as the user's veBeat balance will be reset to 0\n        userInfo.balance = userInfo.balance.sub(_amount);\n        userInfo.rewardDebt = accVeBeatPerShare.mul(userInfo.balance).div(ACC_VEBEAT_PER_SHARE_PRECISION);\n        userInfo.lastClaimTimestamp = block.timestamp;\n        userInfo.speedUpEndTimestamp = 0;\n\n        // Burn the user's current veBeat balance\n        uint256 userVeBeatBalance = veBeat.balanceOf(_msgSender());\n        veBeat.burnFrom(_msgSender(), userVeBeatBalance);\n\n        // Send user their requested amount of staked Beat\n        beat.safeTransfer(_msgSender(), _amount);\n\n        emit Withdraw(_msgSender(), _amount, userVeBeatBalance);\n    }\n\n    /// @notice Claim any pending veBeat\n    function claim() external {\n        require(_getUserHasNonZeroBalance(_msgSender()), \"VeBeatStaking: cannot claim veBeat when no Beat is staked\");\n        updateRewardVars();\n        _claim();\n    }\n\n    /// @notice Get the pending amount of veBeat for a given user\n    /// @param _user The user to lookup\n    /// @return The number of pending veBeat tokens for `_user`\n    function getPendingVeBeat(address _user) public view returns (uint256) {\n        if (!_getUserHasNonZeroBalance(_user)) {\n            return 0;\n        }\n\n        UserInfo memory user = userInfos[_user];\n\n        // Calculate amount of pending base veBeat\n        uint256 _accVeBeatPerShare = accVeBeatPerShare;\n        uint256 secondsElapsed = block.timestamp.sub(lastRewardTimestamp);\n        if (secondsElapsed > 0) {\n            _accVeBeatPerShare = _accVeBeatPerShare.add(\n                secondsElapsed.mul(veBeatPerSharePerSec).mul(ACC_VEBEAT_PER_SHARE_PRECISION).div(\n                    VEBEAT_PER_SHARE_PER_SEC_PRECISION\n                )\n            );\n        }\n        uint256 pendingBaseVeBeat = _accVeBeatPerShare.mul(user.balance).div(ACC_VEBEAT_PER_SHARE_PRECISION).sub(\n            user.rewardDebt\n        );\n\n        // Calculate amount of pending speed up veBeat\n        uint256 pendingSpeedUpVeBeat;\n        if (user.speedUpEndTimestamp != 0) {\n            uint256 speedUpCeilingTimestamp = block.timestamp > user.speedUpEndTimestamp\n                ? user.speedUpEndTimestamp\n                : block.timestamp;\n            uint256 speedUpSecondsElapsed = speedUpCeilingTimestamp.sub(user.lastClaimTimestamp);\n            uint256 speedUpAccVeBeatPerShare = speedUpSecondsElapsed.mul(speedUpVeBeatPerSharePerSec);\n            pendingSpeedUpVeBeat = speedUpAccVeBeatPerShare.mul(user.balance).div(VEBEAT_PER_SHARE_PER_SEC_PRECISION);\n        }\n\n        uint256 pendingVeBeat = pendingBaseVeBeat.add(pendingSpeedUpVeBeat);\n\n        // Get the user's current veBeat balance\n        uint256 userVeBeatBalance = veBeat.balanceOf(_user);\n\n        // This is the user's max veBeat cap multiplied by 100\n        uint256 scaledUserMaxVeBeatCap = user.balance.mul(maxCapPct);\n\n        if (userVeBeatBalance.mul(100) >= scaledUserMaxVeBeatCap) {\n            // User already holds maximum amount of veBeat so there is no pending veBeat\n            return 0;\n        } else if (userVeBeatBalance.add(pendingVeBeat).mul(100) > scaledUserMaxVeBeatCap) {\n            return scaledUserMaxVeBeatCap.sub(userVeBeatBalance.mul(100)).div(100);\n        } else {\n            return pendingVeBeat;\n        }\n    }\n\n    /// @notice Update reward variables\n    function updateRewardVars() public {\n        if (block.timestamp <= lastRewardTimestamp) {\n            return;\n        }\n\n        if (beat.balanceOf(address(this)) == 0) {\n            lastRewardTimestamp = block.timestamp;\n            return;\n        }\n\n        uint256 secondsElapsed = block.timestamp.sub(lastRewardTimestamp);\n        accVeBeatPerShare = accVeBeatPerShare.add(\n            secondsElapsed.mul(veBeatPerSharePerSec).mul(ACC_VEBEAT_PER_SHARE_PRECISION).div(\n                VEBEAT_PER_SHARE_PER_SEC_PRECISION\n            )\n        );\n        lastRewardTimestamp = block.timestamp;\n\n        emit UpdateRewardVars(lastRewardTimestamp, accVeBeatPerShare);\n    }\n\n    function veBeatStakingInfo(address _user) public view returns (\n        uint256 totalStakingBeatAmount_,\n        uint256 veBeatTotalSupply_,\n        uint256 maxCapPct_,\n        uint256 speedUpThreshold_,\n        uint256 speedUpDuration_,\n        uint256 stakingBeatAmount_,\n        uint256 pendingVeBeatAmount_,\n        uint256 balanceOfBeat_,\n        uint256 balanceOfVeBeat_,\n        uint256 speedUpEndTimestamp_,\n        uint256 veBeatRewardPerDay_ \n    ){\n        totalStakingBeatAmount_ = beat.balanceOf(address(this));\n        veBeatTotalSupply_ = veBeat.totalSupply();\n        maxCapPct_ = maxCapPct;\n        speedUpThreshold_ = speedUpThreshold;\n        speedUpDuration_ = speedUpDuration;\n        if (_user != address(0)) {\n            UserInfo memory userInfo = userInfos[_user];\n            stakingBeatAmount_ = userInfo.balance;\n            pendingVeBeatAmount_ = getPendingVeBeat(_user);\n            balanceOfBeat_ = beat.balanceOf(_user);\n            balanceOfVeBeat_ = veBeat.balanceOf(_user);\n            speedUpEndTimestamp_ = userInfo.speedUpEndTimestamp;\n            uint256 veBeatPerSec = veBeatPerSharePerSec + ((speedUpEndTimestamp_ > block.timestamp) ? speedUpVeBeatPerSharePerSec : 0);\n            veBeatRewardPerDay_ = veBeatPerSec * 24 * 3600 * stakingBeatAmount_ / 1e18;\n        }\n    }\n\n    /// @notice Checks to see if a given user currently has staked Beat\n    /// @param _user The user address to check\n    /// @return Whether `_user` currently has staked Beat\n    function _getUserHasNonZeroBalance(address _user) private view returns (bool) {\n        return userInfos[_user].balance > 0;\n    }\n\n    /// @dev Helper to claim any pending veBeat\n    function _claim() private {\n        uint256 veBeatToClaim = getPendingVeBeat(_msgSender());\n\n        UserInfo storage userInfo = userInfos[_msgSender()];\n\n        userInfo.rewardDebt = accVeBeatPerShare.mul(userInfo.balance).div(ACC_VEBEAT_PER_SHARE_PRECISION);\n\n        // If user's speed up period has ended, reset `speedUpEndTimestamp` to 0\n        if (userInfo.speedUpEndTimestamp != 0 && block.timestamp >= userInfo.speedUpEndTimestamp) {\n            userInfo.speedUpEndTimestamp = 0;\n        }\n\n        if (veBeatToClaim > 0) {\n            userInfo.lastClaimTimestamp = block.timestamp;\n\n            veBeat.mint(_msgSender(), veBeatToClaim);\n            emit Claim(_msgSender(), veBeatToClaim);\n        }\n    }\n}"},"contracts/helpers/Context.sol":{"content":"// SPDX-License-Identifier: MIT\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}"},"contracts/helpers/Ownable.sol":{"content":"// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"./Context.sol\";\n\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * By default, the owner account will be the one that deploys the contract. This\n * can later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract Ownable is Context {\n    address private _owner;\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Initializes the contract setting the deployer as the initial owner.\n     */\n    constructor() {\n        _setOwner(_msgSender());\n    }\n\n    /**\n     * @dev Returns the address of the current owner.\n     */\n    function owner() public view virtual returns (address) {\n        return _owner;\n    }\n\n    /**\n     * @dev Throws if called by any account other than the owner.\n     */\n    modifier onlyOwner() {\n        require(owner() == _msgSender(), \"Ownable: caller is not the owner\");\n        _;\n    }\n\n    /**\n     * @dev Leaves the contract without owner. It will not be possible to call\n     * `onlyOwner` functions anymore. Can only be called by the current owner.\n     *\n     * NOTE: Renouncing ownership will leave the contract without an owner,\n     * thereby removing any functionality that is only available to the owner.\n     */\n    function renounceOwnership() public virtual onlyOwner {\n        _setOwner(address(0));\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Can only be called by the current owner.\n     */\n    function transferOwnership(address newOwner) public virtual onlyOwner {\n        require(newOwner != address(0), \"Ownable: new owner is the zero address\");\n        _setOwner(newOwner);\n    }\n\n    function _setOwner(address newOwner) private {\n        address oldOwner = _owner;\n        _owner = newOwner;\n        emit OwnershipTransferred(oldOwner, newOwner);\n    }\n}\n"},"contracts/library/Address.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.0;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\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    function isContract(address account) internal view returns (bool) {\n        // This method relies in extcodesize, which returns 0 for contracts in\n        // construction, since the code is only stored at the end of the\n        // constructor execution.\n\n        uint256 size;\n        // solhint-disable-next-line no-inline-assembly\n        assembly { size := extcodesize(account) }\n        return size > 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        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\n        (bool success, ) = recipient.call{ value: amount }(\"\");\n        require(success, \"Address: unable to send value, recipient may have reverted\");\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) internal returns (bytes memory) {\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(address target, bytes memory data, string memory errorMessage) 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(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\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(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\n        require(address(this).balance >= value, \"Address: insufficient balance for call\");\n        return _functionCallWithValue(target, data, value, errorMessage);\n    }\n\n    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {\n        require(isContract(target), \"Address: call to non-contract\");\n\n        // solhint-disable-next-line avoid-low-level-calls\n        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);\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\n                // solhint-disable-next-line no-inline-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}"},"contracts/library/SafeMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.0;\n\n/**\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\n * checks.\n *\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\n * in bugs, because programmers usually assume that an overflow raises an\n * error, which is the standard behavior in high level programming languages.\n * `SafeMath` restores this intuition by reverting the transaction when an\n * operation overflows.\n *\n * Using this library instead of the unchecked operations eliminates an entire\n * class of bugs, so it's recommended to use it always.\n */\nlibrary SafeMath {\n    /**\n     * @dev Returns the addition of two unsigned integers, reverting on\n     * overflow.\n     *\n     * Counterpart to Solidity's `+` operator.\n     *\n     * Requirements:\n     *\n     * - Addition cannot overflow.\n     */\n    function add(uint256 a, uint256 b) internal pure returns (uint256) {\n        uint256 c = a + b;\n        require(c >= a, \"SafeMath: addition overflow\");\n\n        return c;\n    }\n\n    /**\n     * @dev Returns the subtraction of two unsigned integers, reverting on\n     * overflow (when the result is negative).\n     *\n     * Counterpart to Solidity's `-` operator.\n     *\n     * Requirements:\n     *\n     * - Subtraction cannot overflow.\n     */\n    function sub(uint256 a, uint256 b) internal pure returns (uint256) {\n        return sub(a, b, \"SafeMath: subtraction overflow\");\n    }\n\n    /**\n     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n     * overflow (when the result is negative).\n     *\n     * Counterpart to Solidity's `-` operator.\n     *\n     * Requirements:\n     *\n     * - Subtraction cannot overflow.\n     */\n    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n        require(b <= a, errorMessage);\n        uint256 c = a - b;\n\n        return c;\n    }\n\n    /**\n     * @dev Returns the multiplication of two unsigned integers, reverting on\n     * overflow.\n     *\n     * Counterpart to Solidity's `*` operator.\n     *\n     * Requirements:\n     *\n     * - Multiplication cannot overflow.\n     */\n    function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n        // benefit is lost if 'b' is also tested.\n        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\n        if (a == 0) {\n            return 0;\n        }\n\n        uint256 c = a * b;\n        require(c / a == b, \"SafeMath: multiplication overflow\");\n\n        return c;\n    }\n\n    /**\n     * @dev Returns the integer division of two unsigned integers. Reverts on\n     * division by zero. The result is rounded towards zero.\n     *\n     * Counterpart to Solidity's `/` operator. Note: this function uses a\n     * `revert` opcode (which leaves remaining gas untouched) while Solidity\n     * uses an invalid opcode to revert (consuming all remaining gas).\n     *\n     * Requirements:\n     *\n     * - The divisor cannot be zero.\n     */\n    function div(uint256 a, uint256 b) internal pure returns (uint256) {\n        return div(a, b, \"SafeMath: division by zero\");\n    }\n\n    /**\n     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on\n     * division by zero. The result is rounded towards zero.\n     *\n     * Counterpart to Solidity's `/` operator. Note: this function uses a\n     * `revert` opcode (which leaves remaining gas untouched) while Solidity\n     * uses an invalid opcode to revert (consuming all remaining gas).\n     *\n     * Requirements:\n     *\n     * - The divisor cannot be zero.\n     */\n    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n        require(b > 0, errorMessage);\n        uint256 c = a / b;\n        // assert(a == b * c + a % b); // There is no case in which this doesn't hold\n\n        return c;\n    }\n\n    /**\n     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n     * Reverts when dividing by zero.\n     *\n     * Counterpart to Solidity's `%` operator. This function uses a `revert`\n     * opcode (which leaves remaining gas untouched) while Solidity uses an\n     * invalid opcode to revert (consuming all remaining gas).\n     *\n     * Requirements:\n     *\n     * - The divisor cannot be zero.\n     */\n    function mod(uint256 a, uint256 b) internal pure returns (uint256) {\n        return mod(a, b, \"SafeMath: modulo by zero\");\n    }\n\n    /**\n     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n     * Reverts with custom message when dividing by zero.\n     *\n     * Counterpart to Solidity's `%` operator. This function uses a `revert`\n     * opcode (which leaves remaining gas untouched) while Solidity uses an\n     * invalid opcode to revert (consuming all remaining gas).\n     *\n     * Requirements:\n     *\n     * - The divisor cannot be zero.\n     */\n    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n        require(b != 0, errorMessage);\n        return a % b;\n    }\n\n    function sqrrt(uint256 a) internal pure returns (uint c) {\n        if (a > 3) {\n            c = a;\n            uint b = add( div( a, 2), 1 );\n            while (b < c) {\n                c = b;\n                b = div( add( div( a, b ), b), 2 );\n            }\n        } else if (a != 0) {\n            c = 1;\n        }\n    }\n\n    function min(uint x, uint y) internal pure returns (uint z) {\n        z = x < y ? x : y;\n    }\n}"},"contracts/interfaces/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\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 `recipient`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address recipient, 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) external view 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 `sender` to `recipient` 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 sender,\n        address recipient,\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}"},"contracts/library/SafeERC20.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.0;\n\nimport \"./SafeMath.sol\";\nimport \"./Address.sol\";\nimport \"../interfaces/IERC20.sol\";\n\n/**\n * @title SafeERC20\n * @dev Wrappers around ERC20 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    using SafeMath for uint256;\n    using Address for address;\n\n    function safeTransfer(IERC20 token, address to, uint256 value) internal {\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\n    }\n\n    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\n    }\n\n    function safeTransferETH(address to, uint256 value) internal {\n        (bool success, ) = to.call{value: value}(new bytes(0));\n        require(success, \"!safeTransferETH\");\n    }\n\n    /**\n     * @dev Deprecated. This function has issues similar to the ones found in\n     * {IERC20-approve}, and its usage is discouraged.\n     *\n     * Whenever possible, use {safeIncreaseAllowance} and\n     * {safeDecreaseAllowance} instead.\n     */\n    function safeApprove(IERC20 token, address spender, uint256 value) internal {\n        // safeApprove should only be called when setting an initial allowance,\n        // or when resetting it to zero. To increase and decrease it, use\n        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\n        // solhint-disable-next-line max-line-length\n        require((value == 0) || (token.allowance(address(this), spender) == 0),\n            \"SafeERC20: approve from non-zero to non-zero allowance\"\n        );\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\n    }\n\n    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\n        uint256 newAllowance = token.allowance(address(this), spender).add(value);\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\n    }\n\n    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {\n        uint256 newAllowance = token.allowance(address(this), spender).sub(value, \"SafeERC20: decreased allowance below zero\");\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\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    function _callOptionalReturn(IERC20 token, bytes memory data) private {\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\n        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that\n        // the target address contains contract code and also asserts for success in the low-level call.\n\n        bytes memory returndata = address(token).functionCall(data, \"SafeERC20: low-level call failed\");\n        if (returndata.length > 0) { // Return data is optional\n            // solhint-disable-next-line max-line-length\n            require(abi.decode(returndata, (bool)), \"SafeERC20: ERC20 operation did not succeed\");\n        }\n    }\n}"},"contracts/interfaces/IVeERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\n/// @title Vote Escrow ERC20 Token Interface\n/// @author Trader Joe\n/// @notice Interface of a ERC20 token used for vote escrow. Notice that transfers and\n/// allowances are disabled\ninterface IVeERC20 {\n    function totalSupply() external view returns (uint256);\n\n    function balanceOf(address account) external view returns (uint256);\n}\n"},"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\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    function isContract(address account) internal view returns (bool) {\n        // This method relies on extcodesize, which returns 0 for contracts in\n        // construction, since the code is only stored at the end of the\n        // constructor execution.\n\n        uint256 size;\n        // solhint-disable-next-line no-inline-assembly\n        assembly { size := extcodesize(account) }\n        return size > 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        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\n        (bool success, ) = recipient.call{ value: amount }(\"\");\n        require(success, \"Address: unable to send value, recipient may have reverted\");\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) internal returns (bytes memory) {\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(address target, bytes memory data, string memory errorMessage) 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(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\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(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\n        require(address(this).balance >= value, \"Address: insufficient balance for call\");\n        require(isContract(target), \"Address: call to non-contract\");\n\n        // solhint-disable-next-line avoid-low-level-calls\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) internal view returns (bytes memory) {\n        return 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(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\n        require(isContract(target), \"Address: static call to non-contract\");\n\n        // solhint-disable-next-line avoid-low-level-calls\n        (bool success, bytes memory returndata) = target.staticcall(data);\n        return _verifyCallResult(success, returndata, errorMessage);\n    }\n\n    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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\n                // solhint-disable-next-line no-inline-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"},"@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\nimport \"../proxy/utils/Initializable.sol\";\n\n/*\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract ContextUpgradeable is Initializable {\n    function __Context_init() internal initializer {\n        __Context_init_unchained();\n    }\n\n    function __Context_init_unchained() internal initializer {\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        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\n        return msg.data;\n    }\n    uint256[50] private __gap;\n}\n"},"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"../utils/ContextUpgradeable.sol\";\nimport \"../proxy/utils/Initializable.sol\";\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * By default, the owner account will be the one that deploys the contract. This\n * can later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {\n    address private _owner;\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Initializes the contract setting the deployer as the initial owner.\n     */\n    function __Ownable_init() internal initializer {\n        __Context_init_unchained();\n        __Ownable_init_unchained();\n    }\n\n    function __Ownable_init_unchained() internal initializer {\n        address msgSender = _msgSender();\n        _owner = msgSender;\n        emit OwnershipTransferred(address(0), msgSender);\n    }\n\n    /**\n     * @dev Returns the address of the current owner.\n     */\n    function owner() public view virtual returns (address) {\n        return _owner;\n    }\n\n    /**\n     * @dev Throws if called by any account other than the owner.\n     */\n    modifier onlyOwner() {\n        require(owner() == _msgSender(), \"Ownable: caller is not the owner\");\n        _;\n    }\n\n    /**\n     * @dev Leaves the contract without owner. It will not be possible to call\n     * `onlyOwner` functions anymore. Can only be called by the current owner.\n     *\n     * NOTE: Renouncing ownership will leave the contract without an owner,\n     * thereby removing any functionality that is only available to the owner.\n     */\n    function renounceOwnership() public virtual onlyOwner {\n        emit OwnershipTransferred(_owner, address(0));\n        _owner = address(0);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Can only be called by the current owner.\n     */\n    function transferOwnership(address newOwner) public virtual onlyOwner {\n        require(newOwner != address(0), \"Ownable: new owner is the zero address\");\n        emit OwnershipTransferred(_owner, newOwner);\n        _owner = newOwner;\n    }\n    uint256[49] private __gap;\n}\n"},"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol":{"content":"// SPDX-License-Identifier: MIT\n\n// solhint-disable-next-line compiler-version\npragma solidity ^0.8.0;\n\nimport \"../../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 a proxied contract can't have 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 * 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 {UpgradeableProxy-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 */\nabstract contract Initializable {\n\n    /**\n     * @dev Indicates that the contract has been initialized.\n     */\n    bool 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 Modifier to protect an initializer function from being invoked twice.\n     */\n    modifier initializer() {\n        require(_initializing || !_initialized, \"Initializable: contract is already initialized\");\n\n        bool isTopLevelCall = !_initializing;\n        if (isTopLevelCall) {\n            _initializing = true;\n            _initialized = true;\n        }\n\n        _;\n\n        if (isTopLevelCall) {\n            _initializing = false;\n        }\n    }\n}\n"}},"language":"Solidity","settings":{"libraries":{},"optimizer":{"runs":200,"enabled":true}}},"stdJsonOutput":{"sources":{"contracts/VeBeat.sol":{"id":4},"contracts/VeERC20.sol":{"id":6},"contracts/VeBeatStaking.sol":{"id":5},"contracts/helpers/Context.sol":{"id":7},"contracts/helpers/Ownable.sol":{"id":8},"contracts/library/Address.sol":{"id":11},"contracts/library/SafeMath.sol":{"id":13},"contracts/interfaces/IERC20.sol":{"id":9},"contracts/library/SafeERC20.sol":{"id":12},"contracts/interfaces/IVeERC20.sol":{"id":10},"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol":{"id":2},"@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol":{"id":3},"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol":{"id":0},"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol":{"id":1}},"contracts":{"contracts/VeBeatStaking.sol":{"VeBeatStaking":{"abi":[{"name":"Claim","type":"event","inputs":[{"name":"user","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Deposit","type":"event","inputs":[{"name":"user","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"OwnershipTransferred","type":"event","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"UpdateMaxCapPct","type":"event","inputs":[{"name":"user","type":"address","indexed":true,"internalType":"address"},{"name":"maxCapPct","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"UpdateRewardVars","type":"event","inputs":[{"name":"lastRewardTimestamp","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"accVeBeatPerShare","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"UpdateSpeedUpThreshold","type":"event","inputs":[{"name":"user","type":"address","indexed":true,"internalType":"address"},{"name":"speedUpThreshold","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"UpdateVeBeatPerSharePerSec","type":"event","inputs":[{"name":"user","type":"address","indexed":true,"internalType":"address"},{"name":"veBeatPerSharePerSec","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Withdraw","type":"event","inputs":[{"name":"user","type":"address","indexed":true,"internalType":"address"},{"name":"withdrawAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"burnAmount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"ACC_VEBEAT_PER_SHARE_PRECISION","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"VEBEAT_PER_SHARE_PER_SEC_PRECISION","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"accVeBeatPerShare","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"beat","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IERC20"}],"stateMutability":"view"},{"name":"claim","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"deposit","type":"function","inputs":[{"name":"_amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"getPendingVeBeat","type":"function","inputs":[{"name":"_user","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"initialize","type":"function","inputs":[{"name":"_beat","type":"address","internalType":"contract IERC20"},{"name":"_veBeat","type":"address","internalType":"contract VeBeat"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"lastRewardTimestamp","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"maxCapPct","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"owner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"renounceOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"setBeat","type":"function","inputs":[{"name":"_beat","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setMaxCapPct","type":"function","inputs":[{"name":"_maxCapPct","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setSpeedUpThreshold","type":"function","inputs":[{"name":"_speedUpThreshold","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setVeBeatPerSharePerSec","type":"function","inputs":[{"name":"_veBeatPerSharePerSec","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"speedUpDuration","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"speedUpThreshold","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"speedUpVeBeatPerSharePerSec","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"transferOwnership","type":"function","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"updateRewardVars","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"upperLimitMaxCapPct","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"upperLimitVeBeatPerSharePerSec","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"userInfos","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"balance","type":"uint256","internalType":"uint256"},{"name":"rewardDebt","type":"uint256","internalType":"uint256"},{"name":"lastClaimTimestamp","type":"uint256","internalType":"uint256"},{"name":"speedUpEndTimestamp","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"veBeat","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract VeBeat"}],"stateMutability":"view"},{"name":"veBeatPerSharePerSec","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"veBeatStakingInfo","type":"function","inputs":[{"name":"_user","type":"address","internalType":"address"}],"outputs":[{"name":"totalStakingBeatAmount_","type":"uint256","internalType":"uint256"},{"name":"veBeatTotalSupply_","type":"uint256","internalType":"uint256"},{"name":"maxCapPct_","type":"uint256","internalType":"uint256"},{"name":"speedUpThreshold_","type":"uint256","internalType":"uint256"},{"name":"speedUpDuration_","type":"uint256","internalType":"uint256"},{"name":"stakingBeatAmount_","type":"uint256","internalType":"uint256"},{"name":"pendingVeBeatAmount_","type":"uint256","internalType":"uint256"},{"name":"balanceOfBeat_","type":"uint256","internalType":"uint256"},{"name":"balanceOfVeBeat_","type":"uint256","internalType":"uint256"},{"name":"speedUpEndTimestamp_","type":"uint256","internalType":"uint256"},{"name":"veBeatRewardPerDay_","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"withdraw","type":"function","inputs":[{"name":"_amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"}],"metadata":"{\"compiler\":{\"version\":\"0.8.0+commit.c7dfd78e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Claim\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"maxCapPct\",\"type\":\"uint256\"}],\"name\":\"UpdateMaxCapPct\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lastRewardTimestamp\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"accVeBeatPerShare\",\"type\":\"uint256\"}],\"name\":\"UpdateRewardVars\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"speedUpThreshold\",\"type\":\"uint256\"}],\"name\":\"UpdateSpeedUpThreshold\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"veBeatPerSharePerSec\",\"type\":\"uint256\"}],\"name\":\"UpdateVeBeatPerSharePerSec\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"withdrawAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"burnAmount\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"ACC_VEBEAT_PER_SHARE_PRECISION\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"VEBEAT_PER_SHARE_PER_SEC_PRECISION\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"accVeBeatPerShare\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"beat\",\"outputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"claim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"getPendingVeBeat\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"_beat\",\"type\":\"address\"},{\"internalType\":\"contract VeBeat\",\"name\":\"_veBeat\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastRewardTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxCapPct\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_beat\",\"type\":\"address\"}],\"name\":\"setBeat\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxCapPct\",\"type\":\"uint256\"}],\"name\":\"setMaxCapPct\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_speedUpThreshold\",\"type\":\"uint256\"}],\"name\":\"setSpeedUpThreshold\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_veBeatPerSharePerSec\",\"type\":\"uint256\"}],\"name\":\"setVeBeatPerSharePerSec\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"speedUpDuration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"speedUpThreshold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"speedUpVeBeatPerSharePerSec\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"updateRewardVars\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"upperLimitMaxCapPct\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"upperLimitVeBeatPerSharePerSec\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"userInfos\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rewardDebt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lastClaimTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"speedUpEndTimestamp\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"veBeat\",\"outputs\":[{\"internalType\":\"contract VeBeat\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"veBeatPerSharePerSec\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"veBeatStakingInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"totalStakingBeatAmount_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"veBeatTotalSupply_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxCapPct_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"speedUpThreshold_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"speedUpDuration_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"stakingBeatAmount_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"pendingVeBeatAmount_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"balanceOfBeat_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"balanceOfVeBeat_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"speedUpEndTimestamp_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"veBeatRewardPerDay_\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"deposit(uint256)\":{\"params\":{\"_amount\":\"The amount of Beat to deposit\"}},\"getPendingVeBeat(address)\":{\"params\":{\"_user\":\"The user to lookup\"},\"returns\":{\"_0\":\"The number of pending veBeat tokens for `_user`\"}},\"initialize(address,address)\":{\"params\":{\"_beat\":\"Address of the Beat token contract\",\"_veBeat\":\"Address of the veBeat token contract\"}},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"setMaxCapPct(uint256)\":{\"params\":{\"_maxCapPct\":\"The new maxCapPct\"}},\"setSpeedUpThreshold(uint256)\":{\"params\":{\"_speedUpThreshold\":\"The new speedUpThreshold\"}},\"setVeBeatPerSharePerSec(uint256)\":{\"params\":{\"_veBeatPerSharePerSec\":\"The new veBeatPerSharePerSec\"}},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"},\"withdraw(uint256)\":{\"params\":{\"_amount\":\"The amount of Beat to unstake\"}}},\"stateVariables\":{\"speedUpThreshold\":{\"details\":\"Specifically, user has to deposit at least `speedUpThreshold/100 * userStakedBeat` Beat. The only exception is the user will also receive speed up benefits if they are depositing with zero balance\"}},\"title\":\"Vote Escrow Beat Staking\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"ACC_VEBEAT_PER_SHARE_PRECISION()\":{\"notice\":\"Precision of `accVeBeatPerShare`\"},\"VEBEAT_PER_SHARE_PER_SEC_PRECISION()\":{\"notice\":\"Precision of `veBeatPerSharePerSec`\"},\"accVeBeatPerShare()\":{\"notice\":\"The accrued veBeat per share, scaled to `ACC_VEBEAT_PER_SHARE_PRECISION`\"},\"claim()\":{\"notice\":\"Claim any pending veBeat\"},\"deposit(uint256)\":{\"notice\":\"Deposits Beat to start staking for veBeat. Note that any pending veBeat will also be claimed in the process.\"},\"getPendingVeBeat(address)\":{\"notice\":\"Get the pending amount of veBeat for a given user\"},\"initialize(address,address)\":{\"notice\":\"Initialize with needed parameters\"},\"lastRewardTimestamp()\":{\"notice\":\"The last time that the reward variables were updated\"},\"maxCapPct()\":{\"notice\":\"The maximum limit of veBeat user can have as percentage points of staked Beat For example, if user has `n` Beat staked, they can own a maximum of `n * maxCapPct / 100` veBeat.\"},\"setMaxCapPct(uint256)\":{\"notice\":\"Set maxCapPct\"},\"setSpeedUpThreshold(uint256)\":{\"notice\":\"Set speedUpThreshold\"},\"setVeBeatPerSharePerSec(uint256)\":{\"notice\":\"Set veBeatPerSharePerSec\"},\"speedUpDuration()\":{\"notice\":\"The length of time a user receives speed up benefits\"},\"speedUpThreshold()\":{\"notice\":\"Percentage of user's current staked Beat user has to deposit in order to start receiving speed up benefits, in parts per 100.\"},\"speedUpVeBeatPerSharePerSec()\":{\"notice\":\"Speed up veBeat per sec per Beat staked, scaled to `VEBEAT_PER_SHARE_PER_SEC_PRECISION`\"},\"updateRewardVars()\":{\"notice\":\"Update reward variables\"},\"upperLimitMaxCapPct()\":{\"notice\":\"The upper limit of `maxCapPct`\"},\"upperLimitVeBeatPerSharePerSec()\":{\"notice\":\"The upper limit of `veBeatPerSharePerSec` and `speedUpVeBeatPerSharePerSec`\"},\"veBeatPerSharePerSec()\":{\"notice\":\"veBeat per sec per Beat staked, scaled to `VEBEAT_PER_SHARE_PER_SEC_PRECISION`\"},\"withdraw(uint256)\":{\"notice\":\"Withdraw staked Beat. Note that unstaking any amount of Beat means you will lose all of your current veBeat.\"}},\"notice\":\"Stake Beat to earn veBeat, which you can use to earn higher farm yields and gain voting power. Note that unstaking any amount of Beat will burn all of your existing veBeat.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/VeBeatStaking.sol\":\"VeBeatStaking\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol\":{\"keccak256\":\"0xc68cad93ce702131a09334e8705d4af062278defa99627a2c94685fb96ff8cc4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6839a7f9fdb061559b6192c64fc919c83cad99bf0ff4663f249f8409d9f88abf\",\"dweb:/ipfs/QmS6DzcqHkD8TipTTZ94FthQjBhX81sfYtAQQC9Qzifxxm\"]},\"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol\":{\"keccak256\":\"0x60aac6a853246704b017e55f9d3b456debfd0a7f49dd9a99e7113bed03ef0696\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://67add465d6dec3198061b5fb7ed4d8b0e1a26f0c0200115d338241ca74a693de\",\"dweb:/ipfs/Qmerko5uM4L1jwJKK7yPiqTq1QTgd6cbNEy6ffmTLBj6MW\"]},\"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol\":{\"keccak256\":\"0x5642ae1d6b33c5c0b71a8412c6c64cbcf2468b84a002bee3e33cdb5644d25cdb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://07ba474854eacf022fca2ab63af2b09653f476a9ef2d144ea3d022a0c0b92726\",\"dweb:/ipfs/QmVNfrArMejFSrPMktAtDte64FJ2fGPQHqgSXDz2SH6dse\"]},\"@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol\":{\"keccak256\":\"0x8e9eb503de1189f50c5f16fef327da310b11898d6b9ab3ca937df07c35233b9e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9631a7abcad07067f268b6295668a287e205ea9a8dc0fca02c2bf4db6c39431d\",\"dweb:/ipfs/QmUYFfB2AngTZLEsah4u8Z44riaB6yWkUXeasi1oG7ipfS\"]},\"contracts/VeBeat.sol\":{\"keccak256\":\"0x33180c00a6760a475d34599f6b2508802dc057ed1aa190a7a134e0c8403665c0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://80036bc0b29a7fc485e54611cb0ce1be7a0cdf5600885a8dd08dfec72107986a\",\"dweb:/ipfs/QmSsv9p1p1hC2yjKakELdhB9phcNPiSDHxq3QQn6ZuUXf4\"]},\"contracts/VeBeatStaking.sol\":{\"keccak256\":\"0xda573aaa82dfce8070b84d6f515a754c52bd6c1efe771bb1a50ef44a51366b20\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4bdb80e1fd2f608d69c6e9a2c7598e83f2a62a01b2b30d2c2f6c82b56c04d697\",\"dweb:/ipfs/QmPwXMBN5yoeNzunjQMrvPY76Rq6qfRN6mTeRxVZZshHSg\"]},\"contracts/VeERC20.sol\":{\"keccak256\":\"0xc906a44a07913f029d25ca4be4baa35639e681047905421f66ecb3bc9608fde5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f1cdf3dfca56bf4d799fde15fb4df35c19f49b9d7fdf889612c63b91c2a94160\",\"dweb:/ipfs/QmPK3zJMUhA7JKEtooshQEScKYzXdcRu2odKQd9hqDCKxr\"]},\"contracts/helpers/Context.sol\":{\"keccak256\":\"0x45cb9d70dc84e6f4ec8202a58599a881421174348e0fd4400a99a22678aa7913\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://640ea1ba9707020a73d52eb62afcc682aa0a502e61378ff2e3ed7be701afcaaf\",\"dweb:/ipfs/QmPup8KPcQQXcz4qz9r1G4ks7bv8jLqrcWNruZyXTto6qy\"]},\"contracts/helpers/Ownable.sol\":{\"keccak256\":\"0x75d1e6250c190ca0500e5a2b7def5e5d6fd3edbe368a6de93dea256471d04593\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://09b8acacbbc0353985940f90022a8e15d15d9767e1eeaa721e1e21655c34c62e\",\"dweb:/ipfs/Qmeb2CejPutKdfNpncsRny8cibhF7aVMJpR6ZvMYruDWLM\"]},\"contracts/interfaces/IERC20.sol\":{\"keccak256\":\"0xb55c91551ef864f86edd296378fc3430f19798c0d1de468ff772a83a842df24c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f118e5d475795b9e612bb6c139db18493e65f47f181ddcef446f4fa43e7f80f5\",\"dweb:/ipfs/QmSRWmUWxpjp8jMtDHqWysWbZqFNVKAyLHcmBtjJRvmoLF\"]},\"contracts/interfaces/IVeERC20.sol\":{\"keccak256\":\"0x1a561639cc5182133b25a87a5276f83add1bd73eabe44347291e0ffd2a093b12\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://374e2175fb5b64a4da8cbdaa19c8114631597332f6e71e9fa1de0578110ad817\",\"dweb:/ipfs/QmaYfHcScefpZoeL6tcKiirob4VrZcBbJn7LyexWxsuSb3\"]},\"contracts/library/Address.sol\":{\"keccak256\":\"0x57221edb98222fa82d60b9f5c7c1a4df7e6150be5f92f24cff9244c578ef89c6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1525b7379f76859b57824932fa830dee4e73e357412574eb7354558d37314d3f\",\"dweb:/ipfs/QmQS5YEBXDj4B7om3zimYTLGb1rkCKWybtsGQa7rfuW53q\"]},\"contracts/library/SafeERC20.sol\":{\"keccak256\":\"0xa5efc0ac9257d59713ef03b4d613cf380d58a355d07f543b44f120c9029743b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://972a132abfb3dda82655adfadc59ccf1c99bdc80bc65ad46eb627236bf3f977d\",\"dweb:/ipfs/QmRGYbLRHGtpKnNCi3ExRTfNo8NE22eQUkK69T59KkJgJ7\"]},\"contracts/library/SafeMath.sol\":{\"keccak256\":\"0xcec240cd1142a7a9e0e0e3d3bdce3ab5aba85e3e66fd93c827bf594cd7566cdd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4da963c825ca57cea03a4727d527baa1922b04c9230b61da3b8378951da4bda8\",\"dweb:/ipfs/QmP8G1oqfKbC563MeFGBca9LUwhM16t2TxSK1NwdjaMnhf\"]}},\"version\":1}","userdoc":{"kind":"user","notice":"Stake Beat to earn veBeat, which you can use to earn higher farm yields and gain voting power. Note that unstaking any amount of Beat will burn all of your existing veBeat.","methods":{"claim()":{"notice":"Claim any pending veBeat"},"maxCapPct()":{"notice":"The maximum limit of veBeat user can have as percentage points of staked Beat For example, if user has `n` Beat staked, they can own a maximum of `n * maxCapPct / 100` veBeat."},"deposit(uint256)":{"notice":"Deposits Beat to start staking for veBeat. Note that any pending veBeat will also be claimed in the process."},"speedUpDuration()":{"notice":"The length of time a user receives speed up benefits"},"withdraw(uint256)":{"notice":"Withdraw staked Beat. Note that unstaking any amount of Beat means you will lose all of your current veBeat."},"speedUpThreshold()":{"notice":"Percentage of user's current staked Beat user has to deposit in order to start receiving speed up benefits, in parts per 100."},"updateRewardVars()":{"notice":"Update reward variables"},"accVeBeatPerShare()":{"notice":"The accrued veBeat per share, scaled to `ACC_VEBEAT_PER_SHARE_PRECISION`"},"lastRewardTimestamp()":{"notice":"The last time that the reward variables were updated"},"setMaxCapPct(uint256)":{"notice":"Set maxCapPct"},"upperLimitMaxCapPct()":{"notice":"The upper limit of `maxCapPct`"},"veBeatPerSharePerSec()":{"notice":"veBeat per sec per Beat staked, scaled to `VEBEAT_PER_SHARE_PER_SEC_PRECISION`"},"getPendingVeBeat(address)":{"notice":"Get the pending amount of veBeat for a given user"},"initialize(address,address)":{"notice":"Initialize with needed parameters"},"setSpeedUpThreshold(uint256)":{"notice":"Set speedUpThreshold"},"speedUpVeBeatPerSharePerSec()":{"notice":"Speed up veBeat per sec per Beat staked, scaled to `VEBEAT_PER_SHARE_PER_SEC_PRECISION`"},"ACC_VEBEAT_PER_SHARE_PRECISION()":{"notice":"Precision of `accVeBeatPerShare`"},"setVeBeatPerSharePerSec(uint256)":{"notice":"Set veBeatPerSharePerSec"},"upperLimitVeBeatPerSharePerSec()":{"notice":"The upper limit of `veBeatPerSharePerSec` and `speedUpVeBeatPerSharePerSec`"},"VEBEAT_PER_SHARE_PER_SEC_PRECISION()":{"notice":"Precision of `veBeatPerSharePerSec`"}},"version":1},"devdoc":{"kind":"dev","title":"Vote Escrow Beat Staking","methods":{"owner()":{"details":"Returns the address of the current owner."},"deposit(uint256)":{"params":{"_amount":"The amount of Beat to deposit"}},"withdraw(uint256)":{"params":{"_amount":"The amount of Beat to unstake"}},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"setMaxCapPct(uint256)":{"params":{"_maxCapPct":"The new maxCapPct"}},"getPendingVeBeat(address)":{"params":{"_user":"The user to lookup"},"returns":{"_0":"The number of pending veBeat tokens for `_user`"}},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"initialize(address,address)":{"params":{"_beat":"Address of the Beat token contract","_veBeat":"Address of the veBeat token contract"}},"setSpeedUpThreshold(uint256)":{"params":{"_speedUpThreshold":"The new speedUpThreshold"}},"setVeBeatPerSharePerSec(uint256)":{"params":{"_veBeatPerSharePerSec":"The new veBeatPerSharePerSec"}}},"version":1,"stateVariables":{"speedUpThreshold":{"details":"Specifically, user has to deposit at least `speedUpThreshold/100 * userStakedBeat` Beat. The only exception is the user will also receive speed up benefits if they are depositing with zero balance"}}},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_contract(VeBeat)619":{"label":"contract VeBeat","encoding":"inplace","numberOfBytes":"20"},"t_contract(IERC20)2094":{"label":"contract IERC20","encoding":"inplace","numberOfBytes":"20"},"t_array(t_uint256)49_storage":{"base":"t_uint256","label":"uint256[49]","encoding":"inplace","numberOfBytes":"1568"},"t_array(t_uint256)50_storage":{"base":"t_uint256","label":"uint256[50]","encoding":"inplace","numberOfBytes":"1600"},"t_struct(UserInfo)644_storage":{"label":"struct VeBeatStaking.UserInfo","members":[{"slot":"0","type":"t_uint256","astId":637,"label":"balance","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"1","type":"t_uint256","astId":639,"label":"rewardDebt","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"2","type":"t_uint256","astId":641,"label":"lastClaimTimestamp","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"3","type":"t_uint256","astId":643,"label":"speedUpEndTimestamp","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"}],"encoding":"inplace","numberOfBytes":"128"},"t_mapping(t_address,t_struct(UserInfo)644_storage)":{"key":"t_address","label":"mapping(address => struct VeBeatStaking.UserInfo)","value":"t_struct(UserInfo)644_storage","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_bool","astId":137,"label":"_initialized","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"0","type":"t_bool","astId":140,"label":"_initializing","offset":1,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"1","type":"t_array(t_uint256)50_storage","astId":465,"label":"__gap","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"51","type":"t_address","astId":10,"label":"_owner","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"52","type":"t_array(t_uint256)49_storage","astId":129,"label":"__gap","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"101","type":"t_contract(IERC20)2094","astId":647,"label":"beat","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"102","type":"t_contract(VeBeat)619","astId":650,"label":"veBeat","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"103","type":"t_uint256","astId":653,"label":"maxCapPct","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"104","type":"t_uint256","astId":656,"label":"upperLimitMaxCapPct","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"105","type":"t_uint256","astId":659,"label":"accVeBeatPerShare","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"106","type":"t_uint256","astId":662,"label":"ACC_VEBEAT_PER_SHARE_PRECISION","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"107","type":"t_uint256","astId":665,"label":"lastRewardTimestamp","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"108","type":"t_uint256","astId":668,"label":"veBeatPerSharePerSec","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"109","type":"t_uint256","astId":671,"label":"speedUpVeBeatPerSharePerSec","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"110","type":"t_uint256","astId":674,"label":"upperLimitVeBeatPerSharePerSec","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"111","type":"t_uint256","astId":677,"label":"VEBEAT_PER_SHARE_PER_SEC_PRECISION","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"112","type":"t_uint256","astId":680,"label":"speedUpThreshold","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"113","type":"t_uint256","astId":683,"label":"speedUpDuration","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"},{"slot":"114","type":"t_mapping(t_address,t_struct(UserInfo)644_storage)","astId":688,"label":"userInfos","offset":0,"contract":"contracts/VeBeatStaking.sol:VeBeatStaking"}]},"transientStorageLayout":null,"evm":{"bytecode":{"object":"608060405234801561001057600080fd5b50612290806100206000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80636e836905116100f9578063b19a3b2c11610097578063e00daea811610071578063e00daea814610343578063f2fde38b1461034b578063f7015b281461035e578063f8077fae14610366576101c4565b8063b19a3b2c14610315578063b6b55f251461031d578063c39d13d214610330576101c4565b80637a259dba116100d35780637a259dba146102dd578063818d8d2c146102f25780638728ec17146102fa5780638da5cb5b1461030d576101c4565b80636e836905146102ba578063715018a6146102c2578063772c34b5146102ca576101c4565b806343b0215f1161016657806351f5958a1161014057806351f5958a1461028f5780636998e6ce146102975780636b1e7e6a1461029f5780636bc616b7146102b2576101c4565b806343b0215f14610251578063485cc955146102745780634e71d92d14610287576101c4565b806319c17d90116101a257806319c17d90146102045780632db9680a1461022e5780632e1a7d4d14610236578063328fa46114610249576101c4565b806301e02729146101c9578063131f979d146101e7578063133af166146101ef575b600080fd5b6101d161036e565b6040516101de9190612115565b60405180910390f35b6101d1610374565b6102026101fd366004611a4e565b61037a565b005b610217610212366004611a4e565b6103f7565b6040516101de9b9a99989796959493929190612147565b6101d1610733565b610202610244366004611ac2565b610739565b610202610950565b61026461025f366004611a4e565b610a7d565b6040516101de949392919061212c565b610202610282366004611a8a565b610aa4565b610202610c01565b6101d1610c3d565b6101d1610c43565b6101d16102ad366004611a4e565b610c49565b6101d1610eb2565b6101d1610eb8565b610202610ebe565b6102026102d8366004611ac2565b610f47565b6102e5611000565b6040516101de9190611b0e565b6101d161100f565b610202610308366004611ac2565b611015565b6102e56110e7565b6101d16110f6565b61020261032b366004611ac2565b6110fc565b61020261033e366004611ac2565b611258565b6102e5611308565b610202610359366004611a4e565b611317565b6101d16113d8565b6101d16113de565b60715481565b606e5481565b6103826113e4565b6001600160a01b03166103936110e7565b6001600160a01b0316146103c25760405162461bcd60e51b81526004016103b990611fa5565b60405180910390fd5b6001600160a01b0381166103d557600080fd5b606580546001600160a01b0319166001600160a01b0392909216919091179055565b6000806000806000806000806000806000606560009054906101000a90046001600160a01b03166001600160a01b03166370a08231306040518263ffffffff1660e01b81526004016104499190611b0e565b60206040518083038186803b15801561046157600080fd5b505afa158015610475573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104999190611ada565b9a50606660009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156104e957600080fd5b505afa1580156104fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105219190611ada565b606754607054607154929c50909a50985096506001600160a01b038c1615610724576001600160a01b038c166000908152607260209081526040918290208251608081018452815480825260018301549382019390935260028201549381019390935260030154606083015296506105988d610c49565b9550606560009054906101000a90046001600160a01b03166001600160a01b03166370a082318e6040518263ffffffff1660e01b81526004016105db9190611b0e565b60206040518083038186803b1580156105f357600080fd5b505afa158015610607573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062b9190611ada565b9450606660009054906101000a90046001600160a01b03166001600160a01b03166370a082318e6040518263ffffffff1660e01b815260040161066e9190611b0e565b60206040518083038186803b15801561068657600080fd5b505afa15801561069a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106be9190611ada565b93508060600151925060004284116106d75760006106db565b606d545b606c546106e89190612195565b9050670de0b6b3a7640000886106ff8360186121cd565b61070b90610e106121cd565b61071591906121cd565b61071f91906121ad565b925050505b91939597999b90929496989a50565b60705481565b600081116107595760405162461bcd60e51b81526004016103b990611cca565b6000607260006107676113e4565b6001600160a01b03166001600160a01b03168152602001908152602001600020905081816000015410156107ad5760405162461bcd60e51b81526004016103b990611d84565b6107b5610950565b80546107c190836113e8565b808255606a546069546107de926107d89190611433565b90611478565b60018201554260028201556000600382018190556066546001600160a01b03166370a0823161080b6113e4565b6040518263ffffffff1660e01b81526004016108279190611b0e565b60206040518083038186803b15801561083f57600080fd5b505afa158015610853573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108779190611ada565b6066549091506001600160a01b03166379cc67906108936113e4565b836040518363ffffffff1660e01b81526004016108b1929190611b46565b600060405180830381600087803b1580156108cb57600080fd5b505af11580156108df573d6000803e3d6000fd5b505050506109016108ee6113e4565b6065546001600160a01b031690856114ba565b6109096113e4565b6001600160a01b03167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568848360405161094392919061211e565b60405180910390a2505050565b606b54421161095e57610a7b565b6065546040516370a0823160e01b81526001600160a01b03909116906370a082319061098e903090600401611b0e565b60206040518083038186803b1580156109a657600080fd5b505afa1580156109ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109de9190611ada565b6109eb5742606b55610a7b565b6000610a02606b54426113e890919063ffffffff16565b9050610a37610a2e606f546107d8606a54610a28606c548761143390919063ffffffff16565b90611433565b60695490611510565b606981905542606b8190556040517f80412ab714911d3162155311ed4cae780b01a7eb225a1a554126e1a443eeb41a92610a71929161211e565b60405180910390a1505b565b60726020526000908152604090208054600182015460028301546003909301549192909184565b600054610100900460ff1680610abd575060005460ff16155b610ad95760405162461bcd60e51b81526004016103b990611df5565b600054610100900460ff16158015610b04576000805460ff1961ff0019909116610100171660011790555b610b0c61153f565b6001600160a01b038316610b325760405162461bcd60e51b81526004016103b990611bfd565b6001600160a01b038216610b585760405162461bcd60e51b81526004016103b990611e43565b6ec097ce7bc90715b34b9f1000000000606e556298968060685561271060675560056070556213c680607155606580546001600160a01b038086166001600160a01b031992831617909255606680549285169290911691909117905568056bc75e2d63100000610bcc6301e13380826121ad565b606c819055606d555042606b55670de0b6b3a7640000606a819055606f558015610bfc576000805461ff00191690555b505050565b610c11610c0c6113e4565b6115c4565b610c2d5760405162461bcd60e51b81526004016103b99061206e565b610c35610950565b610a7b6115e1565b60685481565b60695481565b6000610c54826115c4565b610c6057506000610ead565b6001600160a01b0382166000908152607260209081526040808320815160808101835281548152600182015493810193909352600281015491830191909152600301546060820152606954606b5491929091610cbd9042906113e8565b90508015610cf357610cf0610ce9606f546107d8606a54610a28606c548761143390919063ffffffff16565b8390611510565b91505b6000610d208460200151610d1a606a546107d888600001518861143390919063ffffffff16565b906113e8565b905060008460600151600014610d9a57600085606001514211610d435742610d49565b85606001515b90506000610d648760400151836113e890919063ffffffff16565b90506000610d7d606d548361143390919063ffffffff16565b606f548951919250610d94916107d8908490611433565b93505050505b6000610da68383611510565b6066546040516370a0823160e01b81529192506000916001600160a01b03909116906370a0823190610ddc908c90600401611b0e565b60206040518083038186803b158015610df457600080fd5b505afa158015610e08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2c9190611ada565b6067548851919250600091610e4091611433565b905080610e4e836064611433565b10610e6457600098505050505050505050610ead565b80610e746064610a288587611510565b1115610ea257610e9360646107d8610e8c8583611433565b84906113e8565b98505050505050505050610ead565b509096505050505050505b919050565b606f5481565b606d5481565b610ec66113e4565b6001600160a01b0316610ed76110e7565b6001600160a01b031614610efd5760405162461bcd60e51b81526004016103b990611fa5565b6033546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3603380546001600160a01b0319169055565b610f4f6113e4565b6001600160a01b0316610f606110e7565b6001600160a01b031614610f865760405162461bcd60e51b81526004016103b990611fa5565b606e54811115610fa85760405162461bcd60e51b81526004016103b990611d27565b610fb0610950565b606c819055610fbd6113e4565b6001600160a01b03167f7a3757e022ddf5f97b7720d0a553aec06a2d27dd5cc9c954482ca643892f274f82604051610ff59190612115565b60405180910390a250565b6065546001600160a01b031681565b606a5481565b61101d6113e4565b6001600160a01b031661102e6110e7565b6001600160a01b0316146110545760405162461bcd60e51b81526004016103b990611fa5565b60675481116110755760405162461bcd60e51b81526004016103b990611e95565b801580159061108657506068548111155b6110a25760405162461bcd60e51b81526004016103b990611b92565b60678190556110af6113e4565b6001600160a01b03167f8d4a57ca749299886997ec990a3f4a210270c58d6f283d4728136ca62c17d1bf82604051610ff59190612115565b6033546001600160a01b031690565b60675481565b6000811161111c5760405162461bcd60e51b81526004016103b990611fda565b611124610950565b6000607260006111326113e4565b6001600160a01b03166001600160a01b03168152602001908152602001600020905061115f610c0c6113e4565b156111ab5761116c6115e1565b42600282015580546070546111819082611433565b61118c846064611433565b106111a55760715461119f904290611510565b60038301555b506111c5565b6071546111b9904290611510565b60038201554260028201555b80546111d19083611510565b808255606a546069546111e8926107d89190611433565b600182015561120c6111f86113e4565b6065546001600160a01b0316903085611711565b6112146113e4565b6001600160a01b03167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c8360405161124c9190612115565b60405180910390a25050565b6112606113e4565b6001600160a01b03166112716110e7565b6001600160a01b0316146112975760405162461bcd60e51b81526004016103b990611fa5565b80158015906112a7575060648111155b6112c35760405162461bcd60e51b81526004016103b990611f48565b60708190556112d06113e4565b6001600160a01b03167fa1363b6f08985047219996aa27aae9e783577d8bb8f96505eb639afe5247c15182604051610ff59190612115565b6066546001600160a01b031681565b61131f6113e4565b6001600160a01b03166113306110e7565b6001600160a01b0316146113565760405162461bcd60e51b81526004016103b990611fa5565b6001600160a01b03811661137c5760405162461bcd60e51b81526004016103b990611c4d565b6033546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3603380546001600160a01b0319166001600160a01b0392909216919091179055565b606c5481565b606b5481565b3390565b600061142a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611738565b90505b92915050565b6000826114425750600061142d565b600061144e83856121cd565b90508261145b85836121ad565b1461142a5760405162461bcd60e51b81526004016103b990611f07565b600061142a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611772565b610bfc8363a9059cbb60e01b84846040516024016114d9929190611b46565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526117a0565b60008061151d8385612195565b90508381101561142a5760405162461bcd60e51b81526004016103b990611c93565b600054610100900460ff1680611558575060005460ff16155b6115745760405162461bcd60e51b81526004016103b990611df5565b600054610100900460ff1615801561159f576000805460ff1961ff0019909116610100171660011790555b6115a761182f565b6115af6118a2565b80156115c1576000805461ff00191690555b50565b6001600160a01b0316600090815260726020526040902054151590565b60006115ee6102ad6113e4565b90506000607260006115fe6113e4565b6001600160a01b031681526020810191909152604001600020606a54815460695492935061162f926107d891611433565b600182015560038101541580159061164b575080600301544210155b1561165857600060038201555b811561170d574260028201556066546001600160a01b03166340c10f1961167d6113e4565b846040518363ffffffff1660e01b815260040161169b929190611b46565b600060405180830381600087803b1580156116b557600080fd5b505af11580156116c9573d6000803e3d6000fd5b505050506116d56113e4565b6001600160a01b03167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d48360405161124c9190612115565b5050565b611732846323b872dd60e01b8585856040516024016114d993929190611b22565b50505050565b6000818484111561175c5760405162461bcd60e51b81526004016103b99190611b5f565b50600061176984866121ec565b95945050505050565b600081836117935760405162461bcd60e51b81526004016103b99190611b5f565b50600061176984866121ad565b60006117f5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661196e9092919063ffffffff16565b805190915015610bfc57808060200190518101906118139190611a6a565b610bfc5760405162461bcd60e51b81526004016103b9906120cb565b600054610100900460ff1680611848575060005460ff16155b6118645760405162461bcd60e51b81526004016103b990611df5565b600054610100900460ff161580156115af576000805460ff1961ff00199091166101001716600117905580156115c1576000805461ff001916905550565b600054610100900460ff16806118bb575060005460ff16155b6118d75760405162461bcd60e51b81526004016103b990611df5565b600054610100900460ff16158015611902576000805460ff1961ff0019909116610100171660011790555b600061190c6113e4565b603380546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35080156115c1576000805461ff001916905550565b606061197d8484600085611985565b949350505050565b606061199085611a48565b6119ac5760405162461bcd60e51b81526004016103b990612037565b600080866001600160a01b031685876040516119c89190611af2565b60006040518083038185875af1925050503d8060008114611a05576040519150601f19603f3d011682016040523d82523d6000602084013e611a0a565b606091505b50915091508115611a1e57915061197d9050565b805115611a2e5780518082602001fd5b8360405162461bcd60e51b81526004016103b99190611b5f565b3b151590565b600060208284031215611a5f578081fd5b813561142a81612245565b600060208284031215611a7b578081fd5b8151801515811461142a578182fd5b60008060408385031215611a9c578081fd5b8235611aa781612245565b91506020830135611ab781612245565b809150509250929050565b600060208284031215611ad3578081fd5b5035919050565b600060208284031215611aeb578081fd5b5051919050565b60008251611b04818460208701612203565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6000602082528251806020840152611b7e816040850160208701612203565b601f01601f19169190910160400192915050565b60208082526045908201527f5665426561745374616b696e673a206578706563746564206e6577205f6d617860408201527f43617050637420746f206265206e6f6e2d7a65726f20616e64203c3d20313030606082015264030303030360dc1b608082015260a00190565b60208082526030908201527f5665426561745374616b696e673a20756e6578706563746564207a65726f206160408201526f19191c995cdcc8199bdc8817d899585d60821b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252603f908201527f5665426561745374616b696e673a20657870656374656420776974686472617760408201527f20616d6f756e7420746f2062652067726561746572207468616e207a65726f00606082015260800190565b6020808252603b908201527f5665426561745374616b696e673a206578706563746564205f7665426561745060408201527f6572536861726550657253656320746f206265203c3d20316533360000000000606082015260800190565b6020808252604b908201527f5665426561745374616b696e673a2063616e6e6f74207769746864726177206760408201527f72656174657220616d6f756e74206f662042656174207468616e20637572726560608201526a1b9d1b1e481cdd185ad95960aa1b608082015260a00190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b60208082526032908201527f5665426561745374616b696e673a20756e6578706563746564207a65726f206160408201527119191c995cdcc8199bdc8817dd995099585d60721b606082015260800190565b6020808252604c908201527f5665426561745374616b696e673a206578706563746564206e6577205f6d617860408201527f43617050637420746f2062652067726561746572207468616e2065786973746960608201526b1b99c81b585e10d85c1418dd60a21b608082015260a00190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252603e908201527f5665426561745374616b696e673a206578706563746564205f7370656564557060408201527f5468726573686f6c6420746f206265203e203020616e64203c3d203130300000606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252603e908201527f5665426561745374616b696e673a206578706563746564206465706f7369742060408201527f616d6f756e7420746f2062652067726561746572207468616e207a65726f0000606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60208082526039908201527f5665426561745374616b696e673a2063616e6e6f7420636c61696d207665426560408201527f6174207768656e206e6f2042656174206973207374616b656400000000000000606082015260800190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b90815260200190565b918252602082015260400190565b93845260208401929092526040830152606082015260800190565b9a8b5260208b019990995260408a01979097526060890195909552608088019390935260a087019190915260c086015260e08501526101008401526101208301526101408201526101600190565b600082198211156121a8576121a861222f565b500190565b6000826121c857634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156121e7576121e761222f565b500290565b6000828210156121fe576121fe61222f565b500390565b60005b8381101561221e578181015183820152602001612206565b838111156117325750506000910152565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146115c157600080fdfea26469706673582212209033ae0174fa40554b4f6981b7c0efc4ed5a35dbac5d4995be85320019262b7d64736f6c63430008000033","sourceMap":"449:15231:5:-:0;;;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"608060405234801561001057600080fd5b50600436106101c45760003560e01c80636e836905116100f9578063b19a3b2c11610097578063e00daea811610071578063e00daea814610343578063f2fde38b1461034b578063f7015b281461035e578063f8077fae14610366576101c4565b8063b19a3b2c14610315578063b6b55f251461031d578063c39d13d214610330576101c4565b80637a259dba116100d35780637a259dba146102dd578063818d8d2c146102f25780638728ec17146102fa5780638da5cb5b1461030d576101c4565b80636e836905146102ba578063715018a6146102c2578063772c34b5146102ca576101c4565b806343b0215f1161016657806351f5958a1161014057806351f5958a1461028f5780636998e6ce146102975780636b1e7e6a1461029f5780636bc616b7146102b2576101c4565b806343b0215f14610251578063485cc955146102745780634e71d92d14610287576101c4565b806319c17d90116101a257806319c17d90146102045780632db9680a1461022e5780632e1a7d4d14610236578063328fa46114610249576101c4565b806301e02729146101c9578063131f979d146101e7578063133af166146101ef575b600080fd5b6101d161036e565b6040516101de9190612115565b60405180910390f35b6101d1610374565b6102026101fd366004611a4e565b61037a565b005b610217610212366004611a4e565b6103f7565b6040516101de9b9a99989796959493929190612147565b6101d1610733565b610202610244366004611ac2565b610739565b610202610950565b61026461025f366004611a4e565b610a7d565b6040516101de949392919061212c565b610202610282366004611a8a565b610aa4565b610202610c01565b6101d1610c3d565b6101d1610c43565b6101d16102ad366004611a4e565b610c49565b6101d1610eb2565b6101d1610eb8565b610202610ebe565b6102026102d8366004611ac2565b610f47565b6102e5611000565b6040516101de9190611b0e565b6101d161100f565b610202610308366004611ac2565b611015565b6102e56110e7565b6101d16110f6565b61020261032b366004611ac2565b6110fc565b61020261033e366004611ac2565b611258565b6102e5611308565b610202610359366004611a4e565b611317565b6101d16113d8565b6101d16113de565b60715481565b606e5481565b6103826113e4565b6001600160a01b03166103936110e7565b6001600160a01b0316146103c25760405162461bcd60e51b81526004016103b990611fa5565b60405180910390fd5b6001600160a01b0381166103d557600080fd5b606580546001600160a01b0319166001600160a01b0392909216919091179055565b6000806000806000806000806000806000606560009054906101000a90046001600160a01b03166001600160a01b03166370a08231306040518263ffffffff1660e01b81526004016104499190611b0e565b60206040518083038186803b15801561046157600080fd5b505afa158015610475573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104999190611ada565b9a50606660009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156104e957600080fd5b505afa1580156104fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105219190611ada565b606754607054607154929c50909a50985096506001600160a01b038c1615610724576001600160a01b038c166000908152607260209081526040918290208251608081018452815480825260018301549382019390935260028201549381019390935260030154606083015296506105988d610c49565b9550606560009054906101000a90046001600160a01b03166001600160a01b03166370a082318e6040518263ffffffff1660e01b81526004016105db9190611b0e565b60206040518083038186803b1580156105f357600080fd5b505afa158015610607573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062b9190611ada565b9450606660009054906101000a90046001600160a01b03166001600160a01b03166370a082318e6040518263ffffffff1660e01b815260040161066e9190611b0e565b60206040518083038186803b15801561068657600080fd5b505afa15801561069a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106be9190611ada565b93508060600151925060004284116106d75760006106db565b606d545b606c546106e89190612195565b9050670de0b6b3a7640000886106ff8360186121cd565b61070b90610e106121cd565b61071591906121cd565b61071f91906121ad565b925050505b91939597999b90929496989a50565b60705481565b600081116107595760405162461bcd60e51b81526004016103b990611cca565b6000607260006107676113e4565b6001600160a01b03166001600160a01b03168152602001908152602001600020905081816000015410156107ad5760405162461bcd60e51b81526004016103b990611d84565b6107b5610950565b80546107c190836113e8565b808255606a546069546107de926107d89190611433565b90611478565b60018201554260028201556000600382018190556066546001600160a01b03166370a0823161080b6113e4565b6040518263ffffffff1660e01b81526004016108279190611b0e565b60206040518083038186803b15801561083f57600080fd5b505afa158015610853573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108779190611ada565b6066549091506001600160a01b03166379cc67906108936113e4565b836040518363ffffffff1660e01b81526004016108b1929190611b46565b600060405180830381600087803b1580156108cb57600080fd5b505af11580156108df573d6000803e3d6000fd5b505050506109016108ee6113e4565b6065546001600160a01b031690856114ba565b6109096113e4565b6001600160a01b03167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568848360405161094392919061211e565b60405180910390a2505050565b606b54421161095e57610a7b565b6065546040516370a0823160e01b81526001600160a01b03909116906370a082319061098e903090600401611b0e565b60206040518083038186803b1580156109a657600080fd5b505afa1580156109ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109de9190611ada565b6109eb5742606b55610a7b565b6000610a02606b54426113e890919063ffffffff16565b9050610a37610a2e606f546107d8606a54610a28606c548761143390919063ffffffff16565b90611433565b60695490611510565b606981905542606b8190556040517f80412ab714911d3162155311ed4cae780b01a7eb225a1a554126e1a443eeb41a92610a71929161211e565b60405180910390a1505b565b60726020526000908152604090208054600182015460028301546003909301549192909184565b600054610100900460ff1680610abd575060005460ff16155b610ad95760405162461bcd60e51b81526004016103b990611df5565b600054610100900460ff16158015610b04576000805460ff1961ff0019909116610100171660011790555b610b0c61153f565b6001600160a01b038316610b325760405162461bcd60e51b81526004016103b990611bfd565b6001600160a01b038216610b585760405162461bcd60e51b81526004016103b990611e43565b6ec097ce7bc90715b34b9f1000000000606e556298968060685561271060675560056070556213c680607155606580546001600160a01b038086166001600160a01b031992831617909255606680549285169290911691909117905568056bc75e2d63100000610bcc6301e13380826121ad565b606c819055606d555042606b55670de0b6b3a7640000606a819055606f558015610bfc576000805461ff00191690555b505050565b610c11610c0c6113e4565b6115c4565b610c2d5760405162461bcd60e51b81526004016103b99061206e565b610c35610950565b610a7b6115e1565b60685481565b60695481565b6000610c54826115c4565b610c6057506000610ead565b6001600160a01b0382166000908152607260209081526040808320815160808101835281548152600182015493810193909352600281015491830191909152600301546060820152606954606b5491929091610cbd9042906113e8565b90508015610cf357610cf0610ce9606f546107d8606a54610a28606c548761143390919063ffffffff16565b8390611510565b91505b6000610d208460200151610d1a606a546107d888600001518861143390919063ffffffff16565b906113e8565b905060008460600151600014610d9a57600085606001514211610d435742610d49565b85606001515b90506000610d648760400151836113e890919063ffffffff16565b90506000610d7d606d548361143390919063ffffffff16565b606f548951919250610d94916107d8908490611433565b93505050505b6000610da68383611510565b6066546040516370a0823160e01b81529192506000916001600160a01b03909116906370a0823190610ddc908c90600401611b0e565b60206040518083038186803b158015610df457600080fd5b505afa158015610e08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2c9190611ada565b6067548851919250600091610e4091611433565b905080610e4e836064611433565b10610e6457600098505050505050505050610ead565b80610e746064610a288587611510565b1115610ea257610e9360646107d8610e8c8583611433565b84906113e8565b98505050505050505050610ead565b509096505050505050505b919050565b606f5481565b606d5481565b610ec66113e4565b6001600160a01b0316610ed76110e7565b6001600160a01b031614610efd5760405162461bcd60e51b81526004016103b990611fa5565b6033546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3603380546001600160a01b0319169055565b610f4f6113e4565b6001600160a01b0316610f606110e7565b6001600160a01b031614610f865760405162461bcd60e51b81526004016103b990611fa5565b606e54811115610fa85760405162461bcd60e51b81526004016103b990611d27565b610fb0610950565b606c819055610fbd6113e4565b6001600160a01b03167f7a3757e022ddf5f97b7720d0a553aec06a2d27dd5cc9c954482ca643892f274f82604051610ff59190612115565b60405180910390a250565b6065546001600160a01b031681565b606a5481565b61101d6113e4565b6001600160a01b031661102e6110e7565b6001600160a01b0316146110545760405162461bcd60e51b81526004016103b990611fa5565b60675481116110755760405162461bcd60e51b81526004016103b990611e95565b801580159061108657506068548111155b6110a25760405162461bcd60e51b81526004016103b990611b92565b60678190556110af6113e4565b6001600160a01b03167f8d4a57ca749299886997ec990a3f4a210270c58d6f283d4728136ca62c17d1bf82604051610ff59190612115565b6033546001600160a01b031690565b60675481565b6000811161111c5760405162461bcd60e51b81526004016103b990611fda565b611124610950565b6000607260006111326113e4565b6001600160a01b03166001600160a01b03168152602001908152602001600020905061115f610c0c6113e4565b156111ab5761116c6115e1565b42600282015580546070546111819082611433565b61118c846064611433565b106111a55760715461119f904290611510565b60038301555b506111c5565b6071546111b9904290611510565b60038201554260028201555b80546111d19083611510565b808255606a546069546111e8926107d89190611433565b600182015561120c6111f86113e4565b6065546001600160a01b0316903085611711565b6112146113e4565b6001600160a01b03167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c8360405161124c9190612115565b60405180910390a25050565b6112606113e4565b6001600160a01b03166112716110e7565b6001600160a01b0316146112975760405162461bcd60e51b81526004016103b990611fa5565b80158015906112a7575060648111155b6112c35760405162461bcd60e51b81526004016103b990611f48565b60708190556112d06113e4565b6001600160a01b03167fa1363b6f08985047219996aa27aae9e783577d8bb8f96505eb639afe5247c15182604051610ff59190612115565b6066546001600160a01b031681565b61131f6113e4565b6001600160a01b03166113306110e7565b6001600160a01b0316146113565760405162461bcd60e51b81526004016103b990611fa5565b6001600160a01b03811661137c5760405162461bcd60e51b81526004016103b990611c4d565b6033546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3603380546001600160a01b0319166001600160a01b0392909216919091179055565b606c5481565b606b5481565b3390565b600061142a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611738565b90505b92915050565b6000826114425750600061142d565b600061144e83856121cd565b90508261145b85836121ad565b1461142a5760405162461bcd60e51b81526004016103b990611f07565b600061142a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611772565b610bfc8363a9059cbb60e01b84846040516024016114d9929190611b46565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526117a0565b60008061151d8385612195565b90508381101561142a5760405162461bcd60e51b81526004016103b990611c93565b600054610100900460ff1680611558575060005460ff16155b6115745760405162461bcd60e51b81526004016103b990611df5565b600054610100900460ff1615801561159f576000805460ff1961ff0019909116610100171660011790555b6115a761182f565b6115af6118a2565b80156115c1576000805461ff00191690555b50565b6001600160a01b0316600090815260726020526040902054151590565b60006115ee6102ad6113e4565b90506000607260006115fe6113e4565b6001600160a01b031681526020810191909152604001600020606a54815460695492935061162f926107d891611433565b600182015560038101541580159061164b575080600301544210155b1561165857600060038201555b811561170d574260028201556066546001600160a01b03166340c10f1961167d6113e4565b846040518363ffffffff1660e01b815260040161169b929190611b46565b600060405180830381600087803b1580156116b557600080fd5b505af11580156116c9573d6000803e3d6000fd5b505050506116d56113e4565b6001600160a01b03167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d48360405161124c9190612115565b5050565b611732846323b872dd60e01b8585856040516024016114d993929190611b22565b50505050565b6000818484111561175c5760405162461bcd60e51b81526004016103b99190611b5f565b50600061176984866121ec565b95945050505050565b600081836117935760405162461bcd60e51b81526004016103b99190611b5f565b50600061176984866121ad565b60006117f5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661196e9092919063ffffffff16565b805190915015610bfc57808060200190518101906118139190611a6a565b610bfc5760405162461bcd60e51b81526004016103b9906120cb565b600054610100900460ff1680611848575060005460ff16155b6118645760405162461bcd60e51b81526004016103b990611df5565b600054610100900460ff161580156115af576000805460ff1961ff00199091166101001716600117905580156115c1576000805461ff001916905550565b600054610100900460ff16806118bb575060005460ff16155b6118d75760405162461bcd60e51b81526004016103b990611df5565b600054610100900460ff16158015611902576000805460ff1961ff0019909116610100171660011790555b600061190c6113e4565b603380546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35080156115c1576000805461ff001916905550565b606061197d8484600085611985565b949350505050565b606061199085611a48565b6119ac5760405162461bcd60e51b81526004016103b990612037565b600080866001600160a01b031685876040516119c89190611af2565b60006040518083038185875af1925050503d8060008114611a05576040519150601f19603f3d011682016040523d82523d6000602084013e611a0a565b606091505b50915091508115611a1e57915061197d9050565b805115611a2e5780518082602001fd5b8360405162461bcd60e51b81526004016103b99190611b5f565b3b151590565b600060208284031215611a5f578081fd5b813561142a81612245565b600060208284031215611a7b578081fd5b8151801515811461142a578182fd5b60008060408385031215611a9c578081fd5b8235611aa781612245565b91506020830135611ab781612245565b809150509250929050565b600060208284031215611ad3578081fd5b5035919050565b600060208284031215611aeb578081fd5b5051919050565b60008251611b04818460208701612203565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6000602082528251806020840152611b7e816040850160208701612203565b601f01601f19169190910160400192915050565b60208082526045908201527f5665426561745374616b696e673a206578706563746564206e6577205f6d617860408201527f43617050637420746f206265206e6f6e2d7a65726f20616e64203c3d20313030606082015264030303030360dc1b608082015260a00190565b60208082526030908201527f5665426561745374616b696e673a20756e6578706563746564207a65726f206160408201526f19191c995cdcc8199bdc8817d899585d60821b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252603f908201527f5665426561745374616b696e673a20657870656374656420776974686472617760408201527f20616d6f756e7420746f2062652067726561746572207468616e207a65726f00606082015260800190565b6020808252603b908201527f5665426561745374616b696e673a206578706563746564205f7665426561745060408201527f6572536861726550657253656320746f206265203c3d20316533360000000000606082015260800190565b6020808252604b908201527f5665426561745374616b696e673a2063616e6e6f74207769746864726177206760408201527f72656174657220616d6f756e74206f662042656174207468616e20637572726560608201526a1b9d1b1e481cdd185ad95960aa1b608082015260a00190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b60208082526032908201527f5665426561745374616b696e673a20756e6578706563746564207a65726f206160408201527119191c995cdcc8199bdc8817dd995099585d60721b606082015260800190565b6020808252604c908201527f5665426561745374616b696e673a206578706563746564206e6577205f6d617860408201527f43617050637420746f2062652067726561746572207468616e2065786973746960608201526b1b99c81b585e10d85c1418dd60a21b608082015260a00190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252603e908201527f5665426561745374616b696e673a206578706563746564205f7370656564557060408201527f5468726573686f6c6420746f206265203e203020616e64203c3d203130300000606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252603e908201527f5665426561745374616b696e673a206578706563746564206465706f7369742060408201527f616d6f756e7420746f2062652067726561746572207468616e207a65726f0000606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60208082526039908201527f5665426561745374616b696e673a2063616e6e6f7420636c61696d207665426560408201527f6174207768656e206e6f2042656174206973207374616b656400000000000000606082015260800190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b90815260200190565b918252602082015260400190565b93845260208401929092526040830152606082015260800190565b9a8b5260208b019990995260408a01979097526060890195909552608088019390935260a087019190915260c086015260e08501526101008401526101208301526101408201526101600190565b600082198211156121a8576121a861222f565b500190565b6000826121c857634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156121e7576121e761222f565b500290565b6000828210156121fe576121fe61222f565b500390565b60005b8381101561221e578181015183820152602001612206565b838111156117325750506000910152565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146115c157600080fdfea26469706673582212209033ae0174fa40554b4f6981b7c0efc4ed5a35dbac5d4995be85320019262b7d64736f6c63430008000033","sourceMap":"449:15231:5:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3601:30;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2958:45;;;:::i;5228:126::-;;;;;;:::i;:::-;;:::i;:::-;;13282:1313;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;;;:::i;3494:31::-;;;:::i;8820:1106::-;;;;;;:::i;:::-;;:::i;12602:674::-;;;:::i;3638:45::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;:::i;4379:843::-;;;;;;:::i;:::-;;:::i;9973:198::-;;;:::i;2196:34::-;;;:::i;2326:32::-;;;:::i;10347:2209::-;;;;;;:::i;:::-;;:::i;3062:49::-;;;:::i;2817:42::-;;;:::i;1965:145:0:-;;;:::i;6002:421:5:-;;;;;;:::i;:::-;;:::i;1867:18::-;;;:::i;:::-;;;;;;;:::i;2414:45::-;;;:::i;5434:455::-;;;;;;:::i;:::-;;:::i;1333:85:0:-;;;:::i;2118:24:5:-;;;:::i;7083:1545::-;;;;;;:::i;:::-;;:::i;6524:367::-;;;;;;:::i;:::-;;:::i;1891:20::-;;;:::i;2259:240:0:-;;;;;;:::i;:::-;;:::i;2671:35:5:-;;;:::i;2535:34::-;;;:::i;3601:30::-;;;;:::o;2958:45::-;;;;:::o;5228:126::-;1556:12:0;:10;:12::i;:::-;-1:-1:-1;;;;;1545:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1545:23:0;;1537:68;;;;-1:-1:-1;;;1537:68:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;5297:19:5;::::1;5289:28;;;::::0;::::1;;5327:4;:20:::0;;-1:-1:-1;;;;;;5327:20:5::1;-1:-1:-1::0;;;;;5327:20:5;;;::::1;::::0;;;::::1;::::0;;5228:126::o;13282:1313::-;13354:31;13395:26;13431:18;13459:25;13494:24;13528:26;13564:28;13602:22;13634:24;13668:28;13706:27;13776:4;;;;;;;;;-1:-1:-1;;;;;13776:4:5;-1:-1:-1;;;;;13776:14:5;;13799:4;13776:29;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;13750:55;;13836:6;;;;;;;;;-1:-1:-1;;;;;13836:6:5;-1:-1:-1;;;;;13836:18:5;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;13879:9;;13918:16;;13963:15;;13815:41;;-1:-1:-1;13879:9:5;;-1:-1:-1;13918:16:5;-1:-1:-1;13963:15:5;-1:-1:-1;;;;;;13992:19:5;;;13988:601;;-1:-1:-1;;;;;14054:16:5;;14027:24;14054:16;;;:9;:16;;;;;;;;;14027:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14158:23:5;14064:5;14158:16;:23::i;:::-;14135:46;;14212:4;;;;;;;;;-1:-1:-1;;;;;14212:4:5;-1:-1:-1;;;;;14212:14:5;;14227:5;14212:21;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;14195:38;;14266:6;;;;;;;;;-1:-1:-1;;;;;14266:6:5;-1:-1:-1;;;;;14266:16:5;;14283:5;14266:23;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;14247:42;;14326:8;:28;;;14303:51;;14368:20;14439:15;14416:20;:38;14415:74;;14488:1;14415:74;;;14458:27;;14415:74;14391:20;;:99;;;;:::i;:::-;14368:122;-1:-1:-1;14574:4:5;14553:18;14526:17;14368:122;14541:2;14526:17;:::i;:::-;:24;;14546:4;14526:24;:::i;:::-;:45;;;;:::i;:::-;:52;;;;:::i;:::-;14504:74;;13988:601;;;13282:1313;;;;;;;;;;;;;:::o;3494:31::-;;;;:::o;8820:1106::-;8892:1;8882:7;:11;8874:87;;;;-1:-1:-1;;;8874:87:5;;;;;;;:::i;:::-;8972:25;9000:9;:23;9010:12;:10;:12::i;:::-;-1:-1:-1;;;;;9000:23:5;-1:-1:-1;;;;;9000:23:5;;;;;;;;;;;;8972:51;;9075:7;9055:8;:16;;;:27;;9034:149;;;;-1:-1:-1;;;9034:149:5;;;;;;;:::i;:::-;9193:18;:16;:18::i;:::-;9333:16;;:29;;9354:7;9333:20;:29::i;:::-;9314:48;;;9438:30;;9394:17;;:75;;:39;;:17;:21;:39::i;:::-;:43;;:75::i;:::-;9372:19;;;:97;9509:15;9479:27;;;:45;-1:-1:-1;9534:28:5;;;:32;;;9655:6;;-1:-1:-1;;;;;9655:6:5;:16;9672:12;:10;:12::i;:::-;9655:30;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;9695:6;;9627:58;;-1:-1:-1;;;;;;9695:6:5;:15;9711:12;:10;:12::i;:::-;9725:17;9695:48;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9813:40;9831:12;:10;:12::i;:::-;9813:4;;-1:-1:-1;;;;;9813:4:5;;9845:7;9813:17;:40::i;:::-;9878:12;:10;:12::i;:::-;-1:-1:-1;;;;;9869:50:5;;9892:7;9901:17;9869:50;;;;;;;:::i;:::-;;;;;;;;8820:1106;;;:::o;12602:674::-;12670:19;;12651:15;:38;12647:75;;12705:7;;12647:75;12736:4;;:29;;-1:-1:-1;;;12736:29:5;;-1:-1:-1;;;;;12736:4:5;;;;:14;;:29;;12759:4;;12736:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12732:122;;12808:15;12786:19;:37;12837:7;;12732:122;12864:22;12889:40;12909:19;;12889:15;:19;;:40;;;;:::i;:::-;12864:65;;12959:191;12994:146;13092:34;;12994:76;13039:30;;12994:40;13013:20;;12994:14;:18;;:40;;;;:::i;:::-;:44;;:76::i;:146::-;12959:17;;;:21;:191::i;:::-;12939:17;:211;;;13182:15;13160:19;:37;;;13213:56;;;;;;13182:15;13213:56;:::i;:::-;;;;;;;;12602:674;;:::o;3638:45::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;4379:843::-;1506:13:1;;;;;;;;:30;;-1:-1:-1;1524:12:1;;;;1523:13;1506:30;1498:89;;;;-1:-1:-1;;;1498:89:1;;;;;;;:::i;:::-;1598:19;1621:13;;;;;;1620:14;1644:98;;;;1678:13;:20;;-1:-1:-1;;;;1678:20:1;;;;;1712:19;1694:4;1712:19;;;1644:98;4480:16:5::1;:14;:16::i;:::-;-1:-1:-1::0;;;;;4515:28:5;::::1;4507:89;;;;-1:-1:-1::0;;;4507:89:5::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;4614:30:5;::::1;4606:93;;;;-1:-1:-1::0;;;4606:93:5::1;;;;;;;:::i;:::-;4743:4;4710:30;:37:::0;4779:8:::1;4757:19;:30:::0;4810:5:::1;4798:9;:17:::0;4844:1:::1;4825:16;:20:::0;4873:7:::1;4855:15;:25:::0;4890:4:::1;:12:::0;;-1:-1:-1;;;;;4890:12:5;;::::1;-1:-1:-1::0;;;;;;4890:12:5;;::::1;;::::0;;;4912:6:::1;:16:::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;4953:9:::1;4995:15;5002:8;4953:9:::0;4995:15:::1;:::i;:::-;4972:20;:38:::0;;;5020:27:::1;:50:::0;-1:-1:-1;5102:15:5::1;5080:19;:37:::0;5160:4:::1;5127:30;:37:::0;;;5174:34:::1;:41:::0;1764:66:1;;;;1814:5;1798:21;;-1:-1:-1;;1798:21:1;;;1764:66;4379:843:5;;;:::o;9973:198::-;10017:39;10043:12;:10;:12::i;:::-;10017:25;:39::i;:::-;10009:109;;;;-1:-1:-1;;;10009:109:5;;;;;;;:::i;:::-;10128:18;:16;:18::i;:::-;10156:8;:6;:8::i;2196:34::-;;;;:::o;2326:32::-;;;;:::o;10347:2209::-;10409:7;10433:32;10459:5;10433:25;:32::i;:::-;10428:72;;-1:-1:-1;10488:1:5;10481:8;;10428:72;-1:-1:-1;;;;;10533:16:5;;10510:20;10533:16;;;:9;:16;;;;;;;;10510:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10640:17;;10712:19;;10510:39;;10640:17;;10692:40;;:15;;:19;:40::i;:::-;10667:65;-1:-1:-1;10746:18:5;;10742:278;;10801:208;10841:154;10943:34;;10841:76;10886:30;;10841:40;10860:20;;10841:14;:18;;:40;;;;:::i;:154::-;10801:18;;:22;:208::i;:::-;10780:229;;10742:278;11029:25;11057:115;11147:4;:15;;;11057:72;11098:30;;11057:36;11080:4;:12;;;11057:18;:22;;:36;;;;:::i;:72::-;:76;;:115::i;:::-;11029:143;;11238:28;11280:4;:24;;;11308:1;11280:29;11276:533;;11325:31;11377:4;:24;;;11359:15;:42;:119;;11463:15;11359:119;;;11420:4;:24;;;11359:119;11325:153;;11492:29;11524:52;11552:4;:23;;;11524;:27;;:52;;;;:::i;:::-;11492:84;;11590:32;11625:54;11651:27;;11625:21;:25;;:54;;;;:::i;:::-;11763:34;;11745:12;;11590:89;;-1:-1:-1;11716:82:5;;:42;;11590:89;;11716:28;:42::i;:82::-;11693:105;;11276:533;;;;11819:21;11843:43;:17;11865:20;11843:21;:43::i;:::-;11974:6;;:23;;-1:-1:-1;;;11974:23:5;;11819:67;;-1:-1:-1;11946:25:5;;-1:-1:-1;;;;;11974:6:5;;;;:16;;:23;;11991:5;;11974:23;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12121:9;;12104:12;;11946:51;;-1:-1:-1;12071:30:5;;12104:27;;:16;:27::i;:::-;12071:60;-1:-1:-1;12071:60:5;12146:26;:17;12168:3;12146:21;:26::i;:::-;:52;12142:408;;12310:1;12303:8;;;;;;;;;;;;12142:408;12380:22;12332:45;12373:3;12332:36;:17;12354:13;12332:21;:36::i;:45::-;:70;12328:222;;;12425:63;12484:3;12425:54;12452:26;:17;12484:3;12452:21;:26::i;:::-;12425:22;;:26;:54::i;:63::-;12418:70;;;;;;;;;;;;12328:222;-1:-1:-1;12526:13:5;;-1:-1:-1;;;;;;;10347:2209:5;;;;:::o;3062:49::-;;;;:::o;2817:42::-;;;;:::o;1965:145:0:-;1556:12;:10;:12::i;:::-;-1:-1:-1;;;;;1545:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1545:23:0;;1537:68;;;;-1:-1:-1;;;1537:68:0;;;;;;;:::i;:::-;2055:6:::1;::::0;2034:40:::1;::::0;2071:1:::1;::::0;-1:-1:-1;;;;;2055:6:0::1;::::0;2034:40:::1;::::0;2071:1;;2034:40:::1;2084:6;:19:::0;;-1:-1:-1;;;;;;2084:19:0::1;::::0;;1965:145::o;6002:421:5:-;1556:12:0;:10;:12::i;:::-;-1:-1:-1;;;;;1545:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1545:23:0;;1537:68;;;;-1:-1:-1;;;1537:68:0;;;;;;;:::i;:::-;6141:30:5::1;;6116:21;:55;;6095:161;;;;-1:-1:-1::0;;;6095:161:5::1;;;;;;;:::i;:::-;6266:18;:16;:18::i;:::-;6294:20;:44:::0;;;6380:12:::1;:10;:12::i;:::-;-1:-1:-1::0;;;;;6353:63:5::1;;6394:21;6353:63;;;;;;:::i;:::-;;;;;;;;6002:421:::0;:::o;1867:18::-;;;-1:-1:-1;;;;;1867:18:5;;:::o;2414:45::-;;;;:::o;5434:455::-;1556:12:0;:10;:12::i;:::-;-1:-1:-1;;;;;1545:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1545:23:0;;1537:68;;;;-1:-1:-1;;;1537:68:0;;;;;;;:::i;:::-;5526:9:5::1;;5513:10;:22;5505:111;;;;-1:-1:-1::0;;;5505:111:5::1;;;;;;;:::i;:::-;5647:15:::0;;;::::1;::::0;:52:::1;;;5680:19;;5666:10;:33;;5647:52;5626:168;;;;-1:-1:-1::0;;;5626:168:5::1;;;;;;;:::i;:::-;5804:9;:22:::0;;;5857:12:::1;:10;:12::i;:::-;-1:-1:-1::0;;;;;5841:41:5::1;;5871:10;5841:41;;;;;;:::i;1333:85:0:-:0;1405:6;;-1:-1:-1;;;;;1405:6:0;1333:85;:::o;2118:24:5:-;;;;:::o;7083:1545::-;7154:1;7144:7;:11;7136:86;;;;-1:-1:-1;;;7136:86:5;;;;;;;:::i;:::-;7233:18;:16;:18::i;:::-;7262:25;7290:9;:23;7300:12;:10;:12::i;:::-;-1:-1:-1;;;;;7290:23:5;-1:-1:-1;;;;;7290:23:5;;;;;;;;;;;;7262:51;;7328:39;7354:12;:10;:12::i;7328:39::-;7324:1016;;;7471:8;:6;:8::i;:::-;7668:15;7638:27;;;:45;7723:16;;7914;;:36;;7723:16;7914:20;:36::i;:::-;7894:16;:7;7906:3;7894:11;:16::i;:::-;:56;7890:162;;8021:15;;8001:36;;:15;;:19;:36::i;:::-;7970:28;;;:67;7890:162;7324:1016;;;;8254:15;;8234:36;;:15;;:19;:36::i;:::-;8203:28;;;:67;8314:15;8284:27;;;:45;7324:1016;8369:16;;:29;;8390:7;8369:20;:29::i;:::-;8350:48;;;8474:30;;8430:17;;:75;;:39;;:17;:21;:39::i;:75::-;8408:19;;;:97;8516:59;8538:12;:10;:12::i;:::-;8516:4;;-1:-1:-1;;;;;8516:4:5;;8560;8567:7;8516:21;:59::i;:::-;8599:12;:10;:12::i;:::-;-1:-1:-1;;;;;8591:30:5;;8613:7;8591:30;;;;;;:::i;:::-;;;;;;;;7083:1545;;:::o;6524:367::-;1556:12:0;:10;:12::i;:::-;-1:-1:-1;;;;;1545:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1545:23:0;;1537:68;;;;-1:-1:-1;;;1537:68:0;;;;;;;:::i;:::-;6630:22:5;;;::::1;::::0;:50:::1;;;6677:3;6656:17;:24;;6630:50;6609:159;;;;-1:-1:-1::0;;;6609:159:5::1;;;;;;;:::i;:::-;6778:16;:36:::0;;;6852:12:::1;:10;:12::i;:::-;-1:-1:-1::0;;;;;6829:55:5::1;;6866:17;6829:55;;;;;;:::i;1891:20::-:0;;;-1:-1:-1;;;;;1891:20:5;;:::o;2259:240:0:-;1556:12;:10;:12::i;:::-;-1:-1:-1;;;;;1545:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1545:23:0;;1537:68;;;;-1:-1:-1;;;1537:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2347:22:0;::::1;2339:73;;;;-1:-1:-1::0;;;2339:73:0::1;;;;;;;:::i;:::-;2448:6;::::0;2427:38:::1;::::0;-1:-1:-1;;;;;2427:38:0;;::::1;::::0;2448:6:::1;::::0;2427:38:::1;::::0;2448:6:::1;::::0;2427:38:::1;2475:6;:17:::0;;-1:-1:-1;;;;;;2475:17:0::1;-1:-1:-1::0;;;;;2475:17:0;;;::::1;::::0;;;::::1;::::0;;2259:240::o;2671:35:5:-;;;;:::o;2535:34::-;;;;:::o;822:96:3:-;901:10;822:96;:::o;1319:134:13:-;1377:7;1403:43;1407:1;1410;1403:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;1396:50;;1319:134;;;;;:::o;2178:459::-;2236:7;2477:6;2473:45;;-1:-1:-1;2506:1:13;2499:8;;2473:45;2528:9;2540:5;2544:1;2540;:5;:::i;:::-;2528:17;-1:-1:-1;2572:1:13;2563:5;2567:1;2528:17;2563:5;:::i;:::-;:10;2555:56;;;;-1:-1:-1;;;2555:56:13;;;;;;;:::i;3099:130::-;3157:7;3183:39;3187:1;3190;3183:39;;;;;;;;;;;;;;;;;:3;:39::i;687:175:12:-;769:86;789:5;819:23;;;844:2;848:5;796:58;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;796:58:12;;;;;;;;;;;;;;-1:-1:-1;;;;;796:58:12;-1:-1:-1;;;;;;796:58:12;;;;;;;;;;769:19;:86::i;872:176:13:-;930:7;;961:5;965:1;961;:5;:::i;:::-;949:17;;989:1;984;:6;;976:46;;;;-1:-1:-1;;;976:46:13;;;;;;;:::i;933:126:0:-;1506:13:1;;;;;;;;:30;;-1:-1:-1;1524:12:1;;;;1523:13;1506:30;1498:89;;;;-1:-1:-1;;;1498:89:1;;;;;;;:::i;:::-;1598:19;1621:13;;;;;;1620:14;1644:98;;;;1678:13;:20;;-1:-1:-1;;;;1678:20:1;;;;;1712:19;1694:4;1712:19;;;1644:98;990:26:0::1;:24;:26::i;:::-;1026;:24;:26::i;:::-;1768:14:1::0;1764:66;;;1814:5;1798:21;;-1:-1:-1;;1798:21:1;;;1764:66;933:126:0;:::o;14778:130:5:-;-1:-1:-1;;;;;14873:16:5;14850:4;14873:16;;;:9;:16;;;;;:24;:28;;;14778:130::o;14962:716::-;14998:21;15022:30;15039:12;:10;:12::i;15022:30::-;14998:54;;15063:25;15091:9;:23;15101:12;:10;:12::i;:::-;-1:-1:-1;;;;;15091:23:5;;;;;;;;;;;;-1:-1:-1;15091:23:5;15191:30;;15169:16;;15147:17;;15091:23;;-1:-1:-1;15147:75:5;;:39;;:21;:39::i;:75::-;15125:19;;;:97;15318:28;;;;:33;;;;:84;;;15374:8;:28;;;15355:15;:47;;15318:84;15314:147;;;15449:1;15418:28;;;:32;15314:147;15475:17;;15471:201;;15538:15;15508:27;;;:45;15568:6;;-1:-1:-1;;;;;15568:6:5;:11;15580:12;:10;:12::i;:::-;15594:13;15568:40;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15633:12;:10;:12::i;:::-;-1:-1:-1;;;;;15627:34:5;;15647:13;15627:34;;;;;;:::i;15471:201::-;14962:716;;:::o;868:203:12:-;968:96;988:5;1018:27;;;1047:4;1053:2;1057:5;995:68;;;;;;;;;;:::i;968:96::-;868:203;;;;:::o;1744:187:13:-;1830:7;1865:12;1857:6;;;;1849:29;;;;-1:-1:-1;;;1849:29:13;;;;;;;;:::i;:::-;-1:-1:-1;1888:9:13;1900:5;1904:1;1900;:5;:::i;:::-;1888:17;1744:187;-1:-1:-1;;;;;1744:187:13:o;3711:272::-;3797:7;3831:12;3824:5;3816:28;;;;-1:-1:-1;;;3816:28:13;;;;;;;;:::i;:::-;-1:-1:-1;3854:9:13;3866:5;3870:1;3866;:5;:::i;3134:751:12:-;3553:23;3579:69;3607:4;3579:69;;;;;;;;;;;;;;;;;3587:5;-1:-1:-1;;;;;3579:27:12;;;:69;;;;;:::i;:::-;3662:17;;3553:95;;-1:-1:-1;3662:21:12;3658:221;;3802:10;3791:30;;;;;;;;;;;;:::i;:::-;3783:85;;;;-1:-1:-1;;;3783:85:12;;;;;;;:::i;753:64:3:-;1506:13:1;;;;;;;;:30;;-1:-1:-1;1524:12:1;;;;1523:13;1506:30;1498:89;;;;-1:-1:-1;;;1498:89:1;;;;;;;:::i;:::-;1598:19;1621:13;;;;;;1620:14;1644:98;;;;1678:13;:20;;-1:-1:-1;;;;1678:20:1;;;;;1712:19;1694:4;1712:19;;;1768:14;1764:66;;;1814:5;1798:21;;-1:-1:-1;;1798:21:1;;;753:64:3;:::o;1065:192:0:-;1506:13:1;;;;;;;;:30;;-1:-1:-1;1524:12:1;;;;1523:13;1506:30;1498:89;;;;-1:-1:-1;;;1498:89:1;;;;;;;:::i;:::-;1598:19;1621:13;;;;;;1620:14;1644:98;;;;1678:13;:20;;-1:-1:-1;;;;1678:20:1;;;;;1712:19;1694:4;1712:19;;;1644:98;1132:17:0::1;1152:12;:10;:12::i;:::-;1174:6;:18:::0;;-1:-1:-1;;;;;;1174:18:0::1;-1:-1:-1::0;;;;;1174:18:0;::::1;::::0;;::::1;::::0;;;1207:43:::1;::::0;1174:18;;-1:-1:-1;1174:18:0;-1:-1:-1;;1207:43:0::1;::::0;-1:-1:-1;;1207:43:0::1;1752:1:1;1768:14:::0;1764:66;;;1814:5;1798:21;;-1:-1:-1;;1798:21:1;;;1065:192:0;:::o;3571:194:11:-;3674:12;3705:53;3728:6;3736:4;3742:1;3745:12;3705:22;:53::i;:::-;3698:60;3571:194;-1:-1:-1;;;;3571:194:11:o;4918:958::-;5048:12;5080:18;5091:6;5080:10;:18::i;:::-;5072:60;;;;-1:-1:-1;;;5072:60:11;;;;;;;:::i;:::-;5203:12;5217:23;5244:6;-1:-1:-1;;;;;5244:11:11;5264:8;5275:4;5244:36;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5202:78;;;;5294:7;5290:580;;;5324:10;-1:-1:-1;5317:17:11;;-1:-1:-1;5317:17:11;5290:580;5435:17;;:21;5431:429;;5693:10;5687:17;5753:15;5740:10;5736:2;5732:19;5725:44;5642:145;5832:12;5825:20;;-1:-1:-1;;;5825:20:11;;;;;;;;:::i;716:413::-;1076:20;1114:8;;;716:413::o;14:259:14:-;;126:2;114:9;105:7;101:23;97:32;94:2;;;147:6;139;132:22;94:2;191:9;178:23;210:33;237:5;210:33;:::i;278:297::-;;398:2;386:9;377:7;373:23;369:32;366:2;;;419:6;411;404:22;366:2;456:9;450:16;509:5;502:13;495:21;488:5;485:32;475:2;;536:6;528;521:22;580:431;;;738:2;726:9;717:7;713:23;709:32;706:2;;;759:6;751;744:22;706:2;803:9;790:23;822:33;849:5;822:33;:::i;:::-;874:5;-1:-1:-1;931:2:14;916:18;;903:32;944:35;903:32;944:35;:::i;:::-;998:7;988:17;;;696:315;;;;;:::o;1016:190::-;;1128:2;1116:9;1107:7;1103:23;1099:32;1096:2;;;1149:6;1141;1134:22;1096:2;-1:-1:-1;1177:23:14;;1086:120;-1:-1:-1;1086:120:14:o;1211:194::-;;1334:2;1322:9;1313:7;1309:23;1305:32;1302:2;;;1355:6;1347;1340:22;1302:2;-1:-1:-1;1383:16:14;;1292:113;-1:-1:-1;1292:113:14:o;1410:274::-;;1577:6;1571:13;1593:53;1639:6;1634:3;1627:4;1619:6;1615:17;1593:53;:::i;:::-;1662:16;;;;;1547:137;-1:-1:-1;;1547:137:14:o;1689:203::-;-1:-1:-1;;;;;1853:32:14;;;;1835:51;;1823:2;1808:18;;1790:102::o;1897:375::-;-1:-1:-1;;;;;2155:15:14;;;2137:34;;2207:15;;;;2202:2;2187:18;;2180:43;2254:2;2239:18;;2232:34;;;;2087:2;2072:18;;2054:218::o;2277:274::-;-1:-1:-1;;;;;2469:32:14;;;;2451:51;;2533:2;2518:18;;2511:34;2439:2;2424:18;;2406:145::o;3001:383::-;;3150:2;3139:9;3132:21;3182:6;3176:13;3225:6;3220:2;3209:9;3205:18;3198:34;3241:66;3300:6;3295:2;3284:9;3280:18;3275:2;3267:6;3263:15;3241:66;:::i;:::-;3368:2;3347:15;-1:-1:-1;;3343:29:14;3328:45;;;;3375:2;3324:54;;3122:262;-1:-1:-1;;3122:262:14:o;3389:473::-;3591:2;3573:21;;;3630:2;3610:18;;;3603:30;3669:34;3664:2;3649:18;;3642:62;3740:34;3735:2;3720:18;;3713:62;-1:-1:-1;;;3806:3:14;3791:19;;3784:36;3852:3;3837:19;;3563:299::o;3867:412::-;4069:2;4051:21;;;4108:2;4088:18;;;4081:30;4147:34;4142:2;4127:18;;4120:62;-1:-1:-1;;;4213:2:14;4198:18;;4191:46;4269:3;4254:19;;4041:238::o;4284:402::-;4486:2;4468:21;;;4525:2;4505:18;;;4498:30;4564:34;4559:2;4544:18;;4537:62;-1:-1:-1;;;4630:2:14;4615:18;;4608:36;4676:3;4661:19;;4458:228::o;4691:351::-;4893:2;4875:21;;;4932:2;4912:18;;;4905:30;4971:29;4966:2;4951:18;;4944:57;5033:2;5018:18;;4865:177::o;5047:427::-;5249:2;5231:21;;;5288:2;5268:18;;;5261:30;5327:34;5322:2;5307:18;;5300:62;5398:33;5393:2;5378:18;;5371:61;5464:3;5449:19;;5221:253::o;5479:423::-;5681:2;5663:21;;;5720:2;5700:18;;;5693:30;5759:34;5754:2;5739:18;;5732:62;5830:29;5825:2;5810:18;;5803:57;5892:3;5877:19;;5653:249::o;5907:479::-;6109:2;6091:21;;;6148:2;6128:18;;;6121:30;6187:34;6182:2;6167:18;;6160:62;6258:34;6253:2;6238:18;;6231:62;-1:-1:-1;;;6324:3:14;6309:19;;6302:42;6376:3;6361:19;;6081:305::o;6391:410::-;6593:2;6575:21;;;6632:2;6612:18;;;6605:30;6671:34;6666:2;6651:18;;6644:62;-1:-1:-1;;;6737:2:14;6722:18;;6715:44;6791:3;6776:19;;6565:236::o;6806:414::-;7008:2;6990:21;;;7047:2;7027:18;;;7020:30;7086:34;7081:2;7066:18;;7059:62;-1:-1:-1;;;7152:2:14;7137:18;;7130:48;7210:3;7195:19;;6980:240::o;7225:480::-;7427:2;7409:21;;;7466:2;7446:18;;;7439:30;7505:34;7500:2;7485:18;;7478:62;7576:34;7571:2;7556:18;;7549:62;-1:-1:-1;;;7642:3:14;7627:19;;7620:43;7695:3;7680:19;;7399:306::o;7710:397::-;7912:2;7894:21;;;7951:2;7931:18;;;7924:30;7990:34;7985:2;7970:18;;7963:62;-1:-1:-1;;;8056:2:14;8041:18;;8034:31;8097:3;8082:19;;7884:223::o;8112:426::-;8314:2;8296:21;;;8353:2;8333:18;;;8326:30;8392:34;8387:2;8372:18;;8365:62;8463:32;8458:2;8443:18;;8436:60;8528:3;8513:19;;8286:252::o;8543:356::-;8745:2;8727:21;;;8764:18;;;8757:30;8823:34;8818:2;8803:18;;8796:62;8890:2;8875:18;;8717:182::o;8904:426::-;9106:2;9088:21;;;9145:2;9125:18;;;9118:30;9184:34;9179:2;9164:18;;9157:62;9255:32;9250:2;9235:18;;9228:60;9320:3;9305:19;;9078:252::o;9335:353::-;9537:2;9519:21;;;9576:2;9556:18;;;9549:30;9615:31;9610:2;9595:18;;9588:59;9679:2;9664:18;;9509:179::o;9693:421::-;9895:2;9877:21;;;9934:2;9914:18;;;9907:30;9973:34;9968:2;9953:18;;9946:62;10044:27;10039:2;10024:18;;10017:55;10104:3;10089:19;;9867:247::o;10119:406::-;10321:2;10303:21;;;10360:2;10340:18;;;10333:30;10399:34;10394:2;10379:18;;10372:62;-1:-1:-1;;;10465:2:14;10450:18;;10443:40;10515:3;10500:19;;10293:232::o;10530:177::-;10676:25;;;10664:2;10649:18;;10631:76::o;10712:248::-;10886:25;;;10942:2;10927:18;;10920:34;10874:2;10859:18;;10841:119::o;10965:391::-;11196:25;;;11252:2;11237:18;;11230:34;;;;11295:2;11280:18;;11273:34;11338:2;11323:18;;11316:34;11183:3;11168:19;;11150:206::o;11361:897::-;11789:25;;;11845:2;11830:18;;11823:34;;;;11888:2;11873:18;;11866:34;;;;11931:2;11916:18;;11909:34;;;;11974:3;11959:19;;11952:35;;;;12018:3;12003:19;;11996:35;;;;12062:3;12047:19;;12040:35;12106:3;12091:19;;12084:35;12150:3;12135:19;;12128:35;12194:3;12179:19;;12172:35;12238:3;12223:19;;12216:36;11776:3;11761:19;;11743:515::o;12263:128::-;;12334:1;12330:6;12327:1;12324:13;12321:2;;;12340:18;;:::i;:::-;-1:-1:-1;12376:9:14;;12311:80::o;12396:217::-;;12462:1;12452:2;;-1:-1:-1;;;12487:31:14;;12541:4;12538:1;12531:15;12569:4;12494:1;12559:15;12452:2;-1:-1:-1;12598:9:14;;12442:171::o;12618:168::-;;12724:1;12720;12716:6;12712:14;12709:1;12706:21;12701:1;12694:9;12687:17;12683:45;12680:2;;;12731:18;;:::i;:::-;-1:-1:-1;12771:9:14;;12670:116::o;12791:125::-;;12859:1;12856;12853:8;12850:2;;;12864:18;;:::i;:::-;-1:-1:-1;12901:9:14;;12840:76::o;12921:258::-;12993:1;13003:113;13017:6;13014:1;13011:13;13003:113;;;13093:11;;;13087:18;13074:11;;;13067:39;13039:2;13032:10;13003:113;;;13134:6;13131:1;13128:13;13125:2;;;-1:-1:-1;;13169:1:14;13151:16;;13144:27;12974:205::o;13184:127::-;13245:10;13240:3;13236:20;13233:1;13226:31;13276:4;13273:1;13266:15;13300:4;13297:1;13290:15;13316:133;-1:-1:-1;;;;;13393:31:14;;13383:42;;13373:2;;13439:1;13436;13429:12","linkReferences":{},"immutableReferences":{}}}}}}},"signatures":{"function":[{"signature":"accVeBeatPerShare()","signatureHash4":"0x6998e6ce","signatureHash32":"0x6998e6ce95e03c6ab3fa9c88659f1bfd40e4c0132b4e79894e069da4c2c81937"},{"signature":"ACC_VEBEAT_PER_SHARE_PRECISION()","signatureHash4":"0x818d8d2c","signatureHash32":"0x818d8d2c101fa3f82536b77fc983e2cbb2b5361aad9a87919b1cb5682c9e5219"},{"signature":"beat()","signatureHash4":"0x7a259dba","signatureHash32":"0x7a259dba50ceaeaad0dc011a2862e03a3e413d14071db06fc213eaf3ebf8d774"},{"signature":"claim()","signatureHash4":"0x4e71d92d","signatureHash32":"0x4e71d92d1cab44b435a6dcbe7dcfe75cf72953916cfa3842f5057ce194aa60e2"},{"signature":"deposit(uint256)","signatureHash4":"0xb6b55f25","signatureHash32":"0xb6b55f256c3eb337f96418d59e773db6e805074f5e574a2bebb7d71394043619"},{"signature":"getPendingVeBeat(address)","signatureHash4":"0x6b1e7e6a","signatureHash32":"0x6b1e7e6a9256bf8f3c98f4fe73309e268844972dda974683928cd0ff0cd68c0a"},{"signature":"initialize(address,address)","signatureHash4":"0x485cc955","signatureHash32":"0x485cc955cd05f29985ce37d87ac35dcf2fdbc60b9106f66a532e31a2f1d5743b"},{"signature":"lastRewardTimestamp()","signatureHash4":"0xf8077fae","signatureHash32":"0xf8077faea64c2560ab0bf548a67df7fdbbadd0c491c53d559577b6bb87bb0301"},{"signature":"maxCapPct()","signatureHash4":"0xb19a3b2c","signatureHash32":"0xb19a3b2cfeed58c02a47ab6e981a2567038144b2dc641060389b5df11bbab10a"},{"signature":"owner()","signatureHash4":"0x8da5cb5b","signatureHash32":"0x8da5cb5b36e7f68c1d2e56001220cdbdd3ba2616072f718acfda4a06441a807d"},{"signature":"renounceOwnership()","signatureHash4":"0x715018a6","signatureHash32":"0x715018a616b5f2044428f6fadb7deef4ce9ca76ef60ea57978964ad137bbe7ae"},{"signature":"setBeat(address)","signatureHash4":"0x133af166","signatureHash32":"0x133af166d6387401f7dea370a24ab7c8c983d599a3972f2712d8338c462943a5"},{"signature":"setMaxCapPct(uint256)","signatureHash4":"0x8728ec17","signatureHash32":"0x8728ec17a97da67d3ee7c219525919a5e7d1e3fc072239c41c66b1676bc5763e"},{"signature":"setSpeedUpThreshold(uint256)","signatureHash4":"0xc39d13d2","signatureHash32":"0xc39d13d22c30c5816c3b14b005b38febf530366635b4cb2735d6dffebf19061a"},{"signature":"setVeBeatPerSharePerSec(uint256)","signatureHash4":"0x772c34b5","signatureHash32":"0x772c34b599a6336ddf7d8f119aaf244cfe9951cdeb5fead86f89c4ef2c5b47c1"},{"signature":"speedUpDuration()","signatureHash4":"0x01e02729","signatureHash32":"0x01e02729f1178c0675565e7be5efc151b83c80a778b7a82958da4fe123764e72"},{"signature":"speedUpThreshold()","signatureHash4":"0x2db9680a","signatureHash32":"0x2db9680a03995ea86f55d49dddbb79f4bfe9df68ef8bc369791f596e52207d97"},{"signature":"speedUpVeBeatPerSharePerSec()","signatureHash4":"0x6e836905","signatureHash32":"0x6e83690544655347edc0d3488bd336893b5e0ef0744d388fd28f2f28cf302d2b"},{"signature":"transferOwnership(address)","signatureHash4":"0xf2fde38b","signatureHash32":"0xf2fde38b092330466c661fc723d5289b90272a3e580e3187d1d7ef788506c557"},{"signature":"updateRewardVars()","signatureHash4":"0x328fa461","signatureHash32":"0x328fa4612721eaa892c6f00ebaf709dd20f04c9b7c436c5d1164da4d7792d926"},{"signature":"upperLimitMaxCapPct()","signatureHash4":"0x51f5958a","signatureHash32":"0x51f5958aa23ae7a7fe049525597a02af8123eefcce75fba8b06840f28ccd7c9f"},{"signature":"upperLimitVeBeatPerSharePerSec()","signatureHash4":"0x131f979d","signatureHash32":"0x131f979dadd21c1387bc3db4edbe1ef03ca4b869c1a312eb960d953884a5e4c5"},{"signature":"userInfos(address)","signatureHash4":"0x43b0215f","signatureHash32":"0x43b0215f60d9cf42706bb16852be152dcdd26ff930a92fd74b3b5eced14f26bd"},{"signature":"veBeat()","signatureHash4":"0xe00daea8","signatureHash32":"0xe00daea85c3ae6309d94b837d77788fbc3d4d7aade2afec38d67ddd2cb71c160"},{"signature":"veBeatPerSharePerSec()","signatureHash4":"0xf7015b28","signatureHash32":"0xf7015b28908b75bf2101c937ee6b525c777d2d45e5754d850ce7e2dea0436ed5"},{"signature":"VEBEAT_PER_SHARE_PER_SEC_PRECISION()","signatureHash4":"0x6bc616b7","signatureHash32":"0x6bc616b7d9e041a007f765bf8493493eafd078e6cafef88216d66d0554c8404e"},{"signature":"veBeatStakingInfo(address)","signatureHash4":"0x19c17d90","signatureHash32":"0x19c17d90b36bd2b609cc966821ee05829964c2759ea6d5f42057ec9b080fef8a"},{"signature":"withdraw(uint256)","signatureHash4":"0x2e1a7d4d","signatureHash32":"0x2e1a7d4d13322e7b96f9a57413e1525c250fb7a9021cf91d1540d5b69f16a49f"}],"event":[{"signature":"Claim(address,uint256)","signatureHash4":"0x47cee97c","signatureHash32":"0x47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4"},{"signature":"Deposit(address,uint256)","signatureHash4":"0xe1fffcc4","signatureHash32":"0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c"},{"signature":"OwnershipTransferred(address,address)","signatureHash4":"0x8be0079c","signatureHash32":"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0"},{"signature":"UpdateMaxCapPct(address,uint256)","signatureHash4":"0x8d4a57ca","signatureHash32":"0x8d4a57ca749299886997ec990a3f4a210270c58d6f283d4728136ca62c17d1bf"},{"signature":"UpdateRewardVars(uint256,uint256)","signatureHash4":"0x80412ab7","signatureHash32":"0x80412ab714911d3162155311ed4cae780b01a7eb225a1a554126e1a443eeb41a"},{"signature":"UpdateSpeedUpThreshold(address,uint256)","signatureHash4":"0xa1363b6f","signatureHash32":"0xa1363b6f08985047219996aa27aae9e783577d8bb8f96505eb639afe5247c151"},{"signature":"UpdateVeBeatPerSharePerSec(address,uint256)","signatureHash4":"0x7a3757e0","signatureHash32":"0x7a3757e022ddf5f97b7720d0a553aec06a2d27dd5cc9c954482ca643892f274f"},{"signature":"Withdraw(address,uint256,uint256)","signatureHash4":"0xf279e6a1","signatureHash32":"0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568"}],"error":[]},"proxyResolution":{"isProxy":false,"proxyType":null,"implementations":[]},"match":"exact_match","chainId":"56","address":"0xAd021645F35023c663FAD543F0dD4965FBA7aEeB"}