Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ensuro/core

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ensuro/core - npm Package Compare versions

Comparing version 2.0.0-beta7 to 2.0.0-beta8

16

build/contracts/ERC4626AssetManager.sol/ERC4626AssetManager.json

@@ -27,11 +27,5 @@ {

"indexed": false,
"internalType": "bool",
"name": "positive",
"type": "bool"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
"internalType": "int256",
"name": "earnings",
"type": "int256"
}

@@ -216,6 +210,6 @@ ],

],
"bytecode": "0x60c060405234801561001057600080fd5b5060405161156c38038061156c83398101604081905261002f9161004d565b6001600160601b0319606092831b8116608052911b1660a05261009f565b6000806040838503121561006057600080fd5b825161006b81610087565b602084015190925061007c81610087565b809150509250929050565b6001600160a01b038116811461009c57600080fd5b50565b60805160601c60a05160601c61144761012560003960008181610673015281816109c501528181610aa601528181610d8a0152610e3401526000818161013601528181610230015281816103370152818161045c01528181610595015281816107ef015281816108ec015281816109f501528181610bf70152610e8701526114476000f3fe608060405234801561001057600080fd5b506004361061009d5760003560e01c80637d7c2a1c116100665780637d7c2a1c146100f45780638d7ddd90146100fc578063948cb71914610104578063cec16f3f1461010c578063f9c4fd1b1461011457600080fd5b8062a9bb8d146100a25780631014a0c2146100b75780633b6612c8146100ca5780634dd93bd3146100e45780634eb978a4146100ec575b600080fd5b6100b56100b0366004611187565b61011c565b005b6100b56100c5366004611155565b610444565b6100d2610591565b60405190815260200160405180910390f35b6100d261065b565b6100d261076b565b6100b56107d7565b6100d26108e8565b6100b56109a6565b6100d2610a71565b6100d2610bf3565b6000805160206113f28339815191526000198414610225577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561018d57600080fd5b505afa1580156101a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101c591906111b3565b6101d090600a61127e565b6101da9085611219565b815463ffffffff191663ffffffff9190911617815560226040518581527f7bc647fe5043209e2019aa3503b79c1b0dd83eb61c56013d373a7584ff6bfb139060200160405180910390a25b600019831461032c577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561028757600080fd5b505afa15801561029b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102bf91906111b3565b6102ca90600a61127e565b6102d49084611219565b815463ffffffff919091166401000000000267ffffffff000000001990911617815560236040518481527f7bc647fe5043209e2019aa3503b79c1b0dd83eb61c56013d373a7584ff6bfb139060200160405180910390a25b6000198214610436577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561038e57600080fd5b505afa1580156103a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103c691906111b3565b6103d190600a61127e565b6103db9083611219565b815463ffffffff91909116600160401b026bffffffff00000000000000001990911617815560246040518381527f7bc647fe5043209e2019aa3503b79c1b0dd83eb61c56013d373a7584ff6bfb139060200160405180910390a25b5061043f610cb9565b505050565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b1580156104a657600080fd5b505afa1580156104ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104de919061116e565b905081811061054a5760405162461bcd60e51b815260206004820152602d60248201527f4e6f206e65656420746f20726566696c6c207468652077616c6c657420666f7260448201526c081d1a1a5cc81c185e5b595b9d609a1b60648201526084015b60405180910390fd5b600061055461065b565b9050600082610561610bf3565b61056b9086611201565b61057591906113af565b9050818111156105825750805b61058b81610d5e565b50505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156105ec57600080fd5b505afa158015610600573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062491906111b3565b61062f90600a61127e565b6000805160206113f2833981519152546106569190600160401b900463ffffffff16611329565b905090565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307a2d13a9082906370a082319060240160206040518083038186803b1580156106c557600080fd5b505afa1580156106d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fd919061116e565b6040518263ffffffff1660e01b815260040161071b91815260200190565b60206040518083038186803b15801561073357600080fd5b505afa158015610747573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610656919061116e565b60008061077661065b565b6000805160206113f28339815191528054919250906000906107a890600160601b90046001600160801b031684611348565b82546001600160801b03909416600160601b02600160601b600160e01b03199094169390931790915550919050565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b15801561083957600080fd5b505afa15801561084d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610871919061116e565b905061087b610591565b81111561089f5761089c61088d610bf3565b61089790836113af565b610e0f565b50565b6108a76108e8565b81101561089c5760006108d36108bb61065b565b836108c4610bf3565b6108ce91906113af565b610e6b565b905080156108e4576108e481610d5e565b5050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561094357600080fd5b505afa158015610957573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097b91906111b3565b61098690600a61127e565b6000805160206113f283398151915254610656919063ffffffff16611329565b6109ae610e85565b60405163095ea7b360e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116600483015260001960248301527f0000000000000000000000000000000000000000000000000000000000000000169063095ea7b390604401602060405180830381600087803b158015610a3957600080fd5b505af1158015610a4d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089c919061110f565b6000806000805160206113f28339815191526040516370a0823160e01b81523060048201529091506000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ba0876529082906370a082319060240160206040518083038186803b158015610af057600080fd5b505afa158015610b04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b28919061116e565b6040516001600160e01b031960e084901b168152600481019190915230602482018190526044820152606401602060405180830381600087803b158015610b6e57600080fd5b505af1158015610b82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba6919061116e565b8254909150610bc590600160601b90046001600160801b031682611348565b82546001600160801b03909216600160601b02600160601b600160e01b031990921691909117909155919050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015610c4e57600080fd5b505afa158015610c62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8691906111b3565b610c9190600a61127e565b6000805160206113f2833981519152546106569190640100000000900463ffffffff16611329565b6000805160206113f2833981519152805463ffffffff64010000000082048116911611801590610d015750805463ffffffff600160401b820481166401000000009092041611155b61089c5760405162461bcd60e51b815260206004820152602860248201527f56616c69646174696f6e3a204c6971756964697479206c696d69747320617265604482015267081a5b9d985b1a5960c21b6064820152608401610541565b610d6781610fd9565b604051632d182be560e21b815260048101829052306024820181905260448201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063b460af94906064015b602060405180830381600087803b158015610dd757600080fd5b505af1158015610deb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e4919061116e565b610e1881611087565b604051636e553f6560e01b8152600481018290523060248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636e553f6590604401610dbd565b6000818310610e7a5781610e7c565b825b90505b92915050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316306001600160a01b0316634d15eb036040518163ffffffff1660e01b815260040160206040518083038186803b158015610ee857600080fd5b505afa158015610efc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f209190611138565b6001600160a01b031663e5a6b10f6040518163ffffffff1660e01b815260040160206040518083038186803b158015610f5857600080fd5b505afa158015610f6c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f909190611138565b6001600160a01b031614610fd75760405162461bcd60e51b815260206004820152600e60248201526d082e6e6cae840dad2e6dac2e8c6d60931b6044820152606401610541565b565b6000805160206113f2833981519152805461100490600160601b90046001600160801b031683610e6b565b81548290600c90611026908490600160601b90046001600160801b0316611387565b92506101000a8154816001600160801b0302191690836001600160801b031602179055507fb82d4e0870bf4ae7236ad1de74d6612d04d1b805b47d98c2f40088a193d87c658260405161107b91815260200190565b60405180910390a15050565b6000805160206113f2833981519152805482908290600c906110ba908490600160601b90046001600160801b03166111d6565b92506101000a8154816001600160801b0302191690836001600160801b031602179055507f0f0cdeac88e111e1dd9b9f043e8c671053dedfbaeccabfb144fd51a4f870fcf48260405161107b91815260200190565b60006020828403121561112157600080fd5b8151801515811461113157600080fd5b9392505050565b60006020828403121561114a57600080fd5b8151611131816113dc565b60006020828403121561116757600080fd5b5035919050565b60006020828403121561118057600080fd5b5051919050565b60008060006060848603121561119c57600080fd5b505081359360208301359350604090920135919050565b6000602082840312156111c557600080fd5b815160ff8116811461113157600080fd5b60006001600160801b038083168185168083038211156111f8576111f86113c6565b01949350505050565b60008219821115611214576112146113c6565b500190565b60008261123657634e487b7160e01b600052601260045260246000fd5b500490565b600181815b8085111561127657816000190482111561125c5761125c6113c6565b8085161561126957918102915b93841c9390800290611240565b509250929050565b6000610e7c60ff84168360008261129757506001610e7f565b816112a457506000610e7f565b81600181146112ba57600281146112c4576112e0565b6001915050610e7f565b60ff8411156112d5576112d56113c6565b50506001821b610e7f565b5060208310610133831016604e8410600b8410161715611303575081810a610e7f565b61130d838361123b565b8060001904821115611321576113216113c6565b029392505050565b6000816000190483118215151615611343576113436113c6565b500290565b60008083128015600160ff1b850184121615611366576113666113c6565b6001600160ff1b0384018313811615611381576113816113c6565b50500390565b60006001600160801b03838116908316818110156113a7576113a76113c6565b039392505050565b6000828210156113c1576113c16113c6565b500390565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461089c57600080fdfe2285f21cf946f4f139f84d60d1bd42e41b7cecbb3685384f294f426ac09f5f46a2646970667358221220108386403c4537f8b147f2e3268aa505249c717deb57e967b24ee56d987a9b9064736f6c63430008060033",
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061009d5760003560e01c80637d7c2a1c116100665780637d7c2a1c146100f45780638d7ddd90146100fc578063948cb71914610104578063cec16f3f1461010c578063f9c4fd1b1461011457600080fd5b8062a9bb8d146100a25780631014a0c2146100b75780633b6612c8146100ca5780634dd93bd3146100e45780634eb978a4146100ec575b600080fd5b6100b56100b0366004611187565b61011c565b005b6100b56100c5366004611155565b610444565b6100d2610591565b60405190815260200160405180910390f35b6100d261065b565b6100d261076b565b6100b56107d7565b6100d26108e8565b6100b56109a6565b6100d2610a71565b6100d2610bf3565b6000805160206113f28339815191526000198414610225577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561018d57600080fd5b505afa1580156101a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101c591906111b3565b6101d090600a61127e565b6101da9085611219565b815463ffffffff191663ffffffff9190911617815560226040518581527f7bc647fe5043209e2019aa3503b79c1b0dd83eb61c56013d373a7584ff6bfb139060200160405180910390a25b600019831461032c577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561028757600080fd5b505afa15801561029b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102bf91906111b3565b6102ca90600a61127e565b6102d49084611219565b815463ffffffff919091166401000000000267ffffffff000000001990911617815560236040518481527f7bc647fe5043209e2019aa3503b79c1b0dd83eb61c56013d373a7584ff6bfb139060200160405180910390a25b6000198214610436577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561038e57600080fd5b505afa1580156103a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103c691906111b3565b6103d190600a61127e565b6103db9083611219565b815463ffffffff91909116600160401b026bffffffff00000000000000001990911617815560246040518381527f7bc647fe5043209e2019aa3503b79c1b0dd83eb61c56013d373a7584ff6bfb139060200160405180910390a25b5061043f610cb9565b505050565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b1580156104a657600080fd5b505afa1580156104ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104de919061116e565b905081811061054a5760405162461bcd60e51b815260206004820152602d60248201527f4e6f206e65656420746f20726566696c6c207468652077616c6c657420666f7260448201526c081d1a1a5cc81c185e5b595b9d609a1b60648201526084015b60405180910390fd5b600061055461065b565b9050600082610561610bf3565b61056b9086611201565b61057591906113af565b9050818111156105825750805b61058b81610d5e565b50505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156105ec57600080fd5b505afa158015610600573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062491906111b3565b61062f90600a61127e565b6000805160206113f2833981519152546106569190600160401b900463ffffffff16611329565b905090565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307a2d13a9082906370a082319060240160206040518083038186803b1580156106c557600080fd5b505afa1580156106d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fd919061116e565b6040518263ffffffff1660e01b815260040161071b91815260200190565b60206040518083038186803b15801561073357600080fd5b505afa158015610747573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610656919061116e565b60008061077661065b565b6000805160206113f28339815191528054919250906000906107a890600160601b90046001600160801b031684611348565b82546001600160801b03909416600160601b02600160601b600160e01b03199094169390931790915550919050565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b15801561083957600080fd5b505afa15801561084d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610871919061116e565b905061087b610591565b81111561089f5761089c61088d610bf3565b61089790836113af565b610e0f565b50565b6108a76108e8565b81101561089c5760006108d36108bb61065b565b836108c4610bf3565b6108ce91906113af565b610e6b565b905080156108e4576108e481610d5e565b5050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561094357600080fd5b505afa158015610957573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097b91906111b3565b61098690600a61127e565b6000805160206113f283398151915254610656919063ffffffff16611329565b6109ae610e85565b60405163095ea7b360e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116600483015260001960248301527f0000000000000000000000000000000000000000000000000000000000000000169063095ea7b390604401602060405180830381600087803b158015610a3957600080fd5b505af1158015610a4d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089c919061110f565b6000806000805160206113f28339815191526040516370a0823160e01b81523060048201529091506000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ba0876529082906370a082319060240160206040518083038186803b158015610af057600080fd5b505afa158015610b04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b28919061116e565b6040516001600160e01b031960e084901b168152600481019190915230602482018190526044820152606401602060405180830381600087803b158015610b6e57600080fd5b505af1158015610b82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba6919061116e565b8254909150610bc590600160601b90046001600160801b031682611348565b82546001600160801b03909216600160601b02600160601b600160e01b031990921691909117909155919050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015610c4e57600080fd5b505afa158015610c62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8691906111b3565b610c9190600a61127e565b6000805160206113f2833981519152546106569190640100000000900463ffffffff16611329565b6000805160206113f2833981519152805463ffffffff64010000000082048116911611801590610d015750805463ffffffff600160401b820481166401000000009092041611155b61089c5760405162461bcd60e51b815260206004820152602860248201527f56616c69646174696f6e3a204c6971756964697479206c696d69747320617265604482015267081a5b9d985b1a5960c21b6064820152608401610541565b610d6781610fd9565b604051632d182be560e21b815260048101829052306024820181905260448201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063b460af94906064015b602060405180830381600087803b158015610dd757600080fd5b505af1158015610deb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e4919061116e565b610e1881611087565b604051636e553f6560e01b8152600481018290523060248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636e553f6590604401610dbd565b6000818310610e7a5781610e7c565b825b90505b92915050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316306001600160a01b0316634d15eb036040518163ffffffff1660e01b815260040160206040518083038186803b158015610ee857600080fd5b505afa158015610efc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f209190611138565b6001600160a01b031663e5a6b10f6040518163ffffffff1660e01b815260040160206040518083038186803b158015610f5857600080fd5b505afa158015610f6c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f909190611138565b6001600160a01b031614610fd75760405162461bcd60e51b815260206004820152600e60248201526d082e6e6cae840dad2e6dac2e8c6d60931b6044820152606401610541565b565b6000805160206113f2833981519152805461100490600160601b90046001600160801b031683610e6b565b81548290600c90611026908490600160601b90046001600160801b0316611387565b92506101000a8154816001600160801b0302191690836001600160801b031602179055507fb82d4e0870bf4ae7236ad1de74d6612d04d1b805b47d98c2f40088a193d87c658260405161107b91815260200190565b60405180910390a15050565b6000805160206113f2833981519152805482908290600c906110ba908490600160601b90046001600160801b03166111d6565b92506101000a8154816001600160801b0302191690836001600160801b031602179055507f0f0cdeac88e111e1dd9b9f043e8c671053dedfbaeccabfb144fd51a4f870fcf48260405161107b91815260200190565b60006020828403121561112157600080fd5b8151801515811461113157600080fd5b9392505050565b60006020828403121561114a57600080fd5b8151611131816113dc565b60006020828403121561116757600080fd5b5035919050565b60006020828403121561118057600080fd5b5051919050565b60008060006060848603121561119c57600080fd5b505081359360208301359350604090920135919050565b6000602082840312156111c557600080fd5b815160ff8116811461113157600080fd5b60006001600160801b038083168185168083038211156111f8576111f86113c6565b01949350505050565b60008219821115611214576112146113c6565b500190565b60008261123657634e487b7160e01b600052601260045260246000fd5b500490565b600181815b8085111561127657816000190482111561125c5761125c6113c6565b8085161561126957918102915b93841c9390800290611240565b509250929050565b6000610e7c60ff84168360008261129757506001610e7f565b816112a457506000610e7f565b81600181146112ba57600281146112c4576112e0565b6001915050610e7f565b60ff8411156112d5576112d56113c6565b50506001821b610e7f565b5060208310610133831016604e8410600b8410161715611303575081810a610e7f565b61130d838361123b565b8060001904821115611321576113216113c6565b029392505050565b6000816000190483118215151615611343576113436113c6565b500290565b60008083128015600160ff1b850184121615611366576113666113c6565b6001600160ff1b0384018313811615611381576113816113c6565b50500390565b60006001600160801b03838116908316818110156113a7576113a76113c6565b039392505050565b6000828210156113c1576113c16113c6565b500390565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461089c57600080fdfe2285f21cf946f4f139f84d60d1bd42e41b7cecbb3685384f294f426ac09f5f46a2646970667358221220108386403c4537f8b147f2e3268aa505249c717deb57e967b24ee56d987a9b9064736f6c63430008060033",
"bytecode": "0x60c060405234801561001057600080fd5b506040516115fe3803806115fe83398101604081905261002f9161004d565b6001600160601b0319606092831b8116608052911b1660a05261009f565b6000806040838503121561006057600080fd5b825161006b81610087565b602084015190925061007c81610087565b809150509250929050565b6001600160a01b038116811461009c57600080fd5b50565b60805160601c60a05160601c6114d961012560003960008181610673015281816109f501528181610ad601528181610e1c0152610ec601526000818161013601528181610230015281816103370152818161045c015281816105950152818161081f0152818161091c01528181610a2501528181610c890152610f1901526114d96000f3fe608060405234801561001057600080fd5b506004361061009d5760003560e01c80637d7c2a1c116100665780637d7c2a1c146100f45780638d7ddd90146100fc578063948cb71914610104578063cec16f3f1461010c578063f9c4fd1b1461011457600080fd5b8062a9bb8d146100a25780631014a0c2146100b75780633b6612c8146100ca5780634dd93bd3146100e45780634eb978a4146100ec575b600080fd5b6100b56100b0366004611219565b61011c565b005b6100b56100c53660046111e7565b610444565b6100d2610591565b60405190815260200160405180910390f35b6100d261065b565b6100d261076b565b6100b5610807565b6100d2610918565b6100b56109d6565b6100d2610aa1565b6100d2610c85565b6000805160206114848339815191526000198414610225577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561018d57600080fd5b505afa1580156101a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101c59190611245565b6101d090600a611310565b6101da90856112ab565b815463ffffffff191663ffffffff9190911617815560226040518581527f7bc647fe5043209e2019aa3503b79c1b0dd83eb61c56013d373a7584ff6bfb139060200160405180910390a25b600019831461032c577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561028757600080fd5b505afa15801561029b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102bf9190611245565b6102ca90600a611310565b6102d490846112ab565b815463ffffffff919091166401000000000267ffffffff000000001990911617815560236040518481527f7bc647fe5043209e2019aa3503b79c1b0dd83eb61c56013d373a7584ff6bfb139060200160405180910390a25b6000198214610436577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561038e57600080fd5b505afa1580156103a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103c69190611245565b6103d190600a611310565b6103db90836112ab565b815463ffffffff91909116600160401b026bffffffff00000000000000001990911617815560246040518381527f7bc647fe5043209e2019aa3503b79c1b0dd83eb61c56013d373a7584ff6bfb139060200160405180910390a25b5061043f610d4b565b505050565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b1580156104a657600080fd5b505afa1580156104ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104de9190611200565b905081811061054a5760405162461bcd60e51b815260206004820152602d60248201527f4e6f206e65656420746f20726566696c6c207468652077616c6c657420666f7260448201526c081d1a1a5cc81c185e5b595b9d609a1b60648201526084015b60405180910390fd5b600061055461065b565b9050600082610561610c85565b61056b9086611293565b6105759190611441565b9050818111156105825750805b61058b81610df0565b50505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156105ec57600080fd5b505afa158015610600573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106249190611245565b61062f90600a611310565b600080516020611484833981519152546106569190600160401b900463ffffffff166113bb565b905090565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307a2d13a9082906370a082319060240160206040518083038186803b1580156106c557600080fd5b505afa1580156106d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fd9190611200565b6040518263ffffffff1660e01b815260040161071b91815260200190565b60206040518083038186803b15801561073357600080fd5b505afa158015610747573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106569190611200565b60008061077661065b565b6000805160206114848339815191528054919250906000906107a890600160601b90046001600160801b0316846113da565b8254600160601b600160e01b031916600160601b6001600160801b038616021783556040518181529091507f731c439c5bae15be1344eec709967e046b4f7d3f7e37abeffc5247f448fa18bf9060200160405180910390a19392505050565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b15801561086957600080fd5b505afa15801561087d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a19190611200565b90506108ab610591565b8111156108cf576108cc6108bd610c85565b6108c79083611441565b610ea1565b50565b6108d7610918565b8110156108cc5760006109036108eb61065b565b836108f4610c85565b6108fe9190611441565b610efd565b905080156109145761091481610df0565b5050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561097357600080fd5b505afa158015610987573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ab9190611245565b6109b690600a611310565b60008051602061148483398151915254610656919063ffffffff166113bb565b6109de610f17565b60405163095ea7b360e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116600483015260001960248301527f0000000000000000000000000000000000000000000000000000000000000000169063095ea7b390604401602060405180830381600087803b158015610a6957600080fd5b505af1158015610a7d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108cc91906111a1565b6000806000805160206114848339815191526040516370a0823160e01b81523060048201529091506000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ba0876529082906370a082319060240160206040518083038186803b158015610b2057600080fd5b505afa158015610b34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b589190611200565b6040516001600160e01b031960e084901b168152600481019190915230602482018190526044820152606401602060405180830381600087803b158015610b9e57600080fd5b505af1158015610bb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd69190611200565b8254909150610bf590600160601b90046001600160801b0316826113da565b8254600160601b600160e01b031916600160601b6001600160801b038416021783556040518281529093507fb82d4e0870bf4ae7236ad1de74d6612d04d1b805b47d98c2f40088a193d87c659060200160405180910390a16040518381527f731c439c5bae15be1344eec709967e046b4f7d3f7e37abeffc5247f448fa18bf9060200160405180910390a1505090565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015610ce057600080fd5b505afa158015610cf4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d189190611245565b610d2390600a611310565b600080516020611484833981519152546106569190640100000000900463ffffffff166113bb565b600080516020611484833981519152805463ffffffff64010000000082048116911611801590610d935750805463ffffffff600160401b820481166401000000009092041611155b6108cc5760405162461bcd60e51b815260206004820152602860248201527f56616c69646174696f6e3a204c6971756964697479206c696d69747320617265604482015267081a5b9d985b1a5960c21b6064820152608401610541565b610df98161106b565b604051632d182be560e21b815260048101829052306024820181905260448201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063b460af94906064015b602060405180830381600087803b158015610e6957600080fd5b505af1158015610e7d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109149190611200565b610eaa81611119565b604051636e553f6560e01b8152600481018290523060248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636e553f6590604401610e4f565b6000818310610f0c5781610f0e565b825b90505b92915050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316306001600160a01b0316634d15eb036040518163ffffffff1660e01b815260040160206040518083038186803b158015610f7a57600080fd5b505afa158015610f8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb291906111ca565b6001600160a01b031663e5a6b10f6040518163ffffffff1660e01b815260040160206040518083038186803b158015610fea57600080fd5b505afa158015610ffe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102291906111ca565b6001600160a01b0316146110695760405162461bcd60e51b815260206004820152600e60248201526d082e6e6cae840dad2e6dac2e8c6d60931b6044820152606401610541565b565b600080516020611484833981519152805461109690600160601b90046001600160801b031683610efd565b81548290600c906110b8908490600160601b90046001600160801b0316611419565b92506101000a8154816001600160801b0302191690836001600160801b031602179055507fb82d4e0870bf4ae7236ad1de74d6612d04d1b805b47d98c2f40088a193d87c658260405161110d91815260200190565b60405180910390a15050565b600080516020611484833981519152805482908290600c9061114c908490600160601b90046001600160801b0316611268565b92506101000a8154816001600160801b0302191690836001600160801b031602179055507f0f0cdeac88e111e1dd9b9f043e8c671053dedfbaeccabfb144fd51a4f870fcf48260405161110d91815260200190565b6000602082840312156111b357600080fd5b815180151581146111c357600080fd5b9392505050565b6000602082840312156111dc57600080fd5b81516111c38161146e565b6000602082840312156111f957600080fd5b5035919050565b60006020828403121561121257600080fd5b5051919050565b60008060006060848603121561122e57600080fd5b505081359360208301359350604090920135919050565b60006020828403121561125757600080fd5b815160ff811681146111c357600080fd5b60006001600160801b0380831681851680830382111561128a5761128a611458565b01949350505050565b600082198211156112a6576112a6611458565b500190565b6000826112c857634e487b7160e01b600052601260045260246000fd5b500490565b600181815b808511156113085781600019048211156112ee576112ee611458565b808516156112fb57918102915b93841c93908002906112d2565b509250929050565b6000610f0e60ff84168360008261132957506001610f11565b8161133657506000610f11565b816001811461134c576002811461135657611372565b6001915050610f11565b60ff84111561136757611367611458565b50506001821b610f11565b5060208310610133831016604e8410600b8410161715611395575081810a610f11565b61139f83836112cd565b80600019048211156113b3576113b3611458565b029392505050565b60008160001904831182151516156113d5576113d5611458565b500290565b60008083128015600160ff1b8501841216156113f8576113f8611458565b6001600160ff1b038401831381161561141357611413611458565b50500390565b60006001600160801b038381169083168181101561143957611439611458565b039392505050565b60008282101561145357611453611458565b500390565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146108cc57600080fdfe2285f21cf946f4f139f84d60d1bd42e41b7cecbb3685384f294f426ac09f5f46a264697066735822122024add042824292e52aeddcd3b309f2b13825e419cc745111e67b57fedd16cbd964736f6c63430008060033",
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061009d5760003560e01c80637d7c2a1c116100665780637d7c2a1c146100f45780638d7ddd90146100fc578063948cb71914610104578063cec16f3f1461010c578063f9c4fd1b1461011457600080fd5b8062a9bb8d146100a25780631014a0c2146100b75780633b6612c8146100ca5780634dd93bd3146100e45780634eb978a4146100ec575b600080fd5b6100b56100b0366004611219565b61011c565b005b6100b56100c53660046111e7565b610444565b6100d2610591565b60405190815260200160405180910390f35b6100d261065b565b6100d261076b565b6100b5610807565b6100d2610918565b6100b56109d6565b6100d2610aa1565b6100d2610c85565b6000805160206114848339815191526000198414610225577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561018d57600080fd5b505afa1580156101a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101c59190611245565b6101d090600a611310565b6101da90856112ab565b815463ffffffff191663ffffffff9190911617815560226040518581527f7bc647fe5043209e2019aa3503b79c1b0dd83eb61c56013d373a7584ff6bfb139060200160405180910390a25b600019831461032c577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561028757600080fd5b505afa15801561029b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102bf9190611245565b6102ca90600a611310565b6102d490846112ab565b815463ffffffff919091166401000000000267ffffffff000000001990911617815560236040518481527f7bc647fe5043209e2019aa3503b79c1b0dd83eb61c56013d373a7584ff6bfb139060200160405180910390a25b6000198214610436577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561038e57600080fd5b505afa1580156103a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103c69190611245565b6103d190600a611310565b6103db90836112ab565b815463ffffffff91909116600160401b026bffffffff00000000000000001990911617815560246040518381527f7bc647fe5043209e2019aa3503b79c1b0dd83eb61c56013d373a7584ff6bfb139060200160405180910390a25b5061043f610d4b565b505050565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b1580156104a657600080fd5b505afa1580156104ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104de9190611200565b905081811061054a5760405162461bcd60e51b815260206004820152602d60248201527f4e6f206e65656420746f20726566696c6c207468652077616c6c657420666f7260448201526c081d1a1a5cc81c185e5b595b9d609a1b60648201526084015b60405180910390fd5b600061055461065b565b9050600082610561610c85565b61056b9086611293565b6105759190611441565b9050818111156105825750805b61058b81610df0565b50505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156105ec57600080fd5b505afa158015610600573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106249190611245565b61062f90600a611310565b600080516020611484833981519152546106569190600160401b900463ffffffff166113bb565b905090565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307a2d13a9082906370a082319060240160206040518083038186803b1580156106c557600080fd5b505afa1580156106d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fd9190611200565b6040518263ffffffff1660e01b815260040161071b91815260200190565b60206040518083038186803b15801561073357600080fd5b505afa158015610747573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106569190611200565b60008061077661065b565b6000805160206114848339815191528054919250906000906107a890600160601b90046001600160801b0316846113da565b8254600160601b600160e01b031916600160601b6001600160801b038616021783556040518181529091507f731c439c5bae15be1344eec709967e046b4f7d3f7e37abeffc5247f448fa18bf9060200160405180910390a19392505050565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b15801561086957600080fd5b505afa15801561087d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a19190611200565b90506108ab610591565b8111156108cf576108cc6108bd610c85565b6108c79083611441565b610ea1565b50565b6108d7610918565b8110156108cc5760006109036108eb61065b565b836108f4610c85565b6108fe9190611441565b610efd565b905080156109145761091481610df0565b5050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561097357600080fd5b505afa158015610987573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ab9190611245565b6109b690600a611310565b60008051602061148483398151915254610656919063ffffffff166113bb565b6109de610f17565b60405163095ea7b360e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116600483015260001960248301527f0000000000000000000000000000000000000000000000000000000000000000169063095ea7b390604401602060405180830381600087803b158015610a6957600080fd5b505af1158015610a7d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108cc91906111a1565b6000806000805160206114848339815191526040516370a0823160e01b81523060048201529091506000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ba0876529082906370a082319060240160206040518083038186803b158015610b2057600080fd5b505afa158015610b34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b589190611200565b6040516001600160e01b031960e084901b168152600481019190915230602482018190526044820152606401602060405180830381600087803b158015610b9e57600080fd5b505af1158015610bb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd69190611200565b8254909150610bf590600160601b90046001600160801b0316826113da565b8254600160601b600160e01b031916600160601b6001600160801b038416021783556040518281529093507fb82d4e0870bf4ae7236ad1de74d6612d04d1b805b47d98c2f40088a193d87c659060200160405180910390a16040518381527f731c439c5bae15be1344eec709967e046b4f7d3f7e37abeffc5247f448fa18bf9060200160405180910390a1505090565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015610ce057600080fd5b505afa158015610cf4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d189190611245565b610d2390600a611310565b600080516020611484833981519152546106569190640100000000900463ffffffff166113bb565b600080516020611484833981519152805463ffffffff64010000000082048116911611801590610d935750805463ffffffff600160401b820481166401000000009092041611155b6108cc5760405162461bcd60e51b815260206004820152602860248201527f56616c69646174696f6e3a204c6971756964697479206c696d69747320617265604482015267081a5b9d985b1a5960c21b6064820152608401610541565b610df98161106b565b604051632d182be560e21b815260048101829052306024820181905260448201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063b460af94906064015b602060405180830381600087803b158015610e6957600080fd5b505af1158015610e7d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109149190611200565b610eaa81611119565b604051636e553f6560e01b8152600481018290523060248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636e553f6590604401610e4f565b6000818310610f0c5781610f0e565b825b90505b92915050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316306001600160a01b0316634d15eb036040518163ffffffff1660e01b815260040160206040518083038186803b158015610f7a57600080fd5b505afa158015610f8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb291906111ca565b6001600160a01b031663e5a6b10f6040518163ffffffff1660e01b815260040160206040518083038186803b158015610fea57600080fd5b505afa158015610ffe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102291906111ca565b6001600160a01b0316146110695760405162461bcd60e51b815260206004820152600e60248201526d082e6e6cae840dad2e6dac2e8c6d60931b6044820152606401610541565b565b600080516020611484833981519152805461109690600160601b90046001600160801b031683610efd565b81548290600c906110b8908490600160601b90046001600160801b0316611419565b92506101000a8154816001600160801b0302191690836001600160801b031602179055507fb82d4e0870bf4ae7236ad1de74d6612d04d1b805b47d98c2f40088a193d87c658260405161110d91815260200190565b60405180910390a15050565b600080516020611484833981519152805482908290600c9061114c908490600160601b90046001600160801b0316611268565b92506101000a8154816001600160801b0302191690836001600160801b031602179055507f0f0cdeac88e111e1dd9b9f043e8c671053dedfbaeccabfb144fd51a4f870fcf48260405161110d91815260200190565b6000602082840312156111b357600080fd5b815180151581146111c357600080fd5b9392505050565b6000602082840312156111dc57600080fd5b81516111c38161146e565b6000602082840312156111f957600080fd5b5035919050565b60006020828403121561121257600080fd5b5051919050565b60008060006060848603121561122e57600080fd5b505081359360208301359350604090920135919050565b60006020828403121561125757600080fd5b815160ff811681146111c357600080fd5b60006001600160801b0380831681851680830382111561128a5761128a611458565b01949350505050565b600082198211156112a6576112a6611458565b500190565b6000826112c857634e487b7160e01b600052601260045260246000fd5b500490565b600181815b808511156113085781600019048211156112ee576112ee611458565b808516156112fb57918102915b93841c93908002906112d2565b509250929050565b6000610f0e60ff84168360008261132957506001610f11565b8161133657506000610f11565b816001811461134c576002811461135657611372565b6001915050610f11565b60ff84111561136757611367611458565b50506001821b610f11565b5060208310610133831016604e8410600b8410161715611395575081810a610f11565b61139f83836112cd565b80600019048211156113b3576113b3611458565b029392505050565b60008160001904831182151516156113d5576113d5611458565b500290565b60008083128015600160ff1b8501841216156113f8576113f8611458565b6001600160ff1b038401831381161561141357611413611458565b50500390565b60006001600160801b038381169083168181101561143957611439611458565b039392505050565b60008282101561145357611453611458565b500390565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146108cc57600080fdfe2285f21cf946f4f139f84d60d1bd42e41b7cecbb3685384f294f426ac09f5f46a264697066735822122024add042824292e52aeddcd3b309f2b13825e419cc745111e67b57fedd16cbd964736f6c63430008060033",
"linkReferences": {},
"deployedLinkReferences": {}
}

@@ -11,11 +11,5 @@ {

"indexed": false,
"internalType": "bool",
"name": "positive",
"type": "bool"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
"internalType": "int256",
"name": "earnings",
"type": "int256"
}

@@ -22,0 +16,0 @@ ],

@@ -11,11 +11,5 @@ {

"indexed": false,
"internalType": "bool",
"name": "positive",
"type": "bool"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
"internalType": "int256",
"name": "earnings",
"type": "int256"
}

@@ -22,0 +16,0 @@ ],

{
"name": "@ensuro/core",
"description": "Ensuro - Decentralized insurance protocol",
"version": "v2.0.0-beta7",
"version": "v2.0.0-beta8",
"files": [

@@ -6,0 +6,0 @@ "**/*.sol",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc