|
|
@ -19,6 +19,7 @@ library AuthorityUtils { |
|
|
|
) internal view returns (bool immediate, uint32 delay) { |
|
|
|
) internal view returns (bool immediate, uint32 delay) { |
|
|
|
(bool success, ) = authority.staticcall(abi.encodeCall(IAuthority.canCall, (caller, target, selector))); |
|
|
|
(bool success, ) = authority.staticcall(abi.encodeCall(IAuthority.canCall, (caller, target, selector))); |
|
|
|
if (success) { |
|
|
|
if (success) { |
|
|
|
|
|
|
|
/// @solidity memory-safe-assembly |
|
|
|
assembly { |
|
|
|
assembly { |
|
|
|
if gt(returndatasize(), 0x1f) { |
|
|
|
if gt(returndatasize(), 0x1f) { |
|
|
|
if gt(returndatasize(), 0x3f) { |
|
|
|
if gt(returndatasize(), 0x3f) { |
|
|
|